Remove per-spec uncaught-exception swallowing in Cypress E2E tests
Co-Authored-By: Codex <codex@openai.com>
This commit is contained in:
@@ -6,11 +6,6 @@
|
||||
import { loginWithFixtures } from "../support/intercept";
|
||||
|
||||
describe("404 Not Found Page", () => {
|
||||
beforeEach(() => {
|
||||
// Suppress Navbar error on 404 page (route.matched[1] is null)
|
||||
cy.on("uncaught:exception", () => false);
|
||||
});
|
||||
|
||||
it("displays 404 page for non-existent route", () => {
|
||||
loginWithFixtures();
|
||||
cy.visit("/this-page-does-not-exist");
|
||||
|
||||
Reference in New Issue
Block a user