Skip to content

Commit 3882f29

Browse files
committed
test(cypress): fix cypress selectors after testing library bump
1 parent 10351fe commit 3882f29

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cypress/e2e/renderers.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ describe("renderers", () => {
120120
"https://github.com"
121121
);
122122

123-
cy.findByRole("link", { name: "Custom Title" })
123+
cy.findByRole("link", { name: "Brackets Link with title" })
124124
.should("have.attr", "href", "https://github.com")
125125
.and("have.text", "Brackets Link with title")
126126
.and("have.attr", "title", "Custom Title");
@@ -150,7 +150,7 @@ describe("renderers", () => {
150150
.and("have.attr", "href", "#heading-1")
151151
.and("not.have.attr", "title");
152152

153-
cy.findByRole("link", { name: "Goto heading-2" })
153+
cy.findByRole("link", { name: "heading-2" })
154154
.should("have.text", "heading-2")
155155
.and("have.attr", "title", "Goto heading-2")
156156
.and("have.attr", "href", "#heading-2");

0 commit comments

Comments
 (0)