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

(-)a/t/cypress/integration/t/commands.ts (-1 / +27 lines)
Line 0 Link Here
0
- 
1
describe("visit", () => {
2
    it("should visit staff", () => {
3
        cy.visit("/");
4
        cy.title().should("eq", "Log in to Koha › Koha");
5
    });
6
});
7
8
describe("login", () => {
9
    it("should log in at the staff interface", () => {
10
        cy.login();
11
        cy.title().should("eq", "Koha staff interface");
12
    });
13
});
14
15
describe("visitOpac", () => {
16
    it("should visit OPAC", () => {
17
        cy.visitOpac("/");
18
        cy.title().should("eq", "Koha online catalog");
19
    });
20
});
21
22
describe("loginOpac", () => {
23
    it("should log in at the OPAC interface", () => {
24
        cy.loginOpac();
25
        cy.title().should("eq", "Your summary › Koha online catalog");
26
    });
27
});

Return to bug 40346