We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a1ca23c commit ab9fedfCopy full SHA for ab9fedf
e2e-tests/playwright/e2e/plugins/rbac/rbac.spec.ts
@@ -274,12 +274,14 @@ test.describe.serial("Test RBAC", () => {
274
let matchNextButton2: Locator[];
275
let attempts = 0;
276
do {
277
- page.waitForTimeout(500);
+ await page.waitForTimeout(500);
278
nextButton2 = page.locator('[data-testid="nextButton-2"]');
279
matchNextButton2 = await nextButton2.all();
280
attempts++;
281
} while (matchNextButton2.length > 1 && attempts < 5);
282
- nextButton2.click();
+ await nextButton2.click({
283
+ force: true,
284
+ });
285
await uiHelper.clickButton("Save");
286
await uiHelper.verifyText(
287
"Role role:default/test-role1 updated successfully",
0 commit comments