@camunda/e2e-test-suite 0.0.1128 → 0.0.1129

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.
@@ -183,7 +183,16 @@ class ModelerHomePage {
183
183
  this.licenseKeyTagCommercial = page.getByText('Commercial license');
184
184
  this.uploadFilesButton = page.getByRole('menuitem', { name: 'Upload files' });
185
185
  this.messageBanner = page.locator('[data-test="close-top-banner"]');
186
- this.closeButton = page.getByRole('button', { name: 'Got it - Dismiss' });
186
+ // The "New features" release modal is a Carbon ComposedModal. When it opens
187
+ // over another always-rendered modal its wrapper carries aria-hidden="true",
188
+ // which drops its buttons from the accessibility tree -- getByRole then never
189
+ // matches and the modal is never dismissed, deadlocking waitForModelerReady.
190
+ // Fall back to a CSS `button` locator (which ignores the accessibility tree)
191
+ // so the visible-but-aria-hidden dismiss control is still found and clicked.
192
+ this.closeButton = page
193
+ .getByRole('button', { name: 'Got it - Dismiss' })
194
+ .or(page.locator('button').filter({ hasText: 'Got it - Dismiss' }))
195
+ .first();
187
196
  this.modalCloseButton = page.locator('.cds--modal.is-visible .cds--modal-close');
188
197
  // exact:true — the Workspaces overview "Create workspace" split button has a
189
198
  // sibling options chevron whose name would otherwise substring-match.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camunda/e2e-test-suite",
3
- "version": "0.0.1128",
3
+ "version": "0.0.1129",
4
4
  "description": "End-to-end test helpers for Camunda 8",
5
5
  "repository": {
6
6
  "type": "git",