Skip to content

Commit 3e1659b

Browse files
committed
test(cypress): fix test after upgrading @testing-library/cypress
1 parent c15d926 commit 3e1659b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cypress/e2e/renderers.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,7 @@ describe("renderers", () => {
470470
cy.get("@editor").clear().type(IMAGE_MARKDOWN);
471471

472472
cy.get("@preview").within(() => {
473-
cy.findAllByRole("img").should("have.length", "5").as("images");
473+
cy.findAllByRole("presentation").should("have.length", "5").as("images");
474474

475475
cy.get("@images")
476476
.eq(0)

0 commit comments

Comments
 (0)