@camunda/e2e-test-suite 0.0.826 → 0.0.828

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.
@@ -66,14 +66,12 @@ _8_9_1.test.describe.parallel('RBA Enabled User Flows Test @tasklistV1', () => {
66
66
  await ocIdentityAuthorizationsPage.clickAuthorizationTab();
67
67
  await ocIdentityAuthorizationsPage.createAuthorization((0, roleAuthorizations_1.authorizationAllPermissions)(role));
68
68
  });
69
- await _8_9_1.test.step('Clear cookies and reset session', async () => {
70
- await page.context().clearCookies();
71
- await page.evaluate(() => {
72
- localStorage.clear();
73
- sessionStorage.clear();
74
- });
75
- await page.goto('/');
76
- await loginPage.loginWithTestUser(testUser);
69
+ await _8_9_1.test.step('Log out and log in as Test User', async () => {
70
+ await appsPage.clickCamundaApps();
71
+ await appsPage.clickConsoleLink();
72
+ await settingsPage.clickOpenSettingsButton();
73
+ await settingsPage.clickLogoutButton();
74
+ await (0, UtilitiesPage_1.loginWithRetry)(page, loginPage, testUser, 1000);
77
75
  });
78
76
  await _8_9_1.test.step('Navigate to Web Modeler', async () => {
79
77
  await appsPage.clickCamundaApps();
@@ -105,13 +103,9 @@ _8_9_1.test.describe.parallel('RBA Enabled User Flows Test @tasklistV1', () => {
105
103
  await (0, sleep_1.sleep)(20000);
106
104
  });
107
105
  await _8_9_1.test.step('Login as Test User', async () => {
108
- await page.context().clearCookies();
109
- await page.evaluate(() => {
110
- localStorage.clear();
111
- sessionStorage.clear();
112
- });
113
- await page.goto('/');
114
- await loginPage.loginWithTestUser(testUser);
106
+ await settingsPage.clickOpenSettingsButton();
107
+ await settingsPage.clickLogoutButton();
108
+ await (0, UtilitiesPage_1.loginWithRetry)(page, loginPage, testUser, 1000);
115
109
  });
116
110
  await _8_9_1.test.step('Navigate to Tasklist and Make Sure that the Two Deployed Processes Are Accessible', async () => {
117
111
  await appsPage.clickCamundaApps();
@@ -138,5 +138,12 @@ async function waitForClusterHealthyViaApi(page, clusterUuid, timeoutMs = 150000
138
138
  const cluster = data.data ?? data;
139
139
  (0, test_1.expect)(cluster.status?.ready).toBe('Healthy');
140
140
  }).toPass({ timeout: timeoutMs, intervals: [30000, 60000] });
141
+ // The cluster reports "Healthy" as soon as its infrastructure is up, but
142
+ // orchestration-cluster authorization and job/task distribution can take
143
+ // a bit longer to finish propagating on a just-created cluster (the same
144
+ // class of delay 8.8's runProcessInstance() already retries around for
145
+ // migrations). Give it a short buffer before handing control back, so the
146
+ // first real test action isn't the thing racing that propagation window.
147
+ await (0, sleep_1.sleep)(60000);
141
148
  }
142
149
  exports.waitForClusterHealthyViaApi = waitForClusterHealthyViaApi;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camunda/e2e-test-suite",
3
- "version": "0.0.826",
3
+ "version": "0.0.828",
4
4
  "description": "End-to-end test helpers for Camunda 8",
5
5
  "repository": {
6
6
  "type": "git",