Commit Graph

3 Commits

Author SHA1 Message Date
Matthew Raymer
28c541e682 test(playwright): fix Active Identity migration test element selectors
Fixed failing Playwright tests for Active Identity migration by correcting
DOM element selectors and test expectations.

- Replace basic smoke tests with comprehensive step-by-step debugging tests
- Fix test assertions to expect "Your Identity" heading instead of "Account"
- Update identity switcher element targeting to use `li div` selectors
- Add proper wait conditions for advanced settings visibility
- Enhance switchToUser() utility with better error handling and waits

Resolves issue where tests were clicking wrong elements (QuickNav instead
of identity list items) and expecting incorrect page headings. Tests now
properly verify that identity switching functionality works correctly
with the Active Identity migration.
2025-08-22 13:09:27 +00:00
Matthew Raymer
4ea72162ec fix(active-identity): complete component migration to new Active Identity system
Fixes gift recording functionality by migrating remaining components from
legacy settings.activeDid to new $getActiveDid() method. Migration 004
dropped settings.activeDid column before all components were updated,
causing validation failures in GiftedDialog, OfferDialog, and
OnboardingDialog. Added comprehensive logging to $getActiveDid() method
and HomeView initialization for debugging. Test "Check User 0 can register
a random person" now passes consistently.

- GiftedDialog, OfferDialog, OnboardingDialog use new Active Identity system
- Enhanced logging in PlatformServiceMixin.$getActiveDid() method
- Added debugging logs to HomeView component lifecycle
- Fixed Playwright test navigation and element selectors
2025-08-22 12:10:52 +00:00
Matthew Raymer
552196c18f test: add active identity migration end-to-end testing
- Add comprehensive migration test suite for identity switching
- Include smoke tests for basic page loading and navigation
- Test migration persistence, error handling, and data preservation
- Validate Active Identity façade functionality

Ensures the migration system works correctly across
all phases and maintains data integrity.
2025-08-22 10:40:00 +00:00