diff --git a/t/cypress/integration/ERM/Searchbar_spec.ts b/t/cypress/integration/ERM/Searchbar_spec.ts index 21bcc181f6..2eb31a8473 100644 --- a/t/cypress/integration/ERM/Searchbar_spec.ts +++ b/t/cypress/integration/ERM/Searchbar_spec.ts @@ -1,3 +1,5 @@ +import { mount } from "@cypress/vue"; + describe("Searchbar header changes", () => { beforeEach(() => { @@ -15,9 +17,9 @@ describe("Searchbar header changes", () => { cy.get("#agreement_search_tab").parent().should("have.class", "active") }) - it("Default option also applies to licenses", () => { - cy.visit("/cgi-bin/koha/erm/license"); - cy.get("#agreement_search_tab").parent().should("have.class", "active") + it("Should change to licenses when in licenses", () => { + cy.visit("/cgi-bin/koha/erm/licenses"); + cy.get("#license_search_tab").parent().should("have.class", "active") }) it("Should change to packages when in local packages", () => {