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 e031092
Show file tree
Hide file tree
Showing 2 changed files with 1,116 additions and 104 deletions.
6 changes: 3 additions & 3 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 \" 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\" --lang=fi-FI -s path=report,takeOnFails=true --video report --reporter spec,html:report/index.html browser-tests/"
},
"eslintConfig": {
"extends": "react-app"
Expand Down Expand Up @@ -89,7 +89,7 @@
"@testing-library/testcafe": "^5.0.0",
"full-icu": "^1.5.0",
"jest-localstorage-mock": "^2.4.26",
"testcafe": "^3.3.0",
"testcafe": "3.7.0-rc.1",
"testcafe-reporter-html": "^1.4.6"
},
"jest": {
Expand Down
Loading

0 comments on commit e031092

Please sign in to comment.