From 70530dadd52175a3a07a7876e993331e938fadb2 Mon Sep 17 00:00:00 2001 From: Abhimanyu Saharan Date: Thu, 12 Feb 2026 11:26:00 +0000 Subject: [PATCH] test(e2e): relax /activity error-state assertion --- frontend/cypress/e2e/activity_feed.cy.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/frontend/cypress/e2e/activity_feed.cy.ts b/frontend/cypress/e2e/activity_feed.cy.ts index 3ccfaf07..71cd6c51 100644 --- a/frontend/cypress/e2e/activity_feed.cy.ts +++ b/frontend/cypress/e2e/activity_feed.cy.ts @@ -119,6 +119,9 @@ describe("/activity feed", () => { assertSignedInAndLanded(); cy.wait("@activityList", { timeout: 20_000 }); - cy.contains(/unable to load activity feed/i).should("be.visible"); + // Depending on how ApiError is surfaced, we may show a generic or specific message. + cy.contains(/unable to load activity feed|unable to load feed|boom/i).should( + "be.visible", + ); }); });