@podman-desktop/tests-playwright 1.25.0-next.202512231026-ece8eb4 → 1.25.0-next.202512231505-a3cea86

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -713,16 +713,14 @@ async function na(i, t) {
713
713
  });
714
714
  }
715
715
  async function g(i, t = "Confirmation", e = !0, n = "Yes", o = "Cancel", r = 1e4, l = !1) {
716
- return s.step("Handle confirmation dialog", async () => {
717
- const c = i.getByRole("dialog", { name: t, exact: !0 });
718
- await y(async () => await c.isVisible(), { timeout: r });
719
- const u = e ? c.getByRole("button", { name: n }) : c.getByRole("button", { name: o });
720
- if (await a(u).toBeEnabled({ timeout: r }), await u.click(), l) {
721
- const h = c.getByRole("button", { name: "Done" });
722
- await a(h).toBeEnabled({ timeout: r }), await h.click();
723
- }
724
- await y(async () => !await c.isVisible(), { timeout: r });
725
- });
716
+ const c = i.getByRole("dialog", { name: t, exact: !0 });
717
+ await y(async () => await c.isVisible(), { timeout: r });
718
+ const u = e ? c.getByRole("button", { name: n }) : c.getByRole("button", { name: o });
719
+ if (await a(u).toBeEnabled({ timeout: r }), await u.click(), l) {
720
+ const h = c.getByRole("button", { name: "Done" });
721
+ await a(h).toBeEnabled({ timeout: r }), await h.click();
722
+ }
723
+ await y(async () => !await c.isVisible(), { timeout: r });
726
724
  }
727
725
  async function bt(i, t, e) {
728
726
  return s.step(`Handle Edit Network dialog for: ${t}`, async () => {