-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
44 lines (44 loc) · 1.7 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
{
"name": "cypress-poc",
"version": "1.0.0",
"private": true,
"description": "Cypress POC for UI Automation.",
"scripts": {
"clean:temp": "del-cli cypress/support/temp.json",
"clean:reports": "IF EXIST reports (rmdir /S /Q reports && mkdir reports && mkdir reports\\mocha-json && mkdir reports\\otalio-mochawesome-reports\\) ELSE (mkdir reports && mkdir reports\\mocha-json && mkdir reports\\otalio-mochawesome-reports\\)",
"pretest": "npm run clean:reports && npm run clean:temp",
"scripts": "cypress run --spec **/*.features",
"combine-reports": "mochawesome-merge ./reports/mocha-json/*.json > ./reports/otalio-mochawesome-reports/report.json",
"generate-report": "marge ./reports/otalio-mochawesome-reports/report.json -f report -o ./reports/otalio-mochawesome-reports",
"generate-cucumber-report": "node cucumber-html-report.js",
"posttest": "npm run generate-cucumber-report && npm run combine-reports && npm run generate-report",
"test": "npm run scripts || npm run posttest",
"cypress:open": "cypress open"
},
"cypress-cucumber-preprocessor": {
"cucumberJson": {
"generate": true,
"outputFolder": "./reports/cucumber-json",
"filePrefix": "",
"fileSuffix": ".cucumber"
},
"nonGlobalStepDefinitions": true
},
"dependencies": {
"cypress": "9.2.1",
"cypress-cucumber-preprocessor": "4.3.1",
"cypress-multi-reporters": "1.5.0",
"del-cli": "4.0.1",
"mochawesome": "7.0.1",
"mochawesome-merge": "4.2.1",
"mochawesome-report-generator": "6.0.1",
"multiple-cucumber-html-reporter": "1.18.3"
},
"keywords": [
"Cypress",
"JavaScript",
"Cucumber",
"Web Automation"
],
"author": "Raj Kumar"
}