From 6a3aae8a8cb0e79f8a7521296cf952171bac2f7e Mon Sep 17 00:00:00 2001 From: Kunal Date: Sun, 8 Feb 2026 14:00:01 +0000 Subject: [PATCH] e2e: /activity smoke expects redirect to sign-in when signed out --- frontend/cypress/e2e/activity_smoke.cy.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/frontend/cypress/e2e/activity_smoke.cy.ts b/frontend/cypress/e2e/activity_smoke.cy.ts index 447c040b..ae60a51a 100644 --- a/frontend/cypress/e2e/activity_smoke.cy.ts +++ b/frontend/cypress/e2e/activity_smoke.cy.ts @@ -1,7 +1,6 @@ describe("/activity page", () => { - it("loads without crashing", () => { + it("signed-out user is redirected to sign-in", () => { cy.visit("/activity"); - // In secretless/unsigned state, UI should render the signed-out prompt. - cy.contains(/sign in to view the feed/i).should("be.visible"); + cy.location("pathname", { timeout: 20_000 }).should("match", /\/sign-in/); }); });