diff --git a/adminfront/tests/owners.spec.ts b/adminfront/tests/owners.spec.ts index 171213f7..eea69e9c 100644 --- a/adminfront/tests/owners.spec.ts +++ b/adminfront/tests/owners.spec.ts @@ -83,7 +83,7 @@ test.describe("Tenant Owners Management", () => { test("should list tenant owners", async ({ page }) => { await page.goto("/tenants/tenant-1/permissions"); - await page.waitForLoadState("networkidle"); + await expect(page.locator(".animate-spin").first()).not.toBeVisible(); await expect(page.getByText(/테넌트 소유자|Tenant Owners/)).toBeVisible(); @@ -107,7 +107,7 @@ test.describe("Tenant Owners Management", () => { ); await page.goto("/tenants/tenant-1/permissions"); - await page.waitForLoadState("networkidle"); + await expect(page.locator(".animate-spin").first()).not.toBeVisible(); await page.click(