forked from bcgov/SIMS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
39 lines (39 loc) · 1.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
{
"scripts": {
"testStudent": "cypress run --browser chrome --spec cypress/e2e/01-student/*.cy.ts",
"testInstitution": "cypress run --browser chrome --spec cypress/e2e/02-institution/*.cy.ts",
"Run cypress headless mode command in student": "npm run testStudent",
"Run cypress headless mode command in institution": "npm run testInstitution",
"Run cypress headless mode": "npx cypress run",
"Run cypress headed mode": " npx cypress open ",
"Run cypress dashboard in headless mode": "npx cypress run --record --key 5b16fe34-8464-4bb2-a409-6ab5a6c7526c",
"Run cypress headless mode command for single spec": "npx cypress run --browser chrome --spec cypress/e2e/01-student/01-welcome-page.cy.ts",
"clean:reports": "rmdir /S /Q cypress\\reports && mkdir cypress\\reports && mkdir cypress\\reports\\mochareports",
"pretest": "npm run clean:reports",
"scripts": "npx cypress run",
"combine-reports": "mochawesome-merge cypress/reports/mocha/*.json > cypress/reports/mochareports/report.json",
"generate-report": "marge cypress/reports/mochareports/report.json -f report -o cypress/reports/mochareports",
"posttest": "npm run combine-reports && npm run generate-report",
"test": "npm run scripts || npm run posttest",
"Run headless for all modes": "npm run test",
"uploadResultTQ": "ts-code uploadResult.ts"
},
"devDependencies": {
"@types/jest": "^28.1.0",
"axios": "^0.27.2",
"cypress": "^10.0.2",
"cypress-mochawesome-reporter": "^3.1.0",
"cypress-multi-reporters": "^1.6.0",
"cypress-xpath": "^1.6.2",
"form-data": "^4.0.0",
"mochawesome-merge": "^4.2.1",
"mochawesome-report-generator": "^6.2.0",
"ts-loader": "^9.2.7",
"ts-node": "^10.9.1",
"typescript": "^4.6.2",
"webpack": "^5.70.0"
},
"dependencies": {
"@types/uuid": "^8.3.4"
}
}