Fix testcafe CI

This commit is contained in:
Aarni Halinen
2019-11-09 01:57:20 +02:00
parent 1d0cd1d0c0
commit 45756253fa
2 changed files with 6 additions and 4 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ setup:
# - npm run test:unit
test:e2e:
image: node:12-browsers
image: circleci/node:12-browsers
stage: test
script:
- npm run test:e2e
+5 -3
View File
@@ -32,10 +32,12 @@
"serve": "node dist/js/server.js",
"start-prod": "npm run build && npm run serve",
"mock-backend": "json-server --watch db.json -H 0.0.0.0 -p 1234",
"test": "npm-run-all lint test:e2e",
"test": "npm-run-all lint test:e2e:verbose",
"test:e2e": "npm-run-all -s build test:e2e:run",
"test:e2e:verbose": "npm-run-all -p -r serve test:e2e:testcafe:verbose",
"test:e2e:run": "npm-run-all -p -r serve test:e2e:testcafe",
"test:e2e:testcafe": "testcafe -S -s 'tests/testcafe/screenshots' --app-init-delay 2000 chrome tests/testcafe",
"test:e2e:testcafe": "testcafe -S -s 'tests/testcafe/screenshots' --app-init-delay 2000 chrome:headless tests/testcafe",
"test:e2e:testcafe:verbose": "testcafe -S -s 'tests/testcafe/screenshots' --app-init-delay 2000 chrome tests/testcafe",
"plop": "plop"
},
"husky": {
@@ -126,4 +128,4 @@
"shortid": "2.2.14"
},
"postcss": {}
}
}