@camunda/e2e-test-suite 0.0.1156 → 0.0.1157
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.
|
@@ -56,10 +56,15 @@ class NavigationPage {
|
|
|
56
56
|
// deleted -- the logo is its own anchor (aria-label="Camunda logo", with
|
|
57
57
|
// an aria-hidden svg) and "Tasklist" moved into the breadcrumb nav, so
|
|
58
58
|
// the legacy shell's combined "Camunda logo Tasklist" name no longer
|
|
59
|
-
// exists. Match either shell so the banner resolves on both
|
|
59
|
+
// exists. Match either shell so the banner resolves on both, and scope
|
|
60
|
+
// the generic logo-link fallback to Tasklist's orchestration href so it
|
|
61
|
+
// stays aligned with overridden context paths too.
|
|
60
62
|
this.tasklistPageBanner = page
|
|
61
63
|
.getByRole('navigation', { name: 'Camunda context' })
|
|
62
64
|
.getByRole('link', { name: 'Tasklist', exact: true })
|
|
65
|
+
.or(page
|
|
66
|
+
.getByRole('link', { name: 'Camunda logo', exact: true })
|
|
67
|
+
.and(page.locator(`[href$="${NORMALIZED_ORCHESTRATION_CONTEXT_PATH}/tasklist"]`)))
|
|
63
68
|
.or(page.getByRole('link', { name: 'Camunda logo Tasklist' }))
|
|
64
69
|
.first();
|
|
65
70
|
this.optimizePageBanner = page.getByRole('link', {
|