@camunda/e2e-test-suite 0.0.1226 → 0.0.1227

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.
@@ -7,12 +7,13 @@ class OptimizeDashboardPage {
7
7
  filterTable;
8
8
  constructor(page) {
9
9
  this.page = page;
10
- // Optimize's nav V2 shell renames the process-overview search input's
11
- // placeholder from "Filter table" to "Search for name...", so the legacy
12
- // placeholder resolves nothing there. Match either.
10
+ // Optimize's Design System EntityList replaced the Carbon table toolbar
11
+ // search (placeholder "Filter table") with a plain input whose placeholder
12
+ // is the `home.search.name` translation, "Search for name...". Match
13
+ // either so the filter resolves on both shells.
13
14
  this.filterTable = page
14
- .getByPlaceholder('Filter table')
15
- .or(page.getByPlaceholder('Search for name'))
15
+ .getByPlaceholder(/Search for name/i)
16
+ .or(page.getByPlaceholder('Filter table'))
16
17
  .first();
17
18
  }
18
19
  async clickFilterTable() {
@@ -14,10 +14,9 @@ class OptimizeHomePage {
14
14
  licenseKeyTagProduction;
15
15
  constructor(page) {
16
16
  this.page = page;
17
- // Nav V2 also moved the app links out of the header and into a sidebar
18
- // (`<nav aria-label="Main navigation">`), so scoping to role=banner
19
- // resolves nothing there. Match the sidebar and keep the legacy
20
- // header-scoped lookup as a fallback so both shells resolve.
17
+ // Optimize's Design System navigation moved Dashboards/Collections out of
18
+ // the top banner into a left sidebar (`<nav aria-label="Main navigation">`),
19
+ // so a banner-scoped link can no longer resolve. Match either shell.
21
20
  this.collectionsLink = page
22
21
  .getByRole('navigation', { name: 'Main navigation' })
23
22
  .getByRole('link', { name: 'Collections' })
@@ -25,10 +24,9 @@ class OptimizeHomePage {
25
24
  .first();
26
25
  this.dashboardLink = page.getByRole('link', { name: 'Dashboard' });
27
26
  this.modalCloseButton = page.getByText('Close', { exact: true });
28
- // Same nav V2 header drift as NavigationPage.optimizePageBanner: the
29
- // Design System logo link is aria-label="Camunda Optimize", so the legacy
30
- // shell's combined "Camunda logo Optimize" name no longer exists. Match
31
- // either shell.
27
+ // See NavigationPage.optimizePageBanner: the Design System header renders
28
+ // the logo as its own anchor labelled "Camunda Optimize", so the legacy
29
+ // combined "Camunda logo Optimize" name is gone. Match either shell.
32
30
  this.optimizeBanner = page
33
31
  .getByRole('link', { name: 'Camunda logo Optimize' })
34
32
  .or(page.getByRole('link', { name: 'Camunda Optimize', exact: true }))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camunda/e2e-test-suite",
3
- "version": "0.0.1226",
3
+ "version": "0.0.1227",
4
4
  "description": "End-to-end test helpers for Camunda 8",
5
5
  "repository": {
6
6
  "type": "git",