- Remove all debug and commented-out console.log statements from test files and testUtils
- Ensure test output is clean and maintainable
- No changes to test logic or assertions
- Fix gift recording flow to use correct Person button and Unnamed selection
- Add robust overlay closing loop to handle onboarding/help dialogs
- Fix multiple circle-info-link selector with .first() method
- Use correct aria-label for Copy to Clipboard button
- Improve user registration test to handle missing registration prompts
- 18/20 tests now passing (only API config test remaining)
Clean up verbose console.log statements that were cluttering test output.
The function now performs the same operations without debug noise,
making test runs cleaner and more focused on actual test results.
- Fix font-awesome selector to try multiple variations
- Add detailed logging for contact discovery and DOM elements
- Add screenshot capture when no contacts found
- Add UI state detection (loading, filters)
- Fix TypeScript typing issues for proper null safety
This should help identify why contacts aren't being found during deletion
in the failing Playwright test.
- Add better error handling and logging for gift recording flow
- Add explicit navigation to contacts page before finding gift button
- Add info icon click handling when needed
- Add more comprehensive button detection with multiple selectors
- Add debug logging for page state and navigation
- Add screenshot capture on failures
- Add retry logic with proper state verification
- Fix linter errors in playwright config
The changes help diagnose and handle various UI states that can occur during gift recording, making the tests more reliable especially on Linux.