Bug 41336: (follow-up) Fix breadcrumb selector in Cypress test
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> Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
7e7a037f5e
commit
0bc93cf061
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Reference in New Issue