diff --git a/cypress.config.ts b/cypress.config.ts index e8a4bf5ca9..47e7ca5fff 100644 --- a/cypress.config.ts +++ b/cypress.config.ts @@ -18,8 +18,8 @@ export default defineConfig({ supportFile: "t/cypress/support/e2e.js", env: { opacBaseUrl: process.env.KOHA_OPAC_URL || "http://localhost:8080", - apiUsername: "koha", - apiPassword: "koha", + apiUsername: process.env.KOHA_USER || "koha", + apiPassword: process.env.KOHA_PASS || "koha", }, },