@camunda/e2e-test-suite 0.0.1024 → 0.0.1025

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.
@@ -305,8 +305,16 @@ class ModelerCreatePage {
305
305
  .filter({ hasText: /^Authentication$/ })
306
306
  .first();
307
307
  this.oauthTokenEndpointInput = page.getByLabel('OAuth 2.0 token endpoint');
308
- this.closeDetailsPanel = page.getByTitle('Close Details Panel');
309
- this.openDetailsPanel = page.getByTitle('Open Details Panel');
308
+ // Hub's design-system details panel renders a second close control in its
309
+ // header, titled "Close Details panel" (PanelHeaderDs builds
310
+ // `Close ${title} panel`), which getByTitle also matches because its
311
+ // substring match is case-insensitive -- hence the strict-mode violation.
312
+ // Key on the sidebar toggle's data-test plus its state-dependent title so
313
+ // the locator stays unambiguous and still distinguishes collapse from
314
+ // expand; both attributes are rendered by the legacy and the
315
+ // design-system toggle alike.
316
+ this.closeDetailsPanel = page.locator('[data-test="details-panel-toggle"][title="Close Details Panel"]');
317
+ this.openDetailsPanel = page.locator('[data-test="details-panel-toggle"][title="Open Details Panel"]');
310
318
  }
311
319
  async deployProcessInstance(tenant = '') {
312
320
  await this.clickDeployButton();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camunda/e2e-test-suite",
3
- "version": "0.0.1024",
3
+ "version": "0.0.1025",
4
4
  "description": "End-to-end test helpers for Camunda 8",
5
5
  "repository": {
6
6
  "type": "git",