You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(test): address PR review feedback for Playwright E2E tests
Security improvements:
- Add IP whitelist to Test API (localhost only) to prevent accidental exposure
- Remove redundant @EnableWebSecurity annotation from TestApiSecurityConfig
- Remove /api/test/** from unprotectedURIs (handled by TestApiSecurityConfig)
Code quality fixes:
- Add HTTP error handling to TestApiClient with descriptive error messages
- Fix invalid Playwright selector 'visible=true' in UpdateUserPage
- Remove invalid clear() method calls (fill() clears automatically)
- Fix dialog handler in EventDetailsPage to use waitForEvent for reliability
- Add missing test user cleanup in delete-account tests
- Add missing assertion in change-password test
- Update Playwright version in package.json to match lock file (^1.58.0)
Cleanup:
- Remove unused imports from 10 page object files
- Remove unused variables and imports from 5 test files
- Add warning log when ROLE_USER not found in TestDataController
- Document foreign key constraint handling in deleteTestUser
- Document test DB credentials as acceptable for local-only profile
0 commit comments