mirror of
https://github.com/logos-storage/logos-storage-marketplace-ui.git
synced 2026-01-04 06:23:08 +00:00
Fix test
This commit is contained in:
parent
68cddf7eab
commit
5a2cb42742
@ -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");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user