mirror of
https://github.com/lukevella/rallly.git
synced 2025-06-09 22:21:49 +02:00
🩹 Fix flaky test (#766)
This commit is contained in:
parent
e16ce8785b
commit
b8ce7522dc
1 changed files with 3 additions and 3 deletions
|
@ -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");
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue