Remove per-spec uncaught-exception swallowing in Cypress E2E tests

Co-Authored-By: Codex <codex@openai.com>
This commit is contained in:
2026-03-08 18:32:48 +08:00
parent 7309c97502
commit 7d368bf0c3
4 changed files with 0 additions and 11 deletions

View File

@@ -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");