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

(-)a/t/cypress/integration/KohaTable/Holdings_spec.ts (-20 / +14 lines)
Lines 109-124 describe("catalogue/detail/holdings_table with items", () => { Link Here
109
        });
109
        });
110
    });
110
    });
111
111
112
    afterEach(
112
    afterEach(function () {
113
        () =>
113
        cleanup();
114
            function () {
114
        cy.set_syspref(
115
                cleanup();
115
            "AlwaysShowHoldingsTableFilters",
116
                cy.set_syspref(
116
            this.syspref_AlwaysShowHoldingsTableFilters
117
                    "AlwaysShowHoldingsTableFilters",
117
        );
118
                    this.syspref_AlwaysShowHoldingsTableFilters
118
    });
119
                );
120
            }
121
    );
122
119
123
    it("Correctly init the table", function () {
120
    it("Correctly init the table", function () {
124
        // Do not use `() => {` or this.biblio_id won't be retrieved
121
        // Do not use `() => {` or this.biblio_id won't be retrieved
Lines 502-517 describe("catalogue/detail/holdings_table without items", () => { Link Here
502
        });
499
        });
503
    });
500
    });
504
501
505
    afterEach(
502
    afterEach(function () {
506
        () =>
503
        cleanup();
507
            function () {
504
        cy.set_syspref(
508
                cleanup();
505
            "AlwaysShowHoldingsTableFilters",
509
                cy.set_syspref(
506
            this.syspref_AlwaysShowHoldingsTableFilters
510
                    "AlwaysShowHoldingsTableFilters",
507
        );
511
                    this.syspref_AlwaysShowHoldingsTableFilters
508
    });
512
                );
513
            }
514
    );
515
509
516
    it("Do not display the table", function () {
510
    it("Do not display the table", function () {
517
        // Do not use `() => {` or this.biblio_id won't be retrieved
511
        // Do not use `() => {` or this.biblio_id won't be retrieved
(-)a/t/cypress/integration/KohaTable/PatronSearch_spec.ts (-11 / +7 lines)
Lines 26-41 describe("ExtendedPatronAttributes", () => { Link Here
26
        });
26
        });
27
    });
27
    });
28
28
29
    afterEach(
29
    afterEach(function () {
30
        () =>
30
        cleanup();
31
            function () {
31
        cy.set_syspref(
32
                cleanup();
32
            "ExtendedPatronAttributes",
33
                cy.set_syspref(
33
            this.syspref_ExtendedPatronAttributes
34
                    "ExtendedPatronAttributes",
34
        );
35
                    this.syspref_ExtendedPatronAttributes
35
    });
36
                );
37
            }
38
    );
39
36
40
    const table_id = "memberresultst";
37
    const table_id = "memberresultst";
41
38
42
- 

Return to bug 40168