Skip to content

Commit

Permalink
Added puppeteer to fix f-tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tsv2013 committed Oct 22, 2024
1 parent 4c2b8d1 commit ea2fdff
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .testcaferc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
module.exports = {
"browsers": [`chrome:${require("puppeteer").executablePath()}:headless`],
"nativeAutomation": "true",
"concurrency": 4,
"quarantineMode": {
"successThreshold": 1,
"attemptLimit": 5
}
}
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"test_dev": "jest --watch",
"test_debug": "node --inspect-brk ./node_modules/jest/bin/jest.js --runInBand",
"testcafe": "concurrently \"http-server\" \"testcafe chrome testCafe/\"",
"testcafe_ci": "http-server --silent & testcafe chrome:headless testCafe/ --reporter minimal",
"testcafe_ci": "http-server --silent & testcafe testCafe/ --reporter minimal",
"testcafe:file": "concurrently \"http-server --silent\" \"testcafe chrome testCafe/tabulator/basetests.js --selector-timeout 1500 --reporter minimal --debug-mode\"",
"release": "standard-version --message \"Release: %s [azurepipelines skip]\" ",
"doc_gen": "node doc_generator/lib_docgenerator.js src/index.ts",
Expand Down Expand Up @@ -84,6 +84,7 @@
"jest-junit": "^16.0.0",
"mini-css-extract-plugin": "^2.9.0",
"node-uuid": "1.4.7",
"puppeteer": "23.5.3",
"replace-in-file": "^6.3.2",
"sass": "^1",
"sass-loader": "^8.0.2",
Expand Down

0 comments on commit ea2fdff

Please sign in to comment.