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:
@@ -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"),
|
||||
|
||||
Reference in New Issue
Block a user