From 7749458c31bc6036afc827781e5b0a6278258c07 Mon Sep 17 00:00:00 2001 From: ajnart Date: Fri, 17 Jul 2026 14:28:39 +0200 Subject: [PATCH] style(e2e): format custom-widgets e2e test --- e2e/custom-widgets-custom-jsx.spec.ts | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/e2e/custom-widgets-custom-jsx.spec.ts b/e2e/custom-widgets-custom-jsx.spec.ts index 0482e8df1..1cc732430 100644 --- a/e2e/custom-widgets-custom-jsx.spec.ts +++ b/e2e/custom-widgets-custom-jsx.spec.ts @@ -126,17 +126,29 @@ describe("Custom JSX custom widgets", () => { await page.goto(baseUrl); await page.waitForLoadState("networkidle"); - await page.getByRole("button", { name: /edit mode|Edit mode|pencil/iu }).first().click(); + await page + .getByRole("button", { name: /edit mode|Edit mode|pencil/iu }) + .first() + .click(); - await page.getByRole("button", { name: /Add widget|Add item/iu }).first().click(); - await page.getByRole("button", { name: /Custom API|Custom Widget/iu }).first().click(); + await page + .getByRole("button", { name: /Add widget|Add item/iu }) + .first() + .click(); + await page + .getByRole("button", { name: /Custom API|Custom Widget/iu }) + .first() + .click(); const addDialog = page.getByRole("dialog").last(); await addDialog.getByText("Board Widget").first().click(); await expect(page.getByText("Widget definition not found")).not.toBeVisible({ timeout: 10_000 }); - await page.getByRole("button", { name: /edit mode|Edit mode|pencil/iu }).first().click(); + await page + .getByRole("button", { name: /edit mode|Edit mode|pencil/iu }) + .first() + .click(); await page.waitForLoadState("networkidle"); await expect(page.getByText("Board Widget")).toBeVisible({ timeout: 15_000 });