mirror of https://github.com/statping/statping
cypress tests
parent
bac146fa18
commit
5f81efa6ee
|
@ -193,6 +193,11 @@ jobs:
|
||||||
chmod +x statping
|
chmod +x statping
|
||||||
mv statping $(go env GOPATH)/bin/
|
mv statping $(go env GOPATH)/bin/
|
||||||
|
|
||||||
|
- name: Run Statping
|
||||||
|
run: |
|
||||||
|
API_SECRET=demosecret123 statping --port=8080 > /dev/null &
|
||||||
|
sleep 3
|
||||||
|
|
||||||
- name: Cypress E2E Testing
|
- name: Cypress E2E Testing
|
||||||
uses: cypress-io/github-action@v1
|
uses: cypress-io/github-action@v1
|
||||||
env:
|
env:
|
||||||
|
@ -200,9 +205,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
record: false
|
record: false
|
||||||
parallel: false
|
parallel: false
|
||||||
build: yarn
|
|
||||||
working-directory: ./frontend
|
working-directory: ./frontend
|
||||||
start: yarn start
|
|
||||||
wait-on: 'http://localhost:8080/api'
|
wait-on: 'http://localhost:8080/api'
|
||||||
config: pageLoadTimeout=100000,watchForFileChanges=false
|
config: pageLoadTimeout=100000,watchForFileChanges=false
|
||||||
browser: chrome
|
browser: chrome
|
||||||
|
|
Loading…
Reference in New Issue