The original /products gate test branched on whether the user was signed in. In practice the page always renders NotAuthorized (403) for signed-out sessions, so the test's signed-out branch never matched.
Tighten the assertion to match shipped behaviour. Widen again when M10.1 adds a shared sign-in redirect for protected routes.
Refs: M5.3
The original `/products` gate test branched on whether the user was signed in. In practice the page always renders NotAuthorized (403) for signed-out sessions, so the test's signed-out branch never matched.
Tighten the assertion to match shipped behaviour. Widen again when M10.1 adds a shared sign-in redirect for protected routes.
Refs: M5.3
The original /products gate test expected either a Products heading
(signed-in) or a Sign-in button (signed-out). In practice the page
renders NotAuthorized (403) for any session without the right
org_role, so the second branch never matched and the test failed.
The Sign-in surface is dashboard-only today. Once M10.1 wires a
shared sign-in redirect for protected routes, widen this test.
Refs: M5.3
sharang
merged commit 3310a942f2 into main2026-05-19 15:09:02 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
The original
/productsgate test branched on whether the user was signed in. In practice the page always renders NotAuthorized (403) for signed-out sessions, so the test's signed-out branch never matched.Tighten the assertion to match shipped behaviour. Widen again when M10.1 adds a shared sign-in redirect for protected routes.
Refs: M5.3