Skip to content

Commit

Permalink
Bump chrome version used for e2e tests
Browse files Browse the repository at this point in the history
This upgrades the chrome version used for testing in the hopes
that it will be more stable than the current one.
Currently there are quite a few failures due to chromedriver
crashing (like [this](https://github.com/dfinity/internet-identity/actions/runs/8250693687/job/22566116401#step:17:15993)).
  • Loading branch information
Frederik Rothenberger committed Mar 12, 2024
1 parent bdd7497 commit 5abfc94
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion demos/using-dev-build/wdio.conf.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export const config: WebdriverIO.Config = {
capabilities: [
{
browserName: "chrome",
browserVersion: "119.0.6045.105", // More information about available versions can be found here: https://github.com/GoogleChromeLabs/chrome-for-testing
browserVersion: "122.0.6261.111 ", // More information about available versions can be found here: https://github.com/GoogleChromeLabs/chrome-for-testing
"goog:chromeOptions": {
args: ["headless", "disable-gpu", "disable-dev-shm-usage"],
},
Expand Down
2 changes: 1 addition & 1 deletion src/frontend/screenshots.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ async function withChrome<T>(
const browser = await remote({
capabilities: {
browserName: "chrome",
browserVersion: "119.0.6045.105", // More information about available versions can be found here: https://github.com/GoogleChromeLabs/chrome-for-testing
browserVersion: "122.0.6261.111 ", // More information about available versions can be found here: https://github.com/GoogleChromeLabs/chrome-for-testing
"goog:chromeOptions": chromeOptions,
},
});
Expand Down
2 changes: 1 addition & 1 deletion src/frontend/src/test-e2e/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export async function runInBrowser(
const browser = await remoteRetry({
capabilities: {
browserName: "chrome",
browserVersion: "119.0.6045.105", // More information about available versions can be found here: https://github.com/GoogleChromeLabs/chrome-for-testing
browserVersion: "122.0.6261.111 ", // More information about available versions can be found here: https://github.com/GoogleChromeLabs/chrome-for-testing
"goog:chromeOptions": chromeOptions,
},
});
Expand Down

0 comments on commit 5abfc94

Please sign in to comment.