-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
41 lines (41 loc) · 1.95 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
{
"name": "mflorenzocypress",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"cy:e2e": "npm run prereport; npm run cypress:run; npm run junit:merge; npm run posttest",
"cy:prod": "npm run prereport; npx cypress run --env configFile=prod --browser chrome --headed; npm run posttest",
"cy:prod:smoke": "npm run prereport; npx cypress run --env configFile=prod --browser chrome --headed grepTags=smoke; npm run posttest",
"cy:home:prod": "npm run prereport; npx cypress run --spec cypress/e2e/specs/home.cy.js --env configFile=prod --browser chrome --headed; npm run posttest",
"cy:member:prod": "npm run prereport; npx cypress run --spec cypress/e2e/specs/member.cy.js --env configFile=prod --browser chrome --headed; npm run posttest",
"cy:qa": "CYPRESS_BASE_URL=https://staging.app.com npx cypress run --env configFile=qa --browser chrome --headed",
"cy:qa:smoke": "CYPRESS_BASE_URL=https://staging.app.com npx cypress run --env configFile=qa --browser chrome --headed grepTags=smoke",
"prereport": "npm run clean:reports",
"posttest": "npm run combine-reports && npm run generate-report",
"clean:reports": "rm -R -f cypress/report",
"combine-reports": "npx mochawesome-merge cypress/report/mochawesome-report/*.json > cypress/report/output.json",
"generate-report": "npx marge cypress/report/output.json --reportDir cypress/report --inline"
},
"keywords": [
"qa",
"automation"
],
"author": "maria florencia lorenzo",
"license": "ISC",
"repository": {
"type": "git",
"url": "git+https://github.com/mflorlorenzo/mfl-cypress.git"
},
"devDependencies": {
"cypress": "^13.11.0",
"cypress-grep": "^3.0.2",
"cypress-mochawesome-reporter": "^3.6.0",
"cypress-multi-reporters": "^1.6.1",
"junit-merge": "^2.0.0",
"mocha-junit-reporter": "^2.0.2",
"mochawesome": "^7.1.3",
"mochawesome-merge": "^4.3.0",
"mochawesome-report-generator": "^6.2.0"
}
}