diff --git a/playwright/widget/test-helpers.ts b/playwright/widget/test-helpers.ts index d0674f8a..2279e20e 100644 --- a/playwright/widget/test-helpers.ts +++ b/playwright/widget/test-helpers.ts @@ -95,7 +95,7 @@ export class TestHelpers { reducedMotion: "reduce", }); const page = await userContext.newPage(); - await page.goto(host + "/#/login"); + await page.goto(host); await page.getByRole("link", { name: "Sign in" }).click(); @@ -103,11 +103,6 @@ export class TestHelpers { await page.getByRole("textbox", { name: "Password" }).fill(PASSWORD); await page.getByRole("button", { name: "Sign in" }).click(); - // 😤For reasons web is staying on an infinite loading page after login, so we reload the page - // Super annoying to have to wait... - await page.waitForTimeout(2000); - await page.reload(); - await expect( page.getByRole("heading", { name: `Welcome ${username}` }), ).toBeVisible();