Remove per-spec uncaught-exception swallowing in Cypress E2E tests
Co-Authored-By: Codex <codex@openai.com>
This commit is contained in:
@@ -8,8 +8,6 @@ import { loginWithFixtures } from "../support/intercept";
|
||||
describe("Discover Map Page", () => {
|
||||
beforeEach(() => {
|
||||
loginWithFixtures();
|
||||
// Suppress Cytoscape rendering errors in headless mode
|
||||
cy.on("uncaught:exception", () => false);
|
||||
cy.visit("/discover/log/297310264/map");
|
||||
cy.wait("@getDiscover");
|
||||
});
|
||||
|
||||
@@ -8,8 +8,6 @@ import { loginWithFixtures } from "../support/intercept";
|
||||
describe("Discover Tab Navigation", () => {
|
||||
beforeEach(() => {
|
||||
loginWithFixtures();
|
||||
// Suppress Cytoscape rendering errors in headless mode
|
||||
cy.on("uncaught:exception", () => false);
|
||||
});
|
||||
|
||||
describe("navigating from Map page", () => {
|
||||
|
||||
@@ -8,8 +8,6 @@ import { loginWithFixtures } from "../support/intercept";
|
||||
describe("Files to Discover Entry Flow", () => {
|
||||
beforeEach(() => {
|
||||
loginWithFixtures();
|
||||
// Suppress Cytoscape rendering errors in headless mode
|
||||
cy.on("uncaught:exception", () => false);
|
||||
cy.visit("/files");
|
||||
cy.wait("@getFiles");
|
||||
});
|
||||
|
||||
@@ -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