forked from trent_larson/crowd-funder-for-time-pwa
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
This commit is contained in:
@@ -43,11 +43,11 @@ test.describe('Active Identity Migration - Smoke Test', () => {
|
||||
|
||||
test('should load home page with active identity without errors', async ({ page }) => {
|
||||
// Navigate to home page (which uses our migrated activeDid logic)
|
||||
await page.goto('./home');
|
||||
await page.goto('./');
|
||||
await page.waitForLoadState('networkidle');
|
||||
|
||||
// Verify page loads without errors
|
||||
await expect(page.locator('h1:has-text("Home")')).toBeVisible();
|
||||
await expect(page.locator('#ViewHeading')).toBeVisible();
|
||||
|
||||
// This test verifies that:
|
||||
// 1. HomeView.vue loads correctly with our migrated activeDid logic
|
||||
|
||||
Reference in New Issue
Block a user