Skip to content

Commit 448cf24

Browse files
committed
fix(e2e): increase timeout for flaky orchestrator RBAC admin visibility test
Increase visibility timeout from 10s to 20s in the test that verifies rhdh-qe-2 admin user can see rhdh-qe's workflow instances in the runs list. The test was occasionally timing out at 10s when checking if the instance link becomes visible after admin login. Test: 'rhdh-qe-2 admin user can see rhdh-qe's workflow instance in runs list'
1 parent 8a0328b commit 448cf24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1497,7 +1497,7 @@ test.describe.serial("Test Orchestrator RBAC", () => {
14971497

14981498
// With admin permissions, rhdh-qe-2 should now see the instance
14991499
const instanceLink = page.locator(`a[href*="${workflowInstanceId}"]`);
1500-
await expect(instanceLink).toBeVisible();
1500+
await expect(instanceLink).toBeVisible({ timeout: 20000 });
15011501
});
15021502

15031503
test("rhdh-qe-2 admin user can directly access rhdh-qe's workflow instance URL", async () => {

0 commit comments

Comments
 (0)