-
Notifications
You must be signed in to change notification settings - Fork 38
/
Copy path.testcaferc-prod2.js
44 lines (44 loc) · 1.14 KB
/
.testcaferc-prod2.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
// Splitting nested-documents test into a separate file, error with testcafe v3 native automation
// https://github.com/DevExpress/testcafe/issues/8243
// https://stackoverflow.com/questions/76806603/how-to-use-disablenativeautomation-in-testcafe-for-one-test-only
module.exports = {
"appCommand": "npm run serve-static",
"src": [
"src/**/nested-documents.spec.ts"
],
"browsers": [
"chrome:headless"
],
"concurrency": 1,
"cache": true,
"selectorTimeout": 45000,
"assertionTimeout": 25000,
"pageLoadTimeout": 60000,
"ajaxRequestTimeout": 120000,
"pageRequestTimeout": 180000,
"browserInitTimeout": 180000,
"testExecutionTimeout": 180000,
"runExecutionTimeout": 1000000,
"disableNativeAutomation": true,
"color": true,
"speed": 1,
"reporter": [
{
"name": "spec"
},
{
"name": "spec",
"output": "artifacts/report.json"
}
],
"quarantineMode": {
"successThreshold": 1,
"attemptLimit": 3
},
"screenshots": {
"path": "artifacts/screenshots",
"pathPattern": "${USERAGENT}/test-${TEST_INDEX}-${USERAGENT}-${FILE_INDEX}.png",
"takeOnFails": true,
"fullPage": true
}
}