cypress tests

pull/490/head
hunterlong 2020-04-11 16:34:53 -07:00
parent ee2cced81c
commit c8a5026677
2 changed files with 2 additions and 4 deletions

View File

@ -27,11 +27,9 @@ install:
- "go mod download"
- "go mod verify"
- "make test-deps yarn clean compile install"
cache:
directories:
- "$GOPATH/src/github.com/statping/statping/frontend/node_modules"
language: go
addons:
chrome: stable
apt:
packages:
- libgconf-2-4

View File

@ -9,7 +9,7 @@
"lint": "vue-cli-service lint",
"backend-test": "newman run -e ../dev/postman_environment.json --delay-request 500 ../dev/postman.json",
"cypress:open": "cypress open",
"cypress:test": "cypress run --record --key $CYPRESS_KEY",
"cypress:test": "cypress run --browser chrome --record --key $CYPRESS_KEY",
"test": "start-server-and-test start http://localhost:8888/api cypress:test",
"start": "statping -port 8888 > /dev/null 2>&1"
},