diff --git a/cypress.config.js b/cypress.config.js index 81ccad1..3f2d6e8 100644 --- a/cypress.config.js +++ b/cypress.config.js @@ -18,7 +18,7 @@ module.exports = defineConfig({ viewportWidth: 1280, viewportHeight:720, e2e: { - baseUrl: "http://localhost:5173", + baseUrl: "http://localhost:4173", specPattern: "cypress/e2e/**/*.{cy,spec}.{js,jsx,ts,tsx}", }, includeShadowDom: true, diff --git a/cypress/e2e/pasteUrlLoginRedirect.cy.js b/cypress/e2e/pasteUrlLoginRedirect.cy.js index be03807..8fda038 100644 --- a/cypress/e2e/pasteUrlLoginRedirect.cy.js +++ b/cypress/e2e/pasteUrlLoginRedirect.cy.js @@ -11,7 +11,7 @@ describe('Paste URL login redirect', () => { setupApiIntercepts(); // Visit login page with a return-to query param (base64-encoded URL) - const targetUrl = 'http://localhost:5173/discover/conformance/log/1/conformance'; + const targetUrl = 'http://localhost:4173/discover/conformance/log/1/conformance'; const encodedUrl = btoa(targetUrl); cy.visit(`/login?return-to=${encodedUrl}`);