Skip to content

Commit f6f4471

Browse files
authored
test(e2e): fix rbac nightly test on 1.4 (#2445)
* add time for animations * wait for animation to be completed
1 parent d78c1cd commit f6f4471

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

e2e-tests/playwright/e2e/plugins/rbac/rbac.spec.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,10 @@ test.describe.serial("Test RBAC plugin as an admin user", () => {
237237
await page.click(RoleFormPO.selectMember("Jonathon Page"));
238238
await uiHelper.verifyHeading("Users and groups (3 users, 1 group)");
239239
await uiHelper.clickButton("Next");
240+
const addButton = page.getByRole("button", { name: "Add" });
241+
await addButton.waitFor();
240242
await uiHelper.clickButton("Next");
243+
241244
await uiHelper.clickButton("Save");
242245
await uiHelper.verifyText(
243246
"Role role:default/test-role updated successfully",

0 commit comments

Comments
 (0)