Skip to content

Commit

Permalink
test: add an option to run Testcafe test with chromium
Browse files Browse the repository at this point in the history
Add an option to run Testcafe browser tests with Chromium instead of
Chrome. There have been some issues with the Chrome that prevents using
it in CI environment:

- DevExpress/testcafe#8286
- DevExpress/testcafe#8300
- DevExpress/testcafe#8304
- DevExpress/testcafe#8307
  • Loading branch information
nikomakela committed Oct 31, 2024
1 parent 2381b2d commit 586aa73
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
"test:staged": "cross-env SASS_PATH=./src/assets/styles jest --findRelatedTests",
"ci": "jest --verbose --coverage --runInBand",
"browser-test": "testcafe \"chrome --window-size='1920,1080'\" testcafe/e2e/ --live --dev",
"browser-test:ci": "testcafe \"chrome:headless --disable-gpu --window-size='1920,1080'\" --screenshots takeOnFails=true,path=report,fullPage=true --video report testcafe/e2e/"
"browser-test:ci": "testcafe \"chrome:headless --disable-gpu --window-size='1920,1080'\" --screenshots takeOnFails=true,path=report,fullPage=true --video report testcafe/e2e/",
"browser-test:ci:chromium": "testcafe \"chromium:headless --disable-gpu --window-size='1920,1080'\" --screenshots takeOnFails=true,path=report,fullPage=true --video report testcafe/e2e/"
},
"eslintConfig": {
"extends": "react-app"
Expand Down

0 comments on commit 586aa73

Please sign in to comment.