Bugzilla – Attachment 190114 Details for
Bug 41336
Vue Router warn on Vue datatable pages
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 41336: (follow-up) Fix breadcrumb selector in Cypress test
9c8b2dd.patch (text/plain), 1.33 KB, created by
Tomás Cohen Arazi (tcohen)
on 2025-12-03 13:44:18 UTC
(
hide
)
Description:
Bug 41336: (follow-up) Fix breadcrumb selector in Cypress test
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2025-12-03 13:44:18 UTC
Size:
1.33 KB
patch
obsolete
>From 9c8b2dd60f18c6cfb18963ce6e7f11038165c231 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Tom=C3=A1s=20Cohen=20Arazi?= <tomascohen@theke.io> >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 <tomascohen@theke.io> >--- > 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) >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 41336
:
190077
|
190079
|
190107
|
190108
|
190112
|
190113
| 190114