-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
51 lines (51 loc) · 3.83 KB
/
package.json
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
45
46
47
48
49
50
51
{
"version": "0.0.1",
"name": "surveyjs.io.tests",
"scripts": {
"test:test": "testcafe chrome surveyjstest/Library/Examples/question_types.testcafe.js -t \"signaturepad\" --selector-timeout 1500",
"test": "testcafe chrome surveyjstest --native-automation --selector-timeout 5000",
"test:pay": "testcafe -e chrome payment --native-automation --selector-timeout 5000",
"test:file": "testcafe chrome payment/Common/cart.testcafe.js --native-automation --selector-timeout 1500",
"test:examples": "testcafe examples --native-automation --selector-timeout 1500 --reporter spec,xunit:report.xml --browser-init-timeout 420000 --page-request-timeout 168000",
"test:visual:ci": "testcafe ./examplesVisualTests/ --screenshots ./ --native-automation --selector-timeout 1500 --reporter spec,xunit:report.xml --browser-init-timeout 420000 --page-request-timeout 168000",
"test_ci": "testcafe chrome:headless payment surveyjstest --native-automation --selector-timeout 1500 --reporter spec,xunit:report.xml --browser-init-timeout 420000 --page-request-timeout 168000",
"test_ci:pay": "testcafe -e chrome:headless payment -s takeOnFails=true --native-automation --selector-timeout 5000 --reporter spec,xunit:report.xml --browser-init-timeout 420000 --page-request-timeout 168000",
"warmup": "testcafe chrome:headless warmup --native-automation --selector-timeout 1000000 --reporter spec,xunit:report.xml --browser-init-timeout 1000000 --page-request-timeout 1000000",
"v2": "testcafe chrome ./V2/ --screenshots ./ --native-automation --selector-timeout 1500 --reporter spec,xunit:report.xml --browser-init-timeout 420000 --page-request-timeout 168000",
"v2:ci": "testcafe chrome:headless ./V2/ --screenshots ./ --native-automation --selector-timeout 1500 --reporter spec,xunit:report.xml --browser-init-timeout 420000 --page-request-timeout 168000",
"v2:ci:new": "testcafe chrome:headless ./V2/ --screenshots ./ --native-automation --selector-timeout 1500 --reporter spec,xunit:report.xml --browser-init-timeout 420000 --page-request-timeout 168000 --env-new=true",
"v2:dev": "testcafe chrome ./V2/ --screenshots ./ --native-automation --selector-timeout 1500 --reporter spec,xunit:report.xml --browser-init-timeout 420000 --page-request-timeout 168000 --env-dev=true",
"v2:dev:ci": "testcafe chrome:headless ./V2/ --screenshots ./ --native-automation --selector-timeout 1500 --reporter spec,xunit:report.xml --browser-init-timeout 420000 --page-request-timeout 168000 --env-dev=true",
"v2:dev:new": "testcafe chrome:headless ./V2/ --screenshots ./ --native-automation --selector-timeout 1500 --reporter spec,xunit:report.xml --browser-init-timeout 420000 --page-request-timeout 168000 --env-dev=true --env-new=true",
"pw:ci": "npx playwright test --reporter=dot --project=chromium",
"pw:update": "npx playwright test --project=chromium --update-snapshots",
"pw:ui": "npx playwright test --ui",
"pw:debug": "npx playwright test licences-expired-notifications.spec.ts --debug --project=chromium",
"pw:codegen": "npx playwright codegen",
"pw:file": "npx playwright test example",
"pre-push-check": "npm run lint",
"lint": "eslint ./examples --quiet && eslint ./surveyjstest --quiet && eslint ./V2 --quiet && eslint ./V2/tests --quiet",
"prepare": "husky install"
},
"dependencies": {
"@playwright/test": "1.40.1",
"devextreme-screenshot-comparer": "^2.0.16",
"minimist": "^1.2.6",
"testcafe": "3.2.0",
"testcafe-reporter-xunit": "^2.2.1"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^4.29.0",
"@typescript-eslint/parser": "^4.29.0",
"eslint": "^7.32.0",
"eslint-cli": "^1.1.1",
"puppeteer": "23.5.3",
"eslint-plugin-surveyjs": "file:eslint-surveyjs",
"husky": "^8"
},
"husky": {
"hooks": {
"pre-push": "npm run pre-push-check"
}
}
}