@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
|
-
//
|
|
116
|
-
//
|
|
117
|
-
//
|
|
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
|
|
121
|
-
name: '
|
|
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();
|