From 582591e53259ac925e192bb386cf13a65cf9d834 Mon Sep 17 00:00:00 2001 From: chan Date: Fri, 17 Apr 2026 17:42:41 +0900 Subject: [PATCH] style: apply biome formatting to e2e tests --- adminfront/tests/bulk_actions.spec.ts | 16 ++++++++++++++-- adminfront/tests/tenants.spec.ts | 12 +++++++++--- 2 files changed, 23 insertions(+), 5 deletions(-) diff --git a/adminfront/tests/bulk_actions.spec.ts b/adminfront/tests/bulk_actions.spec.ts index bfd1b36d..afef3fef 100644 --- a/adminfront/tests/bulk_actions.spec.ts +++ b/adminfront/tests/bulk_actions.spec.ts @@ -89,8 +89,20 @@ test.describe("Bulk Actions and Tree Search", () => { json: { items: [ { id: "t-1", name: "Main Tenant", slug: "main", type: "COMPANY" }, - { id: "g-1", name: "Engineering", slug: "eng", parentId: "t-1", type: "USER_GROUP" }, - { id: "g-2", name: "Sales", slug: "sales", parentId: "t-1", type: "USER_GROUP" }, + { + id: "g-1", + name: "Engineering", + slug: "eng", + parentId: "t-1", + type: "USER_GROUP", + }, + { + id: "g-2", + name: "Sales", + slug: "sales", + parentId: "t-1", + type: "USER_GROUP", + }, ], total: 3, }, diff --git a/adminfront/tests/tenants.spec.ts b/adminfront/tests/tenants.spec.ts index 2f5eab8e..dcbe194b 100644 --- a/adminfront/tests/tenants.spec.ts +++ b/adminfront/tests/tenants.spec.ts @@ -177,15 +177,21 @@ test.describe("Tenants Management", () => { await page.goto("/tenants/parent-1/organization"); await expect( - page.locator(".font-bold, h2").filter({ hasText: "Parent Org" }).first() + page.locator(".font-bold, h2").filter({ hasText: "Parent Org" }).first(), ).toBeVisible({ timeout: 20000 }); await expect( - page.locator(".grid .font-bold, .grid .text-sm").filter({ hasText: "Child Team" }).first() + page + .locator(".grid .font-bold, .grid .text-sm") + .filter({ hasText: "Child Team" }) + .first(), ).toBeVisible(); await expect( - page.locator("h3").filter({ hasText: /소속 멤버|Members/i }).first() + page + .locator("h3") + .filter({ hasText: /소속 멤버|Members/i }) + .first(), ).toBeVisible(); }); });