run cypress only with travis for now

This commit is contained in:
Denys Vuika
2018-05-14 11:57:41 +01:00
parent 90caabafc0
commit 3ff9a9b536
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -21,4 +21,4 @@ install:
script:
# - docker-compose stop
- npm run build && npm run e2e:docker
- npm run build && npm run e2e:all
+2 -1
View File
@@ -20,7 +20,8 @@
"e2e": "npm run wd:update && protractor protractor.conf.js",
"start:docker": "docker-compose up -d --build && wait-on http://localhost:8080 && wait-on http://localhost:3000",
"stop:docker": "docker-compose stop",
"e2e:docker": "npm run start:docker && npm run cypress:ci && npm run e2e && npm run stop:docker",
"e2e:docker": "npm run start:docker && npm run e2e && npm run stop:docker",
"e2e:all": "npm run start:docker && npm run cypress:ci && npm run e2e && npm run stop:docker",
"cypress:open": "cypress open",
"cypress:run": "cypress run",
"cypress:ci": "cypress run --browser chrome --config baseUrl=http://localhost:3000"