@camunda/e2e-test-suite 0.0.1151 → 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
|
-
|
|
56
|
-
|
|
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
|
-
|
|
25
|
-
|
|
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 });
|