Skip to content

Commit

Permalink
test: fix chrome v130 launch issues
Browse files Browse the repository at this point in the history
KK-1215.

The Chrome version 130 launches with a "what's new page" when it is
opened the first time. Because of this, the Testcafe fails to run the
browser tests.
  • Loading branch information
nikomakela committed Oct 21, 2024
1 parent bf7d478 commit a8ef83a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
"eject": "react-scripts eject",
"lint": "eslint --ext js,ts,tsx src",
"generate:graphql": "cross-env DOTENV_CONFIG_PATH=./.env graphql-codegen -r dotenv/config --config ./codegen.ts",
"test:browser": "testcafe \"chrome --window-size='1920,1080' --disable-search-engine-choice-screen\" browser-tests/ --live",
"test:browser": "testcafe \"chrome --window-size='1920,1080' --disable-search-engine-choice-screen --no-first-run --disable-features=ChromeWhatsNewUI\" browser-tests/ --live",
"test:browser:wsl2win": "testcafe 'path:`/mnt/c/Program Files/Google/Chrome/Application/chrome.exe`' browser-tests/ --live --dev --lang=fi-FI",
"test:browser:ci": "testcafe \"chrome:headless --disable-gpu --window-size='1920,1080' --disable-search-engine-choice-screen\" --lang=fi-FI -s path=report,takeOnFails=true --video report --reporter spec,html:report/index.html browser-tests/"
"test:browser:ci": "testcafe \"chrome:headless --disable-gpu --window-size='1920,1080' --disable-search-engine-choice-screen --no-first-run --disable-features=ChromeWhatsNewUI,\" --lang=fi-FI -s path=report,takeOnFails=true --video report --reporter spec,html:report/index.html browser-tests/"
},
"eslintConfig": {
"extends": "react-app"
Expand Down

0 comments on commit a8ef83a

Please sign in to comment.