From 999587f17a66aab33cc15aa3d7ceb1a9229d41b8 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Fri, 11 Jul 2025 14:08:32 +0200 Subject: [PATCH] Bug 40346: Use KOHA_INTRANET_URL for the baseUrl This will prevent the test to reload when the URL changes See https://github.com/cypress-io/cypress/issues/2777 --- cypress.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cypress.config.ts b/cypress.config.ts index fed6e7b97b4..b7bba5408cd 100644 --- a/cypress.config.ts +++ b/cypress.config.ts @@ -12,7 +12,7 @@ export default defineConfig({ return require("./t/cypress/plugins/index.js")(on, config); }, experimentalStudio: true, - baseUrl: "http://localhost:8081", + baseUrl: process.env.KOHA_INTRANET_URL || "http://localhost:8081", specPattern: "t/cypress/integration/**/*.*", supportFile: "t/cypress/support/e2e.js", env: { -- 2.34.1