diff --git a/playwright.config-local.ts b/playwright.config-local.ts index 32b7f023..e2d63465 100644 --- a/playwright.config-local.ts +++ b/playwright.config-local.ts @@ -21,7 +21,7 @@ export default defineConfig({ /* Retry on CI only */ retries: process.env.CI ? 2 : 0, /* Opt out of parallel tests on CI. */ - workers: 1, + workers: 4, /* Reporter to use. See https://playwright.dev/docs/test-reporters */ reporter: [ ['list'], diff --git a/src/views/ContactAmountsView.vue b/src/views/ContactAmountsView.vue index 233ddbce..75d3fff2 100644 --- a/src/views/ContactAmountsView.vue +++ b/src/views/ContactAmountsView.vue @@ -224,7 +224,8 @@ export default class ContactAmountssView extends Vue { this.contact = contact; const settings = await this.$getSettings(MASTER_SETTINGS_KEY); - this.activeDid = settings?.activeDid || ""; + // Use new Active Identity façade instead of settings.activeDid + this.activeDid = (await this.$getActiveDid()) || ""; this.apiServer = settings?.apiServer || ""; if (this.activeDid && this.contact) { diff --git a/src/views/OnboardMeetingListView.vue b/src/views/OnboardMeetingListView.vue index 91dccb3b..0b4301ff 100644 --- a/src/views/OnboardMeetingListView.vue +++ b/src/views/OnboardMeetingListView.vue @@ -174,7 +174,8 @@ export default class OnboardMeetingListView extends Vue { // Load user account settings const settings = await this.$accountSettings(); - this.activeDid = settings?.activeDid || ""; + // Use new Active Identity façade instead of settings.activeDid + this.activeDid = (await this.$getActiveDid()) || ""; this.apiServer = settings?.apiServer || ""; this.firstName = settings?.firstName || ""; this.isRegistered = !!settings?.isRegistered; diff --git a/src/views/OnboardMeetingMembersView.vue b/src/views/OnboardMeetingMembersView.vue index 7e42718b..0b63b4d6 100644 --- a/src/views/OnboardMeetingMembersView.vue +++ b/src/views/OnboardMeetingMembersView.vue @@ -106,7 +106,8 @@ export default class OnboardMeetingMembersView extends Vue { return; } const settings = await this.$accountSettings(); - this.activeDid = settings?.activeDid || ""; + // Use new Active Identity façade instead of settings.activeDid + this.activeDid = (await this.$getActiveDid()) || ""; this.apiServer = settings?.apiServer || ""; this.firstName = settings?.firstName || ""; this.isRegistered = !!settings?.isRegistered; diff --git a/src/views/OnboardMeetingSetupView.vue b/src/views/OnboardMeetingSetupView.vue index 95e87b89..f59fb6a8 100644 --- a/src/views/OnboardMeetingSetupView.vue +++ b/src/views/OnboardMeetingSetupView.vue @@ -349,7 +349,8 @@ export default class OnboardMeetingView extends Vue { this.$notify as Parameters[0], ); const settings = await this.$accountSettings(); - this.activeDid = settings?.activeDid || ""; + // Use new Active Identity façade instead of settings.activeDid + this.activeDid = (await this.$getActiveDid()) || ""; this.apiServer = settings?.apiServer || ""; this.fullName = settings?.firstName || ""; this.isRegistered = !!settings?.isRegistered; diff --git a/src/views/ShareMyContactInfoView.vue b/src/views/ShareMyContactInfoView.vue index faf72ae5..793b7654 100644 --- a/src/views/ShareMyContactInfoView.vue +++ b/src/views/ShareMyContactInfoView.vue @@ -76,7 +76,8 @@ export default class ShareMyContactInfoView extends Vue { async mounted() { const settings = await this.$settings(); - const activeDid = settings?.activeDid; + // Use new Active Identity façade instead of settings.activeDid + const activeDid = await this.$getActiveDid(); if (!activeDid) { this.$router.push({ name: "home" }); }