@camunda/e2e-test-suite 0.0.1716 → 0.0.1717
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.
|
@@ -24,16 +24,22 @@ class OperateProcessesPage {
|
|
|
24
24
|
this.page = page;
|
|
25
25
|
this.processResultCount = page.getByTestId('result-count');
|
|
26
26
|
this.processesTabLink = page.getByRole('link', { name: 'Processes' });
|
|
27
|
-
//
|
|
28
|
-
//
|
|
29
|
-
//
|
|
30
|
-
//
|
|
31
|
-
|
|
32
|
-
|
|
27
|
+
// Select the state-filter checkboxes by their accessible name rather than a
|
|
28
|
+
// raw element id. The 8.11 Operate UI (orchestration-cluster-webapp) renders
|
|
29
|
+
// these with `id="filter-active"`/`"filter-completed"`/`"filter-incidents"`,
|
|
30
|
+
// while the legacy Operate the nightly still deploys uses `active`/
|
|
31
|
+
// `completed`/`incidents`; the role+name locator matches both, mirroring the
|
|
32
|
+
// product's own Operate e2e suite.
|
|
33
|
+
this.processActiveCheckbox = page.getByRole('checkbox', { name: 'Active' });
|
|
34
|
+
this.processCompletedCheckbox = page.getByRole('checkbox', {
|
|
35
|
+
name: 'Completed',
|
|
36
|
+
});
|
|
33
37
|
this.processRunningInstancesCheckbox = page
|
|
34
38
|
.getByTestId('filter-running-instances')
|
|
35
39
|
.getByRole('checkbox');
|
|
36
|
-
this.processIncidentsCheckbox = page.
|
|
40
|
+
this.processIncidentsCheckbox = page.getByRole('checkbox', {
|
|
41
|
+
name: 'Incidents',
|
|
42
|
+
});
|
|
37
43
|
this.processPageHeading = page
|
|
38
44
|
.getByTestId('expanded-panel')
|
|
39
45
|
.getByRole('heading', { name: 'Process' });
|