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

(-)a/t/cypress/integration/Suggestions_spec.ts (-1 / +12 lines)
Line 0 Link Here
0
- 
1
describe("Suggestions", () => {
2
    beforeEach(() => {
3
        cy.login();
4
        cy.title().should("eq", "Koha staff interface");
5
    });
6
7
    it("Should sanitize displayby", () => {
8
        cy.visit("/cgi-bin/koha/suggestion/suggestion.pl?displayby=foo");
9
        // Do not 500 and default to "STATUS" if displayby is not valid
10
        cy.get("#displayby").should("have.value", "STATUS");
11
    });
12
});

Return to bug 41593