From 289d156eba3cc8ecc693fc445985fa919cb921b6 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 16 Nov 2022 08:59:13 +0100 Subject: [PATCH] Bug 32131: Make sure we login before we restore original pref's value Signed-off-by: Jonathan Druart --- t/cypress/support/commands.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/t/cypress/support/commands.js b/t/cypress/support/commands.js index 3e8f0645147..968d3f09cf8 100644 --- a/t/cypress/support/commands.js +++ b/t/cypress/support/commands.js @@ -59,5 +59,6 @@ Cypress.Commands.add('fetch_initial_ERM_sys_pref_value', () => { }) Cypress.Commands.add('reset_initial_ERM_sys_pref_value', () => { + cy.login("koha", "koha"); cy.set_ERM_sys_pref_value(Cypress.env("initial_ERM_Module_sys_pref_value")); -}) \ No newline at end of file +}) -- 2.25.1