@camunda/e2e-test-suite 0.0.1083 → 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
|
-
|
|
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
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
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);
|