From 9c8b2dd60f18c6cfb18963ce6e7f11038165c231 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Cohen=20Arazi?= Date: Wed, 3 Dec 2025 10:42:29 -0300 Subject: [PATCH] Bug 41336: (follow-up) Fix breadcrumb selector in Cypress test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The test was looking for .current class but the Vue component uses aria-current="page" attribute instead. Signed-off-by: Tomás Cohen Arazi --- t/cypress/integration/Admin/RecordSources_spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/cypress/integration/Admin/RecordSources_spec.ts b/t/cypress/integration/Admin/RecordSources_spec.ts index 2dfb179632..823031b5ee 100644 --- a/t/cypress/integration/Admin/RecordSources_spec.ts +++ b/t/cypress/integration/Admin/RecordSources_spec.ts @@ -15,7 +15,7 @@ describe("Breadcrumbs tests", () => { cy.get(".breadcrumb-item").eq(2).contains("Record sources"); // use the 'New' button cy.contains("New record source").click(); - cy.get(".current").contains("Add record source"); + cy.get('[aria-current="page"]').contains("Add record source"); cy.get("#breadcrumbs") .contains("Record sources") .should("have.attr", "href") -- 2.50.1 (Apple Git-155)