Skip to content

test(frontend): validate SignIn return-route handling #2178

Description

@utksh1

Summary

Add routing tests that accept safe internal return paths and reject external or malformed redirect targets.

Scope

  • Suggested file: frontend/src/pages/SignIn.tsx
  • Add or extend a focused frontend unit test.
  • Do not bundle unrelated visual or production changes.

Acceptance criteria

  • The behavior is covered with a deterministic test.
  • The user-visible or accessibility outcome is asserted.
  • Existing tests remain stable.
  • The focused frontend test passes.

Verification

Run the affected Vitest file from frontend/.

Metadata

Metadata

Labels

area:frontendFrontend React/UI workgood first issueFriendly starter issue for first-time contributorslevel:intermediate35 pts difficulty label for moderate contributor PRspriority:lowNice-to-have issue with low urgencytype:testingTesting work category bonus label

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions