Skip to content

Commit 810851b

Browse files
author
tsv2013
committed
Try to stabilize ci functional tests
1 parent 338744c commit 810851b

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
2+
3+
module.exports = {
4+
"browsers": [`chrome:${require("puppeteer").executablePath()}:headless`],
5+
"nativeAutomation": "true",
6+
"concurrency": 1,
7+
"quarantineMode": {
8+
"successThreshold": 1,
9+
"attemptLimit": 3
10+
}
11+
}

packages/survey-creator-react/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"doc:gen": "node doc_generator/editor_docgenerator.js src/entries/index.ts",
2121
"doc:update": "chmod +x docupdate_npm.sh && ./docupdate_npm.sh",
2222
"testcafe": "testcafe ../../functionalTests/ --app \"http-server\" --selector-timeout 1500 --config-file .testcaferc.dev.js",
23-
"testcafe:ci": "testcafe ../../functionalTests/ --app \"http-server --silent \" --selector-timeout 1500 --reporter minimal",
23+
"testcafe:ci": "testcafe ../../functionalTests/ --app \"http-server\" --selector-timeout 1500 --config-file .testcaferc.ci.js",
2424
"testcafe:file": "testcafe ../../functionalTests/designer/page-navigator.ts --app \"http-server --silent \" --reporter minimal --debug-mode --config-file .testcaferc.dev.js",
2525
"testcafe:a11y": "testcafe ./testCafe/accessibility.js --app \"http-server --silent\" --selector-timeout 1500 --config-file .testcaferc.dev.js",
2626
"testcafe:a11y:ci": "testcafe ./testCafe/accessibility.js --app \"http-server\" --selector-timeout 1500 --reporter minimal",
@@ -101,4 +101,4 @@
101101
"tag": true
102102
}
103103
}
104-
}
104+
}

0 commit comments

Comments
 (0)