|
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 |