@camunda/e2e-test-suite 0.0.1452 → 0.0.1454

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.
@@ -63,6 +63,17 @@ class OperateHomePage {
63
63
  await (0, clickLocatorWithRetry_1.clickLocatorWithRetry)(this.page, this.processesTab, {
64
64
  totalTimeout: 120000,
65
65
  visibilityTimeout: 30000,
66
+ postAction: async () => {
67
+ // The smoke suite's beforeEach creates a fresh user and assigns it the
68
+ // orchestration-cluster admin role immediately before the flow runs, so
69
+ // the first Operate visit can land before that role has propagated to
70
+ // Operate's authorization check. Operate then renders "You don't have
71
+ // access to this component" and the Processes link is absent, so a bare
72
+ // re-click can never succeed. Reload between attempts so each one
73
+ // re-asks Operate for authorization once the role takes effect — the
74
+ // same recovery the processPageHeading stage below already uses.
75
+ await this.page.reload({ waitUntil: 'domcontentloaded' });
76
+ },
66
77
  });
67
78
  await (0, expectLocatorWithRetry_1.expectLocatorWithRetry)(this.page, this.processPageHeading, {
68
79
  // Defaults (10s per attempt, 60s total) gave the Processes panel less
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camunda/e2e-test-suite",
3
- "version": "0.0.1452",
3
+ "version": "0.0.1454",
4
4
  "description": "End-to-end test helpers for Camunda 8",
5
5
  "repository": {
6
6
  "type": "git",