Bugzilla – Attachment 183982 Details for
Bug 40346
Allow Cypress to test OPAC
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 40346: Use KOHA_INTRANET_URL for the baseUrl
Bug-40346-Use-KOHAINTRANETURL-for-the-baseUrl.patch (text/plain), 985 bytes, created by
Jonathan Druart
on 2025-07-11 12:12:24 UTC
(
hide
)
Description:
Bug 40346: Use KOHA_INTRANET_URL for the baseUrl
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2025-07-11 12:12:24 UTC
Size:
985 bytes
patch
obsolete
>From 999587f17a66aab33cc15aa3d7ceb1a9229d41b8 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 40346
:
183972
|
183973
| 183982