Skip to content

Commit 0b5a642

Browse files
author
tsv2013
committed
Try to stabilize f-tests
1 parent 58e0be3 commit 0b5a642

File tree

4 files changed

+26
-4
lines changed

4 files changed

+26
-4
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-js/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"doc:gen": "node doc_generator/editor_docgenerator.js src/entries/index.ts",
2222
"doc:update": "chmod +x docupdate_npm.sh && ./docupdate_npm.sh",
2323
"testcafe": "testcafe ../../functionalTests/ --app \"http-server\" --selector-timeout 1500 --config-file .testcaferc.dev.js",
24-
"testcafe:ci": "testcafe ../../functionalTests/ --app \"http-server --silent \" --selector-timeout 1500 --reporter minimal",
24+
"testcafe:ci": "testcafe ../../functionalTests/ --app \"http-server\" --selector-timeout 1500 --config-file .testcaferc.ci.js",
2525
"testcafe:file": "testcafe ../../functionalTests/designer/page-navigator.ts --app \"http-server --silent \" --reporter minimal --debug-mode --config-file .testcaferc.dev.js",
2626
"testcafe:a11y": "testcafe ./testCafe/accessibility.js --app \"http-server --silent \" --selector-timeout 1500 --config-file .testcaferc.dev.js",
2727
"testcafe:a11y:ci": "testcafe ./testCafe/accessibility.js --app \"http-server\" --selector-timeout 1500 --reporter minimal",
@@ -89,4 +89,4 @@
8989
"survey-creator-core": "../survey-creator-core/build",
9090
"survey-js-ui": "../../../survey-library/build/survey-js-ui"
9191
}
92-
}
92+
}
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-knockout/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"testcafe:file": "testcafe ../../functionalTests/designer/page-navigator.ts --app \"http-server --silent \" --reporter minimal --debug-mode --config-file .testcaferc.dev.js",
2424
"testcafe:a11y": "testcafe ./testCafe/accessibility.js --app \"http-server --silent \" --selector-timeout 1500 --config-file .testcaferc.dev.js",
2525
"testcafe:a11y:ci": "testcafe ./testCafe/accessibility.js --app \"http-server\" --selector-timeout 1500 --reporter minimal",
26-
"testcafe:ci": "testcafe ../../functionalTests/ --app \"http-server --silent \" --selector-timeout 1500 --reporter minimal",
26+
"testcafe:ci": "testcafe ../../functionalTests/ --app \"http-server\" --selector-timeout 1500 --config-file .testcaferc.ci.js",
2727
"visual-regression-tests": "testcafe ../../visualRegressionTests/ --app \"http-server\" --screenshots ../../ --selector-timeout 1500 --reporter minimal --config-file .testcaferc.dev.js",
2828
"visual-regression-tests:ci": "testcafe - ../../visualRegressionTests/ --app \"http-server\" --screenshots ../../ --selector-timeout 1500 --reporter minimal",
2929
"visual-regression-tests:file": "testcafe --app \"http-server\" ../../visualRegressionTests/tests/designer/pg-choices.ts --screenshots ../../ --reporter minimal --selector-timeout 1500 --config-file .testcaferc.dev.js",
@@ -94,4 +94,4 @@
9494
"tag": true
9595
}
9696
}
97-
}
97+
}

0 commit comments

Comments
 (0)