-
Notifications
You must be signed in to change notification settings - Fork 251
test(frontend): validate SignIn return-route handling #2178
Copy link
Copy link
Open
Labels
area:frontendFrontend React/UI workFrontend React/UI workgood first issueFriendly starter issue for first-time contributorsFriendly starter issue for first-time contributorslevel:intermediate35 pts difficulty label for moderate contributor PRs35 pts difficulty label for moderate contributor PRspriority:lowNice-to-have issue with low urgencyNice-to-have issue with low urgencytype:testingTesting work category bonus labelTesting work category bonus label
Description
Metadata
Metadata
Assignees
Labels
area:frontendFrontend React/UI workFrontend React/UI workgood first issueFriendly starter issue for first-time contributorsFriendly starter issue for first-time contributorslevel:intermediate35 pts difficulty label for moderate contributor PRs35 pts difficulty label for moderate contributor PRspriority:lowNice-to-have issue with low urgencyNice-to-have issue with low urgencytype:testingTesting work category bonus labelTesting work category bonus label
Summary
Add routing tests that accept safe internal return paths and reject external or malformed redirect targets.
Scope
frontend/src/pages/SignIn.tsxAcceptance criteria
Verification
Run the affected Vitest file from
frontend/.