View | Details | Raw Unified | Return to bug 33064
Collapse All | Expand All

(-)a/t/cypress/integration/ERM/Searchbar_spec.ts (-4 / +5 lines)
Lines 1-3 Link Here
1
import { mount } from "@cypress/vue";
2
1
describe("Searchbar header changes", () => {
3
describe("Searchbar header changes", () => {
2
4
3
    beforeEach(() => {
5
    beforeEach(() => {
Lines 15-23 describe("Searchbar header changes", () => { Link Here
15
        cy.get("#agreement_search_tab").parent().should("have.class", "active")
17
        cy.get("#agreement_search_tab").parent().should("have.class", "active")
16
    })
18
    })
17
19
18
    it("Default option also applies to licenses", () => {
20
    it("Should change to licenses when in licenses", () => {
19
        cy.visit("/cgi-bin/koha/erm/license");
21
        cy.visit("/cgi-bin/koha/erm/licenses");
20
        cy.get("#agreement_search_tab").parent().should("have.class", "active")
22
        cy.get("#license_search_tab").parent().should("have.class", "active")
21
    })
23
    })
22
24
23
    it("Should change to packages when in local packages", () => {
25
    it("Should change to packages when in local packages", () => {
24
- 

Return to bug 33064