Description
The Playwright E2E test for the dispute flow navigates to a /logout route that does not exist in the React Router configuration. This would result in a 404 or the NotFound page being displayed instead of actually logging out.
Current Behavior
The test navigates to /logout expecting to log out, but this route is not defined in the router.
Expected Behavior
The test should use the actual logout mechanism:
- Click the user menu/avatar in the navbar
- Click the logout button
- Verify redirect to home/login page
Proposed Fix
- Update the dispute flow test to use the UI logout flow instead of direct navigation
- Alternatively, add a
/logout route that triggers the logout action (if this is a desired pattern)
Affected File
Playwright E2E test file containing the dispute flow test.
Acceptance Criteria
Labels
testing frontend bug
Description
The Playwright E2E test for the dispute flow navigates to a
/logoutroute that does not exist in the React Router configuration. This would result in a 404 or the NotFound page being displayed instead of actually logging out.Current Behavior
The test navigates to
/logoutexpecting to log out, but this route is not defined in the router.Expected Behavior
The test should use the actual logout mechanism:
Proposed Fix
/logoutroute that triggers the logout action (if this is a desired pattern)Affected File
Playwright E2E test file containing the dispute flow test.
Acceptance Criteria
Labels
testingfrontendbug