Bug 42090: Fix KohaTable/Holdings_spec.ts

I think there has been a mix in the different fixes, and 24.11 diverged
from main

My suggestion here is to use a different column as "Status" is a
specific one

Signed-off-by: Baptiste Wojtkowski <baptiste.wojtkowski@biblibre.com>
This commit is contained in:
Jonathan Druart 2026-03-13 10:03:02 +01:00 committed by Baptiste Wojtkowski
parent 4dae95ad7d
commit e1c88f74ca
No known key found for this signature in database
GPG Key ID: 47A8A13E10BC0D40
1 changed files with 2 additions and 2 deletions

View File

@ -208,7 +208,7 @@ describe("catalogue/detail/holdings_table with items", () => {
// Filters are not displayed
cy.get(`#${table_id} thead tr`).should("have.length", 1);
cy.get(`#${table_id} th`).contains("Status");
cy.get(`#${table_id} th`).contains("Barcode");
cy.get(`#${table_id} th`)
.contains("URL")
.should("not.exist");
@ -223,7 +223,7 @@ describe("catalogue/detail/holdings_table with items", () => {
// Filters are displayed
cy.get(`#${table_id} thead tr`).should("have.length", 2);
cy.get(`#${table_id} th`).contains("Status");
cy.get(`#${table_id} th`).contains("Barcode");
cy.get(`#${table_id} th`)
.contains("URL")
.should("not.exist");