From 1ca0030f515219de5a5a0d1fd8290afbe9488a5c Mon Sep 17 00:00:00 2001 From: Juraci Date: Mon, 8 Jul 2024 13:57:55 -0300 Subject: [PATCH] try to run on dev mode --- .github/workflows/cypress.yml | 4 ++-- cypress.config.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cypress.yml b/.github/workflows/cypress.yml index 076207c..91cec69 100644 --- a/.github/workflows/cypress.yml +++ b/.github/workflows/cypress.yml @@ -25,8 +25,8 @@ jobs: with: # Starts web server for E2E tests - replace with your own server invocation # https://docs.cypress.io/guides/continuous-integration/introduction#Boot-your-server - start: npm run build && npm run test:e2e - wait-on: 'http://localhost:4173' # Waits for above + start: npm run dev + wait-on: 'http://localhost:5173' # Waits for above # Records to Cypress Cloud # https://docs.cypress.io/guides/cloud/projects#Set-up-a-project-to-record record: true diff --git a/cypress.config.js b/cypress.config.js index 3065421..f55d13e 100644 --- a/cypress.config.js +++ b/cypress.config.js @@ -4,7 +4,7 @@ export default defineConfig({ projectId: 'sjk5y2', e2e: { specPattern: 'cypress/e2e/**/*.{cy,spec}.{js,jsx,ts,tsx}', - baseUrl: 'http://localhost:4173', + baseUrl: 'http://localhost:5173', defaultCommandTimeout: 10000, }, });