This commit is contained in:
Arnaud 2025-02-25 20:34:50 +01:00
parent 68cddf7eab
commit 5a2cb42742
No known key found for this signature in database
GPG Key ID: 69D6CE281FCAE663

View File

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