Add wait-on after start server

This commit is contained in:
2022-11-15 20:22:05 -06:00
parent 09c4ce0a81
commit 4df797be8f

View File

@ -35,9 +35,11 @@ workflows:
context: [ qqq-maven-registry-credentials ] context: [ qqq-maven-registry-credentials ]
requires: requires:
- cypress/install - cypress/install
start: 'npm run start' # start server before running tests
wait-on: 'https://localhost:3000'
## record: true # record results on Cypress Dashboard ## record: true # record results on Cypress Dashboard
## parallel: true # split all specs across machines ## parallel: true # split all specs across machines
## parallelism: 4 # use 4 CircleCI machines to finish quickly ## parallelism: 4 # use 4 CircleCI machines to finish quickly
## group: 'all tests' # name this group "all tests" on the dashboard ## group: 'all tests' # name this group "all tests" on the dashboard
start: 'npm run start' # start server before running tests