@@ -, +, @@ is off --- t/cypress/support/commands.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/t/cypress/support/commands.js +++ a/t/cypress/support/commands.js @@ -35,7 +35,7 @@ Cypress.Commands.add('login', (username, password) => { Cypress.Commands.add('set_ERM_sys_pref_value', (enable) => { cy.visit('/cgi-bin/koha/admin/admin-home.pl') cy.get("h4").contains("Global system preferences").click(); - cy.get("a[title^=E-Resource]").contains("E-Resource management").click(); + cy.get("a[title^=E-resource]").contains("E-resource management").click(); cy.get('#pref_ERMModule').then(($select) => { // Only enable if currently disabled, or only disable if currently enabled let sys_pref_value = $select.find(":selected").text().trim(); @@ -52,7 +52,7 @@ Cypress.Commands.add('fetch_initial_ERM_sys_pref_value', () => { cy.login("koha", "koha"); cy.visit('/cgi-bin/koha/admin/admin-home.pl') cy.get("h4").contains("Global system preferences").click(); - cy.get("a[title^=E-Resource]").contains("E-Resource management").click(); + cy.get("a[title^=E-resource]").contains("E-resource management").click(); cy.get('#pref_ERMModule').then(($select) => { Cypress.env('initial_ERM_Module_sys_pref_value', $select.find(":selected").text().trim() == 'Enable'); }) --