e2e: /activity smoke expects redirect to sign-in when signed out

This commit is contained in:
Kunal
2026-02-08 14:00:01 +00:00
parent 28ad695340
commit 6a3aae8a8c

View File

@@ -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/);
});
});