@camunda/e2e-test-suite 0.0.1177 → 0.0.1179

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.
@@ -64,14 +64,17 @@ class OCIdentityRolesPage {
64
64
  name: SEARCH_MAPPING_RULE_LABEL,
65
65
  }))
66
66
  .first();
67
- // Clicking that trigger opens a Radix popover that portals to <body> as a
68
- // sibling of the dialog, and the editable field is the cmdk <input> inside
69
- // it - the trigger div carries the same role and accessible name but
70
- // swallows key events, so typing at it leaves the query empty. Match the
71
- // popover's input, falling back to the dialog-scoped searchbox that
72
- // pre-design-system builds render instead of the trigger/popover pair.
67
+ // The current design-system modal renders the cmdk <input cmdk-input> inline
68
+ // inside the dialog (data-slot="command-input", role="combobox"), so the
69
+ // trigger and the editable field are the same element - match that input
70
+ // scoped to the dialog. Older builds render a MultiSelect whose trigger div
71
+ // opens a Radix popover that portals to <body> as a sibling of the dialog,
72
+ // with the editable cmdk <input> inside it; that popover input is outside
73
+ // the dialog subtree, so match it page-wide. Pre-design-system builds render
74
+ // a dialog-scoped searchbox instead of either - fall back to that last.
73
75
  this.mappingSearchBox = page
74
76
  .locator('[data-slot="multi-select-content"] input[cmdk-input]')
77
+ .or(this.assignMappingModal.locator('input[cmdk-input]'))
75
78
  .or(this.assignMappingModal.getByRole('searchbox', {
76
79
  name: SEARCH_MAPPING_RULE_LABEL,
77
80
  }))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camunda/e2e-test-suite",
3
- "version": "0.0.1177",
3
+ "version": "0.0.1179",
4
4
  "description": "End-to-end test helpers for Camunda 8",
5
5
  "repository": {
6
6
  "type": "git",