From 502c2d2d875c45d3bf4d09fc53a577c1f7db878c Mon Sep 17 00:00:00 2001 From: Seth Silesky <5115498+silesky@users.noreply.github.com> Date: Thu, 7 Sep 2023 19:39:01 -0500 Subject: [PATCH] wip --- .../package.json | 2 +- .../wdio.conf.local.ts | 5 ++++- yarn.lock | 22 +------------------ 3 files changed, 6 insertions(+), 23 deletions(-) diff --git a/packages/consent/consent-tools-integration-tests/package.json b/packages/consent/consent-tools-integration-tests/package.json index cea9ed33c..e6ba76a64 100644 --- a/packages/consent/consent-tools-integration-tests/package.json +++ b/packages/consent/consent-tools-integration-tests/package.json @@ -29,7 +29,7 @@ "@wdio/types": "8", "expect": "^29.4.1", "globby": "^11.0.2", - "playwright-chromium": "^1.37.1", + "playwright": "^1.28.1", "wdio-intercept-service": "^4.4.0", "webpack": "^5.76.0", "webpack-cli": "^4.8.0" diff --git a/packages/consent/consent-tools-integration-tests/wdio.conf.local.ts b/packages/consent/consent-tools-integration-tests/wdio.conf.local.ts index 4b1fe07a3..8124b1d2c 100644 --- a/packages/consent/consent-tools-integration-tests/wdio.conf.local.ts +++ b/packages/consent/consent-tools-integration-tests/wdio.conf.local.ts @@ -1,5 +1,5 @@ import type { Options } from '@wdio/types' -import { chromium } from 'playwright-chromium' +import playwright from 'playwright' const PORT = 4567 @@ -53,6 +53,9 @@ export const config: Options.Testrunner = { { maxInstances: 5, browserName: 'chrome', + 'goog:chromeOptions': { + binary: playwright.chromium.executablePath(), + }, acceptInsecureCerts: true, }, ], diff --git a/yarn.lock b/yarn.lock index 55026cacd..f20c9bc91 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2539,7 +2539,7 @@ __metadata: "@wdio/types": 8 expect: ^29.4.1 globby: ^11.0.2 - playwright-chromium: ^1.37.1 + playwright: ^1.28.1 wdio-intercept-service: ^4.4.0 webpack: ^5.76.0 webpack-cli: ^4.8.0 @@ -16729,17 +16729,6 @@ __metadata: languageName: node linkType: hard -"playwright-chromium@npm:^1.37.1": - version: 1.37.1 - resolution: "playwright-chromium@npm:1.37.1" - dependencies: - playwright-core: 1.37.1 - bin: - playwright: cli.js - checksum: 813fd13bcabdd279313fd2658c9124ab616f94849458cafe8434de5351cc6995bfde21208335da5b139aab07f8511beaf74e31d24937fbb38b6c625c57d69cdd - languageName: node - linkType: hard - "playwright-core@npm:1.28.1": version: 1.28.1 resolution: "playwright-core@npm:1.28.1" @@ -16749,15 +16738,6 @@ __metadata: languageName: node linkType: hard -"playwright-core@npm:1.37.1": - version: 1.37.1 - resolution: "playwright-core@npm:1.37.1" - bin: - playwright-core: cli.js - checksum: 69f818da2230057584140d5b3af7778a4f4a822b5b18d133abfc5d259128becb943c343a2ddf6b0635277a69f28983e83e2bc3fce23595ececb1e410475b6368 - languageName: node - linkType: hard - "playwright@npm:^1.28.1": version: 1.28.1 resolution: "playwright@npm:1.28.1"