From b69cdec30ef35049e239ae5e89dc48f1c3e97b8f Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 6 Jan 2026 13:54:47 +0100 Subject: [PATCH] Bug 40816: Fix Auth/csrf.ts --- t/cypress/integration/Auth/csrf.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/t/cypress/integration/Auth/csrf.ts b/t/cypress/integration/Auth/csrf.ts index c24b691d04a..de649d22f80 100644 --- a/t/cypress/integration/Auth/csrf.ts +++ b/t/cypress/integration/Auth/csrf.ts @@ -109,7 +109,7 @@ describe("CSRF", () => { .find(".alert") .contains(/Library added successfully/); - cy.get("select[name='libraries_length']").select("-1"); + cy.get("select.dt-input").select("-1"); cy.get("td").contains(branchcode); cy.task("query", { @@ -127,7 +127,7 @@ describe("CSRF", () => { }); cy.visit("/cgi-bin/koha/admin/branches.pl"); - cy.get("select[name='libraries_length']").select("-1"); + cy.get("select.dt-input").select("-1"); cy.get("#delete_library_" + branchcode).click({ force: true }); // Remove CSRF Token @@ -156,7 +156,7 @@ describe("CSRF", () => { }); cy.visit("/cgi-bin/koha/admin/branches.pl"); - cy.get("select[name='libraries_length']").select("-1"); + cy.get("select.dt-input").select("-1"); cy.get("#delete_library_" + branchcode).click({ force: true }); cy.contains("Yes, delete").click(); -- 2.43.0