@camunda/e2e-test-suite 0.0.977 → 0.0.979
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.
|
@@ -26,9 +26,15 @@ class NavigationPage {
|
|
|
26
26
|
managementIdentityPageBanner;
|
|
27
27
|
constructor(page) {
|
|
28
28
|
this.page = page;
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
29
|
+
// Operate renders the Design System header (AppHeaderV2) whenever the
|
|
30
|
+
// `navV2Enabled` client config is on -- its home link is
|
|
31
|
+
// aria-label="Camunda Operate" instead of the legacy shell's
|
|
32
|
+
// "Camunda logo Operate" text. Match either so the banner resolves with
|
|
33
|
+
// the flag on or off.
|
|
34
|
+
this.operatePageBanner = page
|
|
35
|
+
.getByRole('link', { name: 'Camunda logo Operate' })
|
|
36
|
+
.or(page.getByRole('link', { name: 'Camunda Operate', exact: true }))
|
|
37
|
+
.first();
|
|
32
38
|
this.modelerPageBanner = page
|
|
33
39
|
.locator('a')
|
|
34
40
|
.filter({ hasText: 'Camunda logoModeler' });
|
|
@@ -21,7 +21,13 @@ class OperateHomePage {
|
|
|
21
21
|
openButton;
|
|
22
22
|
constructor(page) {
|
|
23
23
|
this.page = page;
|
|
24
|
-
|
|
24
|
+
// Same Design System header rollout NavigationPage.operatePageBanner
|
|
25
|
+
// covers: the home link is aria-label="Camunda Operate" once
|
|
26
|
+
// `navV2Enabled` is on, and "Camunda logo Operate" while it is off.
|
|
27
|
+
this.operateBanner = page
|
|
28
|
+
.getByRole('link', { name: 'Camunda logo Operate' })
|
|
29
|
+
.or(page.getByRole('link', { name: 'Camunda Operate', exact: true }))
|
|
30
|
+
.first();
|
|
25
31
|
this.processesTab = page.getByRole('link', {
|
|
26
32
|
name: 'Processes',
|
|
27
33
|
exact: true,
|
|
@@ -13,7 +13,15 @@ class OperateHomePage {
|
|
|
13
13
|
editVariableSpinner;
|
|
14
14
|
constructor(page) {
|
|
15
15
|
this.page = page;
|
|
16
|
-
|
|
16
|
+
// Operate renders the Design System header (AppHeaderV2) whenever the
|
|
17
|
+
// `navV2Enabled` client config is on -- its home link is
|
|
18
|
+
// aria-label="Camunda Operate" instead of the legacy shell's
|
|
19
|
+
// "Camunda logo Operate" text. Match either so the banner resolves with
|
|
20
|
+
// the flag on or off.
|
|
21
|
+
this.operateBanner = page
|
|
22
|
+
.getByRole('link', { name: 'Camunda logo Operate' })
|
|
23
|
+
.or(page.getByRole('link', { name: 'Camunda Operate', exact: true }))
|
|
24
|
+
.first();
|
|
17
25
|
this.processesTab = page.getByRole('link', { name: 'Processes' });
|
|
18
26
|
this.informationDialog = page.getByRole('button', {
|
|
19
27
|
name: 'Close this dialog',
|