@camunda/e2e-test-suite 0.0.1215 → 0.0.1216

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
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.1216",
4
4
  "description": "End-to-end test helpers for Camunda 8",
5
5
  "repository": {
6
6
  "type": "git",