From 4f58ed8953bb0479bf4c8703e5d47f12f6d9dbb4 Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Fri, 22 May 2026 23:07:47 +0000 Subject: [PATCH] Bug 27826: (RM follow-up) Attempt to fix failing test Signed-off-by: Lucas Gass --- t/cypress/integration/OPAC/SCO_spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/t/cypress/integration/OPAC/SCO_spec.ts b/t/cypress/integration/OPAC/SCO_spec.ts index 16d11d5ab9..4f97f1942b 100644 --- a/t/cypress/integration/OPAC/SCO_spec.ts +++ b/t/cypress/integration/OPAC/SCO_spec.ts @@ -16,10 +16,10 @@ describe("SCO", () => { it("Should not crash if barcode contains '+'", function () { const barcode = `+${this.objects.items[0].item_id}+`; cy.visitOpac("/cgi-bin/koha/sco/sco-main.pl?op=logout"); - cy.get("#patronlogin").type("kkoha"); // FIXME Why is the first character not displayed?? + cy.get("#patronlogin").should("be.visible").type("kkoha"); // FIXME Why is the first character not displayed?? cy.get("#patronpw").type("koha"); cy.get("#mainform button").click(); - cy.get("#barcode").type(barcode); + cy.get("#barcode").should("be.visible").type(barcode); cy.get("#scan_form button[type='submit']").click(); cy.get("div.alert-info") .contains(`Item checked out (${barcode})`)