@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
- // Operate 8.11 renamed the Instances States filter inputs from #active /
28
- // #completed / #incidents to #filter-active / #filter-completed /
29
- // #filter-incidents (labels follow via `for=`). Match either id so the
30
- // page object works across Operate builds on both sides of the rename.
31
- this.processActiveCheckbox = page.locator('input#filter-active, input#active');
32
- this.processCompletedCheckbox = page.locator('input#filter-completed, input#completed');
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.locator('input#filter-incidents, input#incidents');
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' });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camunda/e2e-test-suite",
3
- "version": "0.0.1716",
3
+ "version": "0.0.1717",
4
4
  "description": "End-to-end test helpers for Camunda 8",
5
5
  "repository": {
6
6
  "type": "git",