diff --git a/packages/snaps-controllers/package.json b/packages/snaps-controllers/package.json index 35bea98e62..d49f77faf7 100644 --- a/packages/snaps-controllers/package.json +++ b/packages/snaps-controllers/package.json @@ -162,9 +162,7 @@ "typescript": "~5.3.3", "vite": "^5.4.8", "vite-tsconfig-paths": "^4.0.5", - "wdio-chromedriver-service": "^8.1.1", - "wdio-geckodriver-service": "^5.0.2", - "webdriverio": "^9.1.5" + "webdriverio": "^9.2.6" }, "peerDependencies": { "@metamask/snaps-execution-environments": "workspace:^" diff --git a/packages/snaps-controllers/wdio.config.js b/packages/snaps-controllers/wdio.config.js index 3f159c6f0e..ce58a20045 100644 --- a/packages/snaps-controllers/wdio.config.js +++ b/packages/snaps-controllers/wdio.config.js @@ -70,8 +70,6 @@ const config = { logLevel: 'error', services: [ - 'chromedriver', - 'geckodriver', [ 'static-server', { diff --git a/packages/snaps-execution-environments/package.json b/packages/snaps-execution-environments/package.json index 57321cbeb5..2599fd666e 100644 --- a/packages/snaps-execution-environments/package.json +++ b/packages/snaps-execution-environments/package.json @@ -138,9 +138,7 @@ "typescript": "~5.3.3", "vite": "^5.4.8", "vite-tsconfig-paths": "^4.0.5", - "wdio-chromedriver-service": "^8.1.1", - "wdio-geckodriver-service": "^5.0.2", - "webdriverio": "^9.1.5", + "webdriverio": "^9.2.6", "yargs": "^17.7.1" }, "engines": { diff --git a/packages/snaps-execution-environments/wdio.config.js b/packages/snaps-execution-environments/wdio.config.js index 00ad65ccf7..168e96a89b 100644 --- a/packages/snaps-execution-environments/wdio.config.js +++ b/packages/snaps-execution-environments/wdio.config.js @@ -55,7 +55,7 @@ const config = { capabilities: [ { maxInstances: MAX_WORKERS, - browserName: 'chrome', + browserName: 'firefox', }, ...(IS_CI ? [ @@ -70,8 +70,6 @@ const config = { logLevel: 'error', services: [ - 'chromedriver', - 'geckodriver', [ 'static-server', { diff --git a/packages/snaps-utils/package.json b/packages/snaps-utils/package.json index 7f196031bb..101241f681 100644 --- a/packages/snaps-utils/package.json +++ b/packages/snaps-utils/package.json @@ -153,9 +153,7 @@ "typescript": "~5.3.3", "vite": "^5.4.8", "vite-tsconfig-paths": "^4.0.5", - "wdio-chromedriver-service": "^8.1.1", - "wdio-geckodriver-service": "^5.0.2", - "webdriverio": "^9.1.5" + "webdriverio": "^9.2.6" }, "engines": { "node": "^18.16 || >=20" diff --git a/packages/snaps-utils/wdio.config.js b/packages/snaps-utils/wdio.config.js index 0d30f0031e..ea48f7f6bd 100644 --- a/packages/snaps-utils/wdio.config.js +++ b/packages/snaps-utils/wdio.config.js @@ -69,8 +69,6 @@ const config = { logLevel: 'error', services: [ - 'chromedriver', - 'geckodriver', [ 'static-server', { diff --git a/yarn.lock b/yarn.lock index 380d87245b..c4b6f1fe13 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6145,9 +6145,7 @@ __metadata: typescript: "npm:~5.3.3" vite: "npm:^5.4.8" vite-tsconfig-paths: "npm:^4.0.5" - wdio-chromedriver-service: "npm:^8.1.1" - wdio-geckodriver-service: "npm:^5.0.2" - webdriverio: "npm:^9.1.5" + webdriverio: "npm:^9.2.6" peerDependencies: "@metamask/snaps-execution-environments": "workspace:^" peerDependenciesMeta: @@ -6232,9 +6230,7 @@ __metadata: typescript: "npm:~5.3.3" vite: "npm:^5.4.8" vite-tsconfig-paths: "npm:^4.0.5" - wdio-chromedriver-service: "npm:^8.1.1" - wdio-geckodriver-service: "npm:^5.0.2" - webdriverio: "npm:^9.1.5" + webdriverio: "npm:^9.2.6" yargs: "npm:^17.7.1" languageName: unknown linkType: soft @@ -6669,9 +6665,7 @@ __metadata: validate-npm-package-name: "npm:^5.0.0" vite: "npm:^5.4.8" vite-tsconfig-paths: "npm:^4.0.5" - wdio-chromedriver-service: "npm:^8.1.1" - wdio-geckodriver-service: "npm:^5.0.2" - webdriverio: "npm:^9.1.5" + webdriverio: "npm:^9.2.6" languageName: unknown linkType: soft @@ -9435,7 +9429,7 @@ __metadata: languageName: node linkType: hard -"@wdio/logger@npm:^8.1.0, @wdio/logger@npm:^8.11.0, @wdio/logger@npm:^8.38.0": +"@wdio/logger@npm:^8.38.0": version: 8.38.0 resolution: "@wdio/logger@npm:8.38.0" dependencies: @@ -14972,17 +14966,6 @@ __metadata: languageName: node linkType: hard -"fs-extra@npm:^11.1.0, fs-extra@npm:^11.1.1": - version: 11.1.1 - resolution: "fs-extra@npm:11.1.1" - dependencies: - graceful-fs: "npm:^4.2.0" - jsonfile: "npm:^6.0.1" - universalify: "npm:^2.0.0" - checksum: 10/c4e9fabf9762a70d1403316b7faa899f3d3303c8afa765b891c2210fdeba368461e04ae1203920b64ef6a7d066a39ab8cef2160b5ce8d1011bb4368688cd9bb7 - languageName: node - linkType: hard - "fs-extra@npm:^8.1.0": version: 8.1.0 resolution: "fs-extra@npm:8.1.0" @@ -15094,7 +15077,7 @@ __metadata: languageName: node linkType: hard -"geckodriver@npm:^4.0.5, geckodriver@npm:^4.2.0, geckodriver@npm:^4.3.3": +"geckodriver@npm:^4.2.0, geckodriver@npm:^4.3.3": version: 4.5.1 resolution: "geckodriver@npm:4.5.1" dependencies: @@ -23819,7 +23802,7 @@ __metadata: languageName: node linkType: hard -"wait-port@npm:^1.0.4, wait-port@npm:^1.1.0": +"wait-port@npm:^1.1.0": version: 1.1.0 resolution: "wait-port@npm:1.1.0" dependencies: @@ -23878,50 +23861,6 @@ __metadata: languageName: node linkType: hard -"wdio-chromedriver-service@npm:^8.1.1": - version: 8.1.1 - resolution: "wdio-chromedriver-service@npm:8.1.1" - dependencies: - "@wdio/logger": "npm:^8.1.0" - fs-extra: "npm:^11.1.0" - split2: "npm:^4.1.0" - tcp-port-used: "npm:^1.0.2" - peerDependencies: - "@wdio/types": ^7.0.0 || ^8.0.0-alpha.219 - chromedriver: "*" - webdriverio: ^7.0.0 || ^8.0.0-alpha.219 - peerDependenciesMeta: - "@wdio/types": - optional: true - chromedriver: - optional: true - webdriverio: - optional: false - checksum: 10/6102683bf2c24bbb4a944852ba3d776bd3bbb6eafd6df0d5f570165019dea08a2fee7d6f3b0614eabf1a090a74797a27a5dc9dced618c1bab6aa0ba74365dcd0 - languageName: node - linkType: hard - -"wdio-geckodriver-service@npm:^5.0.2": - version: 5.0.2 - resolution: "wdio-geckodriver-service@npm:5.0.2" - dependencies: - "@wdio/logger": "npm:^8.11.0" - fs-extra: "npm:^11.1.1" - geckodriver: "npm:^4.0.5" - get-port: "npm:^7.0.0" - wait-port: "npm:^1.0.4" - peerDependencies: - "@wdio/types": ^7.0.0 || ^8.0.0 - webdriverio: ^8.0.0 - peerDependenciesMeta: - "@wdio/types": - optional: true - webdriverio: - optional: false - checksum: 10/d935eb8f4f59b5249491eed66a975446c8c9f4b60b868033f36838fac7ad7649dccf5c62c24dd7eacc70400344b86ca693db7c8733927876f73fcfd7d1940cfc - languageName: node - linkType: hard - "web-streams-polyfill@npm:^3.0.3": version: 3.2.1 resolution: "web-streams-polyfill@npm:3.2.1" @@ -23946,7 +23885,7 @@ __metadata: languageName: node linkType: hard -"webdriverio@npm:9.2.6, webdriverio@npm:^9.1.5": +"webdriverio@npm:9.2.6, webdriverio@npm:^9.2.6": version: 9.2.6 resolution: "webdriverio@npm:9.2.6" dependencies: