-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
71 lines (71 loc) · 2.9 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
{
"name": "API-Automation",
"version": "1.0.0",
"description": "API BDD Automation ",
"main": "index.js",
"scripts": {
"test": "ELECTRON_EXTRA_LAUNCH_ARGS=--remote-debugging-port=9222 cypress run --e2e --headed --spec **/*.feature",
"report": "node cypress.report.js",
"tags": "ELECTRON_EXTRA_LAUNCH_ARGS=--remote-debugging-port=9222 cypress run --spec 'cypress/e2e/features/*.feature' --headed --env TAGS='@APITest'",
"run:test": "ELECTRON_EXTRA_LAUNCH_ARGS=--remote-debugging-port=9222 npx cypress run --headed",
"cy:parallel": "cypress-parallel -t 2 -d cypress/e2e/features/ -s run:test -m false",
"cy:parallel:tags": "cypress-parallel -t 2 -d cypress/e2e/features/ -s tags -m false",
"clean": "rm -rf cypress/downloads && rm -rf cypress/screenshots && rm -rf cypress/cucumber-json && rm -rf reports && rm -rf .bin && rm -rf runner-results && rm -rf data && rm -rf multi-reporter-config.json && rm -rf cypress/multi-reporter-config && rm -rf cypress/videos && rm -rf cypress/mocha-reports cypress/parallel-weights.json cucumber-report.html cypress/hars",
"pretty": "prettier --write \"./**/*.{js,json,yml}\"",
"merge": "rm -rf cypress/mocha-reports/overall-report.json && mochawesome-merge cypress/mocha-reports/*.json > cypress/mocha-reports/overall-report.json",
"generate-report": "npm run merge && marge cypress/mocha-reports/overall-report.json -f mochawesome-report -o cypress/mocha-reports"
},
"keywords": [
"cypress",
"cucumber",
"report"
],
"author": "siva.sajja",
"devDependencies": {
"@bahmutov/cypress-esbuild-preprocessor": "^2.2.0",
"@neuralegion/cypress-har-generator": "^5.16.4",
"ajv": "^8.12.0",
"cypress": "^13.8.0",
"cypress-junit-reporter": "^1.3.1",
"cypress-mochawesome-reporter": "^3.8.2",
"cypress-multi-reporters": "^1.6.4",
"esbuild": "^0.20.2",
"js-yaml": "^4.1.0",
"mocha": "^10.4.0",
"mochawesome": "^7.1.3",
"mochawesome-merge": "^4.3.0",
"mochawesome-report-generator": "^6.2.0",
"prettier": "3.2.5"
},
"cypress-cucumber-preprocessor": {
"nonGlobalStepDefinitions": false,
"stepDefinitions": "cypress/e2e/step_definitions/**/*.js",
"html": {
"enabled": true
},
"filterSpecs": true,
"omitFiltered": true,
"json": {
"enabled": true,
"formatter": ".bin/cucumber-json-formatter",
"output": "cypress/reports/json/cucumber-report.json"
},
"messages": {
"enabled": true,
"output": "cypress/reports/messages/cucumber-messages.ndjson"
},
"cucumberJson": {
"generate": true,
"outputFolder": "cypress/reports/cucumber",
"filePrefix": "",
"fileSuffix": ".cucumber"
}
},
"dependencies": {
"@badeball/cypress-cucumber-preprocessor": "^20.0.3",
"cypress-parallel": "^0.14.0",
"cypress-real-events": "^1.12.0",
"dayjs": "^1.11.10",
"multiple-cucumber-html-reporter": "^3.6.2"
}
}