mirror of
https://github.com/logos-storage/logos-storage-marketplace-ui.git
synced 2026-01-05 23:13:08 +00:00
Fix tests
This commit is contained in:
parent
5a2cb42742
commit
6ceab52880
@ -36,21 +36,18 @@ test("availability navigation buttons", async ({ page }) => {
|
||||
await page.locator(".availability-edit button").first().click();
|
||||
await expect(page.locator(".stepper-number-done")).not.toBeVisible();
|
||||
await expect(page.locator(".step--active")).toBeVisible();
|
||||
await expect(page.locator("footer .button--primary")).not.toHaveAttribute(
|
||||
"disabled"
|
||||
);
|
||||
await expect(
|
||||
page.locator("footer .button--outline").first()
|
||||
).not.toHaveAttribute("disabled");
|
||||
await page.getByLabel("Total size").click();
|
||||
await expect(
|
||||
page.locator("footer .button--outline").first()
|
||||
).not.toHaveAttribute("disabled");
|
||||
await page.getByLabel("Total size").fill("19");
|
||||
await page.getByLabel("Total size").fill("");
|
||||
await page.getByLabel("Duration").click();
|
||||
|
||||
await expect(page.locator("footer .button--primary")).toHaveAttribute(
|
||||
"disabled",
|
||||
{ timeout: 3000 }
|
||||
);
|
||||
|
||||
await page.getByLabel("Total size").click();
|
||||
await page.getByLabel("Total size").fill("0.5");
|
||||
await page.getByRole("button", { name: "Next" }).click();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user