Skip to content

Commit 1ee9744

Browse files
committed
test(Page): fix Cypress test for dynamic content error handling
1 parent 984a0d7 commit 1ee9744

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

cypress/e2e/page-content-error.cy.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ describe("Page content error handling", () => {
44
it("renders fallback error message when dynamic content fails", () => {
55
cy.visit("/404");
66

7-
cy.contains("Failed to load page content.").should("exist");
7+
cy.contains("Error loading content.", { timeout: 10000 }).should(
8+
"be.visible",
9+
);
810
});
911
});

0 commit comments

Comments
 (0)