@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
- await actionsMenuButton.click();
298
- await this.page
299
- .getByRole('menuitem', { name: collapsedMenuItemName })
300
- .click();
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();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camunda/e2e-test-suite",
3
- "version": "0.0.1795",
3
+ "version": "0.0.1796",
4
4
  "description": "End-to-end test helpers for Camunda 8",
5
5
  "repository": {
6
6
  "type": "git",