@camunda/e2e-test-suite 0.0.1215 → 0.0.1217

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.
@@ -37,9 +37,13 @@ class OptimizeHomePage {
37
37
  .getByRole('link', { name: 'Collections' });
38
38
  this.dashboardLink = page.getByRole('link', { name: 'Dashboards' });
39
39
  this.modalCloseButton = page.locator('button').filter({ hasText: /^Close$/ });
40
- this.optimizeBanner = page.getByRole('link', {
41
- name: 'Camunda logo Optimize',
42
- });
40
+ // Optimize's Design System navigation ("nav V2") renders the logo link as
41
+ // "Camunda Optimize"; the legacy header used "Camunda logo Optimize" and
42
+ // stays available as a fallback, so match either so the banner gate works
43
+ // whichever navigation is served (mirrors OperateHomePage.operateBanner).
44
+ this.optimizeBanner = page
45
+ .getByRole('link', { name: 'Camunda logo Optimize' })
46
+ .or(page.getByRole('link', { name: 'Camunda Optimize' }));
43
47
  this.noPermissionsMessage = page.getByText('default backend - 404');
44
48
  }
45
49
  // The Optimize process overview renders a bounded slice of the definition
@@ -115,7 +115,9 @@ class ModelerCreatePage {
115
115
  .first();
116
116
  this.processIdInput = page.getByLabel('ID', { exact: true });
117
117
  this.elemendIdInput = page.getByLabel('ID', { exact: true });
118
- this.startEventElement = page.locator('.djs-hit').first();
118
+ this.startEventElement = page
119
+ .locator('.djs-shape:has(> .djs-visual > circle) > .djs-hit')
120
+ .first();
119
121
  // The improved canvas exposes the append affordance of the selected element
120
122
  // as an overlay indicator ("+" beside the shape) that stands in for the
121
123
  // create pad's call-to-action entry; the `.djs-create-pad-icon` wrapper this
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camunda/e2e-test-suite",
3
- "version": "0.0.1215",
3
+ "version": "0.0.1217",
4
4
  "description": "End-to-end test helpers for Camunda 8",
5
5
  "repository": {
6
6
  "type": "git",