🩹 Fix flaky test (#766)

This commit is contained in:
Luke Vella 2023-07-17 18:21:10 +01:00 committed by GitHub
parent e16ce8785b
commit b8ce7522dc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -76,7 +76,7 @@ test.describe.serial(() => {
await page.getByText("Continue").click(); await page.getByText("Continue").click();
await expect(page.getByText("No polls")).toBeVisible(); await page.waitForURL("/polls");
}); });
}); });
@ -129,7 +129,7 @@ test.describe.serial(() => {
page.getByText("Click here").click(); page.getByText("Click here").click();
await expect(page.getByText("No polls")).toBeVisible(); await page.waitForURL("/polls");
}); });
test("can login with verification code", async ({ page }) => { test("can login with verification code", async ({ page }) => {
@ -147,7 +147,7 @@ test.describe.serial(() => {
await page.getByText("Continue").click(); await page.getByText("Continue").click();
await expect(page.getByText("No polls")).toBeVisible(); await page.waitForURL("/polls");
}); });
}); });
}); });