summaryrefslogtreecommitdiffstats
path: root/package.json
diff options
context:
space:
mode:
Diffstat (limited to 'package.json')
-rw-r--r--package.json13
1 files changed, 9 insertions, 4 deletions
diff --git a/package.json b/package.json
index 355b912a..70d51bde 100644
--- a/package.json
+++ b/package.json
@@ -27,9 +27,11 @@
"stylelint:fix": "stylelint src --fix",
"test": "jest",
"test:coverage": "jest --coverage",
- "cypress": "./cypress/start.sh; cypress run; ./cypress/stop.sh",
- "cypress:gui": "./cypress/start.sh; cypress open; ./cypress/stop.sh",
- "wait-on": "wait-on -i 500 -t 300000"
+ "cypress": "npm run cypress:component && npm run cypress:e2e",
+ "cypress:component": "cypress run --component",
+ "cypress:e2e": "cypress run --e2e",
+ "cypress:gui": "cypress open",
+ "precypress:update-snapshots": "TESTING=true npm run dev"
},
"dependencies": {
"@nextcloud/auth": "^2.0.0",
@@ -82,7 +84,10 @@
"@nextcloud/stylelint-config": "^2.3.0",
"@nextcloud/webpack-vue-config": "^5.5.1",
"copy-webpack-plugin": "^11.0.0",
- "cypress": "^12.14.0",
+ "@nextcloud/cypress": "^1.0.0-beta.2",
+ "cypress-visual-regression": "^2.1.1",
+ "cypress-wait-until": "^1.7.2",
+ "dockerode": "^3.3.5",
"jest": "^29.5.0",
"jest-serializer-vue": "^3.1.0",
"vue-template-compiler": "^2.7.14",