1
0
forked from baron/baron-sso

test(adminfront): fix failing E2E tests for audit and users

- Relaxed audit log mock route matching to prevent empty state failures
- Fixed strict mode violation on appointment '추가' button by scoping to tabpanel
- Fixed UserDetailPage typescript compilation error during test build
This commit is contained in:
2026-05-29 16:10:01 +09:00
parent 2da470922b
commit 8d2e2c58fe
3 changed files with 8 additions and 8 deletions

View File

@@ -721,7 +721,7 @@ test.describe("User Management", () => {
await expect(page.locator("input#department")).toHaveCount(0);
await expect(page.getByText(/대표 소속/i)).toHaveCount(0);
await page.getByRole("button", { name: /^추가$/i }).click();
await page.getByRole("tabpanel").getByRole("button", { name: /^추가$/i }).click();
await expect(page.getByTestId("appointment-row-0")).toBeVisible();
await expect(
page.getByTestId("appointment-tenant-owner-line-0"),