-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
32 lines (30 loc) · 1.22 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
{
"name": "cypress_practice",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test-runner": "npx cypress open",
"test-report": "npx cypress run",
"headed": "npx cypress run --headed",
"headless": "npx cypress run -- headless",
"cy:run": "cypress run --env allure=true --browser chrome",
"allure:report": "allure generate allure-results --clean -o allure-report",
"allure:clear": "if [ -d allure-results ]; then rm -Rf allure-results; fi && if [ -d allure-report ]; then rm -Rf allure-report; fi && if [ -d cypress//screenshots ]; then rm -Rf cypress//screenshots; fi && if [ -d cypress//videos ]; then rm -Rf cypress//videos; fi",
"pretest": "npm run allure:clear",
"test": "npm run cy:run || npm run posttest",
"posttest": "npm run allure:report",
"cy:runwithdashboard": "cypress run --env allure=true --browser chrome --headed",
"dashboard:report": "npm run cy:runwithdashboard || npm run posttest"
},
"author": "",
"license": "ISC",
"dependencies": {
"cypress": "^10.10.0",
"cypress-real-events": "^1.7.4"
},
"devDependencies": {
"@shelex/cypress-allure-plugin": "^2.34.0",
"cypress-xpath": "^2.0.1"
}
}