Set timeout

This commit is contained in:
Arnaud 2025-02-25 20:32:09 +01:00
parent 9f87c0ca06
commit 68cddf7eab
No known key found for this signature in database
GPG Key ID: 69D6CE281FCAE663

View File

@ -47,7 +47,7 @@ test("availability navigation buttons", async ({ page }) => {
await page.getByLabel("Total size").fill("19");
await expect(
page.locator("footer .button--outline").first()
).not.toHaveAttribute("disabled");
).not.toHaveAttribute("disabled", { timeout: 3000 });
await page.getByLabel("Duration").click();
await expect(page.locator("footer .button--primary")).toHaveAttribute(
"disabled"