From 93fc233dab0c3dfac3249bc9f8b238464a0d478d Mon Sep 17 00:00:00 2001 From: sean-brydon Date: Tue, 7 May 2024 13:32:54 +0100 Subject: [PATCH] fix: follow correct flow as callback path changed --- apps/web/playwright/impersonation.e2e.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/web/playwright/impersonation.e2e.ts b/apps/web/playwright/impersonation.e2e.ts index a1424f8b9a37f0..41c162acff9abc 100644 --- a/apps/web/playwright/impersonation.e2e.ts +++ b/apps/web/playwright/impersonation.e2e.ts @@ -29,7 +29,8 @@ test.describe("Users can impersonate", async () => { await page.getByTestId("impersonation-submit").click(); // // Wait for sign in to complete - await page.waitForURL("/settings/my-account/profile"); + await page.waitForURL("/event-types"); + await page.goto("/settings/profile"); const stopImpersonatingButton = page.getByTestId("stop-impersonating-button");