-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
20 lines (20 loc) · 967 Bytes
/
Copy pathpackage.json
File metadata and controls
20 lines (20 loc) · 967 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{
"name": "qa-session-cache-strategy",
"version": "2.0.0",
"description": "Démonstration de l'optimisation du temps d'exécution Cypress via la mise en cache de session (cy.session()), sur une mini-application statique auto-hébergée pour un comportement 100% prévisible.",
"scripts": {
"serve": "http-server app -p 8080 -s",
"cy:open": "start-server-and-test serve http://localhost:8080 cy:open:only",
"cy:open:only": "cypress open",
"test:without-session": "start-server-and-test serve http://localhost:8080 cy:run:without",
"test:with-session": "start-server-and-test serve http://localhost:8080 cy:run:with",
"cy:run:without": "cypress run --spec \"cypress/e2e/without-session/**/*.cy.ts\"",
"cy:run:with": "cypress run --spec \"cypress/e2e/with-session/**/*.cy.ts\""
},
"devDependencies": {
"cypress": "^13.6.0",
"http-server": "^14.1.1",
"start-server-and-test": "^2.0.3",
"typescript": "^5.4.0"
}
}