@camunda/e2e-test-suite 0.0.485 → 0.0.486

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -276,9 +276,16 @@ class OCTenantPage {
276
276
  await this.fillRoleIdSearchBox(roleId, roleIdentifier);
277
277
  await this.clickAssignRoleSubButton();
278
278
  await (0, test_1.expect)(this.page.getByLabel('Assign role')).not.toBeVisible({
279
- timeout: 15000,
279
+ timeout: 30000,
280
280
  });
281
- await (0, test_1.expect)(this.row(roleId)).toBeVisible({ timeout: 15000 });
281
+ // Use retry-with-reload pattern for role visibility (MT operations need time for data replication)
282
+ await (0, test_1.expect)(async () => {
283
+ if (!(await this.row(roleId).isVisible())) {
284
+ await this.page.reload();
285
+ await this.page.waitForLoadState('networkidle');
286
+ }
287
+ await (0, test_1.expect)(this.row(roleId)).toBeVisible({ timeout: 10000 });
288
+ }).toPass({ timeout: 60000, intervals: [5000] });
282
289
  }
283
290
  }
284
291
  exports.OCTenantPage = OCTenantPage;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camunda/e2e-test-suite",
3
- "version": "0.0.485",
3
+ "version": "0.0.486",
4
4
  "description": "End-to-end test helpers for Camunda 8",
5
5
  "repository": {
6
6
  "type": "git",