summaryrefslogtreecommitdiffstats
path: root/package.json
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2020-10-01 17:29:37 +0200
committerRobin Appelman <robin@icewind.nl>2020-10-01 19:53:33 +0200
commitd20d14cb42b53ea5322447da28618ec2d796ebc5 (patch)
tree3d43f257016378aeb92e24c10932d3d93f5de825 /package.json
parentf77cf749c0ba5094c88e207b7b660ece8dd44cbe (diff)
add cypress testing
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'package.json')
-rw-r--r--package.json9
1 files changed, 7 insertions, 2 deletions
diff --git a/package.json b/package.json
index b3bb0893..8a51d83d 100644
--- a/package.json
+++ b/package.json
@@ -24,7 +24,9 @@
"lint": "eslint --ext .js,.vue src",
"lint:fix": "eslint --ext .js,.vue src --fix",
"test": "jest",
- "test:coverage": "jest --coverage"
+ "test:coverage": "jest --coverage",
+ "cypress": "cypress run",
+ "cypress:gui": "cypress open"
},
"dependencies": {
"@babel/runtime": "^7.11.2",
@@ -63,15 +65,18 @@
"@babel/core": "^7.11.6",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/preset-env": "^7.11.5",
- "@vue/test-utils": "^1.1.0",
"@nextcloud/browserslist-config": "^1.0.0",
"@nextcloud/eslint-config": "^2.1.0",
"@nextcloud/eslint-plugin": "^1.4.0",
+ "@vue/test-utils": "^1.1.0",
"acorn": "^8.0.1",
"babel-eslint": "^10.0.3",
"babel-jest": "^26.3.0",
"babel-loader": "^8.0.6",
"css-loader": "^4.3.0",
+ "cypress": "^5.3.0",
+ "cypress-image-snapshot": "^3.1.1",
+ "cypress-testing-library": "^4.0.0",
"eslint": "^6.8.0",
"eslint-config-standard": "^12.0.0",
"eslint-friendly-formatter": "^4.0.1",