diff --git a/cypress/e2e/account/update-user-profile.cy.ts b/cypress/e2e/account/update-user-profile.cy.ts index bd304e18..b1143c63 100644 --- a/cypress/e2e/account/update-user-profile.cy.ts +++ b/cypress/e2e/account/update-user-profile.cy.ts @@ -87,7 +87,6 @@ describe('Update User Profile', () => { // Re-open to verify settings were saved cy.log('Step 10: Re-opening Account Settings to verify changes'); - cy.get('[data-testid="workspace-dropdown-trigger"]').click(); cy.get('[data-testid="workspace-dropdown-content"]', { timeout: 5000 }).should('be.visible'); cy.get('[data-testid="account-settings-button"]').click(); cy.wait(1000); diff --git a/src/application/services/js-services/index.ts b/src/application/services/js-services/index.ts index 7fe5ebaa..5995112d 100644 --- a/src/application/services/js-services/index.ts +++ b/src/application/services/js-services/index.ts @@ -361,7 +361,7 @@ export class AFClientService implements AFService { const token = getTokenParsed(); const userId = token?.user?.id; - const user = await getUser(() => APIService.getCurrentUser(), userId, StrategyType.CACHE_AND_NETWORK); + const user = await getUser(() => APIService.getCurrentUser(), userId, StrategyType.NETWORK_ONLY); if (!user) { return Promise.reject(new Error('User not found'));