@@ -, +, @@ --- t/cypress/integration/Agreements_spec.ts | 2 +- t/cypress/integration/Licenses_spec.ts | 2 +- t/cypress/integration/Packages_spec.ts | 2 +- t/cypress/integration/Titles_spec.ts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) --- a/t/cypress/integration/Agreements_spec.ts +++ a/t/cypress/integration/Agreements_spec.ts @@ -119,12 +119,12 @@ function get_licenses_to_relate() { describe("Agreement CRUD operations", () => { before(() => { cy.fetch_initial_ERM_sys_pref_value(); + cy.set_ERM_sys_pref_value(true); }); beforeEach(() => { cy.login("koha", "koha"); cy.title().should("eq", "Koha staff interface"); - cy.set_ERM_sys_pref_value(true); }); after(() => { --- a/t/cypress/integration/Licenses_spec.ts +++ a/t/cypress/integration/Licenses_spec.ts @@ -35,12 +35,12 @@ function get_license() { describe("License CRUD operations", () => { before(() => { cy.fetch_initial_ERM_sys_pref_value(); + cy.set_ERM_sys_pref_value(true); }); beforeEach(() => { cy.login("koha", "koha"); cy.title().should("eq", "Koha staff interface"); - cy.set_ERM_sys_pref_value(true); }); after(() => { --- a/t/cypress/integration/Packages_spec.ts +++ a/t/cypress/integration/Packages_spec.ts @@ -26,12 +26,12 @@ function get_package() { describe("Package CRUD operations", () => { before(() => { cy.fetch_initial_ERM_sys_pref_value(); + cy.set_ERM_sys_pref_value(true); }); beforeEach(() => { cy.login("koha", "koha"); cy.title().should("eq", "Koha staff interface"); - cy.set_ERM_sys_pref_value(true); }); after(() => { --- a/t/cypress/integration/Titles_spec.ts +++ a/t/cypress/integration/Titles_spec.ts @@ -69,12 +69,12 @@ function get_packages_to_relate() { describe("Title CRUD operations", () => { before(() => { cy.fetch_initial_ERM_sys_pref_value(); + cy.set_ERM_sys_pref_value(true); }); beforeEach(() => { cy.login("koha", "koha"); cy.title().should("eq", "Koha staff interface"); - cy.set_ERM_sys_pref_value(true); }); after(() => { --