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
Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 3ba5e7863c)
Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
This commit is contained in:
parent
21c3d61b03
commit
0810cc3b7a
|
|
@ -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: {
|
||||
|
|
|
|||
Loading…
Reference in New Issue