diff --git a/e2e/availabilities.spec.ts b/e2e/availabilities.spec.ts index a9a7063..0acf9e7 100644 --- a/e2e/availabilities.spec.ts +++ b/e2e/availabilities.spec.ts @@ -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");