@camunda/e2e-test-suite 0.0.1795 → 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();
|