Skip to content

Commit

Permalink
adjust selectors for rbac test
Browse files Browse the repository at this point in the history
  • Loading branch information
nilgaar committed Jan 8, 2025
1 parent 7bc7354 commit f007ecc
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions e2e-tests/playwright/e2e/plugins/rbac/rbac.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -266,8 +266,11 @@ test.describe.serial("Test RBAC", () => {
await page.locator(HOME_PAGE_COMPONENTS.searchBar).fill("Guest User");
await page.click('button[aria-label="Remove"]');
await uiHelper.verifyHeading("Users and groups (1 user, 1 group)");
await uiHelper.clickButton("Next");
await uiHelper.clickButton("Next");
await uiHelper.clickByDataTestId("nextButton-1");
await page.waitForSelector(".permission-policies-form", {
state: "visible",
});
await uiHelper.clickByDataTestId("nextButton-2");
await uiHelper.clickButton("Save");
await uiHelper.verifyText(
"Role role:default/test-role1 updated successfully",
Expand Down

0 comments on commit f007ecc

Please sign in to comment.