@camunda/e2e-test-suite 0.0.1152 → 0.0.1153

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.
@@ -52,9 +52,16 @@ class NavigationPage {
52
52
  .and(page.locator(':not([href$="/login"])'))
53
53
  .or(page.locator('a').filter({ hasText: 'Camunda logoModeler' }))
54
54
  .first();
55
- this.tasklistPageBanner = page.getByRole('link', {
56
- name: 'Camunda logo Tasklist',
57
- });
55
+ // Tasklist renders the Design System header since the Carbon shell was
56
+ // deleted -- the logo is its own anchor (aria-label="Camunda logo", with
57
+ // an aria-hidden svg) and "Tasklist" moved into the breadcrumb nav, so
58
+ // the legacy shell's combined "Camunda logo Tasklist" name no longer
59
+ // exists. Match either shell so the banner resolves on both.
60
+ this.tasklistPageBanner = page
61
+ .getByRole('navigation', { name: 'Camunda context' })
62
+ .getByRole('link', { name: 'Tasklist', exact: true })
63
+ .or(page.getByRole('link', { name: 'Camunda logo Tasklist' }))
64
+ .first();
58
65
  this.optimizePageBanner = page.getByRole('link', {
59
66
  name: 'Camunda logo Optimize',
60
67
  });
@@ -21,9 +21,14 @@ class TaskPanelPage {
21
21
  this.filterOptions = page
22
22
  .locator('[aria-label="Filter controls"] li')
23
23
  .filter({ hasText: 'Expand to show filters' });
24
- this.tasklistBanner = page.getByRole('link', {
25
- name: 'Camunda logo Tasklist',
26
- });
24
+ // Same Design System header rollout NavigationPage.tasklistPageBanner
25
+ // covers: "Tasklist" is a breadcrumb link once the Carbon shell is gone,
26
+ // and "Camunda logo Tasklist" while it is still served.
27
+ this.tasklistBanner = page
28
+ .getByRole('navigation', { name: 'Camunda context' })
29
+ .getByRole('link', { name: 'Tasklist', exact: true })
30
+ .or(page.getByRole('link', { name: 'Camunda logo Tasklist' }))
31
+ .first();
27
32
  this.collapseFilter = page.locator('button[aria-controls="task-nav-bar"][aria-expanded="true"]');
28
33
  this.processesPageTab = page.getByRole('link', { name: 'Processes' });
29
34
  this.tasksTab = page.getByRole('link', { name: 'Tasks', exact: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camunda/e2e-test-suite",
3
- "version": "0.0.1152",
3
+ "version": "0.0.1153",
4
4
  "description": "End-to-end test helpers for Camunda 8",
5
5
  "repository": {
6
6
  "type": "git",