@camunda/e2e-test-suite 0.0.824 → 0.0.826

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.
@@ -37,8 +37,16 @@ class OptimizeDashboardPage {
37
37
  }
38
38
  }
39
39
  async processOwnerNameAssertion(processName, userEmail) {
40
- const maxRetries = 15;
41
- const retryDelay = 60000;
40
+ // Optimize's Process Overview only refreshes its owner data on a page
41
+ // reload (it does not poll in the background), so a long per-attempt
42
+ // assertion timeout just idles against a stale DOM. Poll more frequently
43
+ // instead: a short assertion timeout (enough for the table to render after
44
+ // reload) plus a shorter delay lets us reload roughly every ~55s and catch
45
+ // a slow owner import sooner. The total budget (~23 min) stays safely under
46
+ // the test timeout so a genuine failure surfaces as this clean error rather
47
+ // than an opaque "page closed" test-timeout.
48
+ const maxRetries = 25;
49
+ const retryDelay = 25000;
42
50
  const localPart = userEmail.split('@')[0];
43
51
  const uuid = localPart.replace('qa-user-', '');
44
52
  const result = !uuid ? 'QA Camunda' : `QA User ${uuid}`;
@@ -46,7 +54,7 @@ class OptimizeDashboardPage {
46
54
  try {
47
55
  await (0, test_1.expect)(this.page.getByRole('row', {
48
56
  name: `${processName}\nProcess\n\t${result}`,
49
- })).toBeVisible({ timeout: 90000 });
57
+ })).toBeVisible({ timeout: 20000 });
50
58
  return;
51
59
  }
52
60
  catch (error) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camunda/e2e-test-suite",
3
- "version": "0.0.824",
3
+ "version": "0.0.826",
4
4
  "description": "End-to-end test helpers for Camunda 8",
5
5
  "repository": {
6
6
  "type": "git",