forked from baron/baron-sso
style: apply biome formatting to e2e tests
This commit is contained in:
@@ -89,8 +89,20 @@ test.describe("Bulk Actions and Tree Search", () => {
|
|||||||
json: {
|
json: {
|
||||||
items: [
|
items: [
|
||||||
{ id: "t-1", name: "Main Tenant", slug: "main", type: "COMPANY" },
|
{ 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,
|
total: 3,
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -177,15 +177,21 @@ test.describe("Tenants Management", () => {
|
|||||||
await page.goto("/tenants/parent-1/organization");
|
await page.goto("/tenants/parent-1/organization");
|
||||||
|
|
||||||
await expect(
|
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 });
|
).toBeVisible({ timeout: 20000 });
|
||||||
|
|
||||||
await expect(
|
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();
|
).toBeVisible();
|
||||||
|
|
||||||
await expect(
|
await expect(
|
||||||
page.locator("h3").filter({ hasText: /소속 멤버|Members/i }).first()
|
page
|
||||||
|
.locator("h3")
|
||||||
|
.filter({ hasText: /소속 멤버|Members/i })
|
||||||
|
.first(),
|
||||||
).toBeVisible();
|
).toBeVisible();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user