From 11f97d76e64684d232c5d31464bc791b424859c3 Mon Sep 17 00:00:00 2001 From: Gavin Reynolds Date: Thu, 13 Jun 2024 11:49:03 +0100 Subject: [PATCH] localhost -> 127.0.0.1 Signed-off-by: Gavin Reynolds --- .github/workflows/test-workflow.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-workflow.yml b/.github/workflows/test-workflow.yml index 4eb80c171..d12d54c50 100644 --- a/.github/workflows/test-workflow.yml +++ b/.github/workflows/test-workflow.yml @@ -102,7 +102,7 @@ jobs: # Starts web server for E2E tests - replace with your own server invocation # https://docs.cypress.io/guides/continuous-integration/introduction#Boot-your-server start: yarn start - wait-on: 'http://localhost:3000' # Waits for above + wait-on: 'http://127.0.0.1:3000' # Waits for above browser: chrome # Records to Cypress Cloud # https://docs.cypress.io/guides/cloud/projects#Set-up-a-project-to-record @@ -110,7 +110,8 @@ jobs: # Specify Cypress test spec files in each matrix job to deterministically run tests in parallel spec: cypress/e2e/${{ matrix.e2e }} parallel: false # Don't use Cypress in-built parallelization - install: false # Install Cypress only, don't install dependencies + install: true + install-command: yarn --frozen-lockfile --prefer-offline --ignore-optional cache-key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} env: # For recording and parallelization to work you must set your CYPRESS_RECORD_KEY