@camunda/e2e-test-suite 0.0.1084 → 0.0.1085

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.
@@ -281,7 +281,18 @@ class ClusterDetailsPage {
281
281
  await filterInput.fill(name);
282
282
  }
283
283
  async clickSettingsTab() {
284
- await this.settingsTab.click({ timeout: 60000 });
284
+ // Console paints the cluster-details tab list before it finishes
285
+ // hydrating it, so a click that lands in that window is accepted by
286
+ // Playwright but swallowed by React: the page silently stays on
287
+ // Overview and the caller's next wait (the Authorizations heading in
288
+ // `disableAuthorizations`) burns its full 60s on a tab that was never
289
+ // opened. Re-click until the tab reports itself selected.
290
+ await (0, test_1.expect)(async () => {
291
+ await this.settingsTab.click({ timeout: 60000 });
292
+ await (0, test_1.expect)(this.settingsTab).toHaveAttribute('aria-selected', 'true', {
293
+ timeout: 10000,
294
+ });
295
+ }).toPass({ timeout: 120000, intervals: [1000, 2000, 5000] });
285
296
  }
286
297
  async enableAuthorizations() {
287
298
  await (0, sleep_1.sleep)(5000);
@@ -159,11 +159,12 @@ _8_10_1.test.describe('Optimize Sharing & Export UI Tests @optimize-sharing-aler
159
159
  });
160
160
  (0, _8_10_1.test)('Report offers a CSV download/export action', async ({ appsPage, optimizeHomePage, optimizeSharePage, }) => {
161
161
  await _8_10_1.test.step('Open Optimize from the Camunda apps launcher', async () => {
162
- await appsPage.clickCamundaApps();
163
- await appsPage.clickOptimize(clusterName);
164
- await test_1.expect
165
- .poll(async () => optimizeHomePage.optimizeBanner.isVisible({ timeout: 5000 }), { timeout: 120000 })
166
- .toBe(true);
162
+ // The apps-menu hand-off starts an OIDC round trip, and when
163
+ // Optimize's /sso-callback answers 401 the tab is left on a blank
164
+ // page that never renders the banner. Polling the banner cannot
165
+ // recover that — only re-entering through the apps menu restarts
166
+ // the hand-off — so use the retrying opener instead.
167
+ await appsPage.openOptimizeWithRetry(optimizeHomePage.optimizeBanner, clusterName);
167
168
  });
168
169
  await _8_10_1.test.step('Navigate to the seeded raw-data report', async () => {
169
170
  await optimizeSharePage.openEntityById(baseUrl, 'report', csvReportId);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camunda/e2e-test-suite",
3
- "version": "0.0.1084",
3
+ "version": "0.0.1085",
4
4
  "description": "End-to-end test helpers for Camunda 8",
5
5
  "repository": {
6
6
  "type": "git",