@camunda/e2e-test-suite 0.0.631 → 0.0.633

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.
@@ -90,10 +90,22 @@ class IdentityHomePage {
90
90
  }
91
91
  }
92
92
  async selectOptionFromDropdown(option) {
93
+ // The Identity "Assign permissions to application" dialog renders the
94
+ // API list as a Carbon Dropdown rather than a native <select>. Using
95
+ // Locator.selectOption() on the underlying `select` updates the form
96
+ // value but does NOT trigger the Carbon component's React state, so
97
+ // the dropdown stays open and the write/read permission checkboxes
98
+ // are never rendered (observed in nightly run 26612986585 — the
99
+ // dropdown popup was still expanded when the test timed out waiting
100
+ // for the `write:*` label).
101
+ //
102
+ // Open the dropdown and click the option from the listbox so the
103
+ // Carbon handler fires, the popup closes, and the form re-renders
104
+ // with the permission rows.
93
105
  await this.select.click();
94
- await this.select.selectOption({
95
- label: option,
96
- });
106
+ await this.page
107
+ .getByRole('option', { name: option, exact: true })
108
+ .click({ timeout: 10000 });
97
109
  await (0, sleep_1.sleep)(1000);
98
110
  }
99
111
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camunda/e2e-test-suite",
3
- "version": "0.0.631",
3
+ "version": "0.0.633",
4
4
  "description": "End-to-end test helpers for Camunda 8",
5
5
  "repository": {
6
6
  "type": "git",