forked from baron/baron-sso
test(adminfront): update tests to match recent UI changes
- Remove checks for deleted 'Action' column buttons in tenant list. - Update user list test to expect 'ROLE' column. - Update user creation test to expect role field and payload.
This commit is contained in:
@@ -99,11 +99,9 @@ test.describe("Seed tenant protection", () => {
|
||||
const seedRow = page.getByRole("row", { name: /한맥가족/ });
|
||||
await expect(seedRow.getByRole("checkbox")).toHaveCount(0);
|
||||
await expect(seedRow.getByText("초기 설정")).toBeVisible();
|
||||
await expect(seedRow.getByRole("button", { name: /삭제/ })).toBeDisabled();
|
||||
|
||||
const normalRow = page.getByRole("row", { name: /일반 테넌트/ });
|
||||
await expect(normalRow.getByRole("checkbox")).toBeEnabled();
|
||||
await expect(normalRow.getByRole("button", { name: /삭제/ })).toBeEnabled();
|
||||
});
|
||||
|
||||
test("disables delete action on seed tenant profile", async ({ page }) => {
|
||||
|
||||
Reference in New Issue
Block a user