@camunda/e2e-test-suite 0.0.1794 → 0.0.1796
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.
|
@@ -294,10 +294,17 @@ class OperateProcessInstancePage {
|
|
|
294
294
|
});
|
|
295
295
|
await actionsMenuButton.or(directButton).first().waitFor({ timeout: 30000 });
|
|
296
296
|
if (await actionsMenuButton.isVisible()) {
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
297
|
+
const menuItem = this.page.getByRole('menuitem', {
|
|
298
|
+
name: collapsedMenuItemName,
|
|
299
|
+
});
|
|
300
|
+
// Carbon's MenuButton intermittently drops the first open when the
|
|
301
|
+
// instance header re-renders under load, leaving the flyout unmounted.
|
|
302
|
+
await (0, test_1.expect)(async () => {
|
|
303
|
+
if (!(await menuItem.isVisible())) {
|
|
304
|
+
await actionsMenuButton.click();
|
|
305
|
+
}
|
|
306
|
+
await menuItem.click({ timeout: 5000 });
|
|
307
|
+
}).toPass({ timeout: 30000 });
|
|
301
308
|
return;
|
|
302
309
|
}
|
|
303
310
|
await directButton.click();
|
|
@@ -36,9 +36,13 @@ class TaskPanelPage {
|
|
|
36
36
|
// The old Carbon expandable filter sidebar ([aria-label="Filter
|
|
37
37
|
// controls"], "Expand to show filters") no longer exists on the shadcn
|
|
38
38
|
// UI shipped since camunda/camunda#60894. Filtering is now a single
|
|
39
|
-
// dropdown-trigger button
|
|
40
|
-
//
|
|
41
|
-
|
|
39
|
+
// dropdown-trigger button that opens a menu of filter options -- see
|
|
40
|
+
// filterBy() below. Its accessible name is "Filters: <active filter>"
|
|
41
|
+
// since camunda/camunda 8af15a27882, but the 8.11 SNAPSHOT zip the Windows
|
|
42
|
+
// nightly packages can still ship the older plain "Filters" name.
|
|
43
|
+
this.filterSelectButton = page.getByRole('button', {
|
|
44
|
+
name: /^Filters(: .+)?$/,
|
|
45
|
+
});
|
|
42
46
|
// The header logo's accessible name is now just "Camunda logo" (the old
|
|
43
47
|
// Carbon header appended the product name, "Camunda logo Tasklist").
|
|
44
48
|
this.taskListPageBanner = page.getByRole('link', {
|