From 4df797be8f41e9c0426dd9158c450e1d23713b4d Mon Sep 17 00:00:00 2001 From: Darin Kelkhoff Date: Tue, 15 Nov 2022 20:22:05 -0600 Subject: [PATCH] Add wait-on after start server --- .circleci/config.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 906f500..de3f28a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -35,9 +35,11 @@ workflows: context: [ qqq-maven-registry-credentials ] requires: - cypress/install + start: 'npm run start' # start server before running tests + wait-on: 'https://localhost:3000' ## record: true # record results on Cypress Dashboard ## parallel: true # split all specs across machines ## parallelism: 4 # use 4 CircleCI machines to finish quickly ## group: 'all tests' # name this group "all tests" on the dashboard - start: 'npm run start' # start server before running tests +