@camunda/e2e-test-suite 0.0.1429 → 0.0.1431

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.
@@ -208,10 +208,15 @@ class AppsPage {
208
208
  // exactly clusterName either, and an exact-equality exclusion would
209
209
  // wrongly treat it as "other" and immediately re-collapse the group this
210
210
  // method just expanded.
211
- const otherExpandedToggles = this.hubSidebar.getByRole('button', {
211
+ // The rail's own "Collapse sidebar" toggle is also an expanded button in
212
+ // this nav: clicking it collapses the rail and takes the inline app links
213
+ // with it, so exclude it.
214
+ const otherExpandedToggles = this.hubSidebar
215
+ .getByRole('button', {
212
216
  expanded: true,
213
217
  name: new RegExp(`^(?!${escapeRegExp(clusterName)}\\b).+$`),
214
- });
218
+ })
219
+ .and(this.page.locator(':not([data-slot="app-sidebar-collapse-toggle"])'));
215
220
  for (let i = 0; i < 5 && (await otherExpandedToggles.count()) > 0; i++) {
216
221
  // Let a failed collapse throw rather than swallowing it: the app link
217
222
  // is intentionally sidebar-wide, so a group left expanded here produces
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camunda/e2e-test-suite",
3
- "version": "0.0.1429",
3
+ "version": "0.0.1431",
4
4
  "description": "End-to-end test helpers for Camunda 8",
5
5
  "repository": {
6
6
  "type": "git",