From ba053b7abe67554b107978d6cf433ad25e50a461 Mon Sep 17 00:00:00 2001 From: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com> Date: Wed, 29 Apr 2020 16:47:06 +0530 Subject: [PATCH] chore(e2e): update cypress config (#38676) --- .github/workflows/cypress.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/cypress.yml b/.github/workflows/cypress.yml index 89dd85cdc1..667e17e1a5 100644 --- a/.github/workflows/cypress.yml +++ b/.github/workflows/cypress.yml @@ -4,6 +4,8 @@ on: branches: - master - production-** + # This will let us work on cypress config itself + - cypress-** jobs: cypress-run: name: Cypress run @@ -11,7 +13,7 @@ jobs: services: mongodb: image: mongo:3.5.5 -# ports may not be necessary, try without + # ports may not be necessary, try without ports: - 27017:27017 steps: @@ -25,11 +27,11 @@ jobs: uses: cypress-io/github-action@v1 with: build: npm run build -# this should mirror the production build, but for now we're just using the dev -# server and gatsby serve instead (the npm script serve:client needs updating!) + # this should mirror the production build, but for now we're just using the dev + # server and gatsby serve instead (the npm script serve:client needs updating!) start: npm start wait-on: http://localhost:8000 -# the site builds in about 8 minutes, so there is currently 12 minutes of time -# left for testing. + # the site builds in about 8 minutes, so there is currently 12 minutes of time + # left for testing. wait-on-timeout: 1200 config: baseUrl=http://localhost:8000