1
0
forked from baron/baron-sso

style: apply biome formatting to e2e tests

This commit is contained in:
2026-04-17 17:42:41 +09:00
parent ad5a49b62f
commit 582591e532
2 changed files with 23 additions and 5 deletions

View File

@@ -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,
},

View File

@@ -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();
});
});