[Koha-bugs] [Bug 32898] Cypress tests are failing
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Feb 20 15:43:07 CET 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32898
--- Comment #21 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 146964
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=146964&action=edit
Bug 32898: Avoid hardcoding user/pass in tests
This patch makes the authentication parameters be configurable through
env. Before this, it was hardcoded to koha/koha, which only works if the
ktd defaults haven't been tweaked.
If no env is defined, it fallsback to koha/koha.
In order to pass the ktd configured params, the tests need to be run
like:
$ yarn cypress run --env KOHA_USER=$KOHA_USER,KOHA_PASS=$KOHA_PASS
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list