@camunda/e2e-test-suite 0.0.1100 → 0.0.1101

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.
@@ -111,15 +111,17 @@ class Authorization {
111
111
  .first();
112
112
  }
113
113
  // The Admin's Authorizations page is migrating onto the new design-system
114
- // shell, which replaces the per-resource-type tabs with a single
115
- // "Authorization type" filter combobox (identity/client ListV2.tsx, gated on
116
- // isNewDesignSystemEnabled). Select the resource type through whichever this
117
- // build renders: click the tab, or open the combobox and pick the option.
114
+ // shell, which replaces the per-resource-type tabs with a single filter
115
+ // combobox (identity/client ListV2.tsx). That combobox's accessible name was
116
+ // renamed from "Authorization type" to "Resource type" in camunda/camunda
117
+ // commit 377b0e3; match either so both image versions resolve. Select the
118
+ // resource type through whichever this build renders: click the tab, or open
119
+ // the combobox and pick the option.
118
120
  async selectResourceType(resourceType, timeout = 60000) {
119
121
  const tab = this.selectResourceTypeTab(resourceType);
120
- const filterCombobox = this.page.getByRole('combobox', {
121
- name: 'Authorization type',
122
- });
122
+ const filterCombobox = this.page
123
+ .getByRole('combobox', { name: 'Resource type' })
124
+ .or(this.page.getByRole('combobox', { name: 'Authorization type' }));
123
125
  await (0, test_1.expect)(tab.or(filterCombobox)).toBeVisible({ timeout });
124
126
  if (await tab.isVisible()) {
125
127
  await tab.click();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camunda/e2e-test-suite",
3
- "version": "0.0.1100",
3
+ "version": "0.0.1101",
4
4
  "description": "End-to-end test helpers for Camunda 8",
5
5
  "repository": {
6
6
  "type": "git",