@camunda/e2e-test-suite 0.0.1386 → 0.0.1388
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.
|
@@ -18,7 +18,16 @@ class TaskPanelPage {
|
|
|
18
18
|
processesInfoText;
|
|
19
19
|
constructor(page) {
|
|
20
20
|
this.page = page;
|
|
21
|
-
|
|
21
|
+
// The task-list wrapper's `title="Available tasks"` was removed on
|
|
22
|
+
// camunda/camunda `main` (8.11-SNAPSHOT) by #65074 ("truncate long task
|
|
23
|
+
// card labels instead of overflowing the panel"), so
|
|
24
|
+
// `getByTitle('Available tasks')` matches nothing on the redesigned shell
|
|
25
|
+
// 8.11 serves and every openTask/completeTask scoped through it times out.
|
|
26
|
+
// The `<section aria-label="Tasks side panel">` that wraps the panel is
|
|
27
|
+
// present on both shells -- it is what the product's own
|
|
28
|
+
// qa/c8-orchestration-cluster-e2e-test-suite TaskPanelPage now anchors on
|
|
29
|
+
// (pages/SM-8.10 was migrated for the same reason).
|
|
30
|
+
this.availableTasks = page.getByRole('region', { name: 'Tasks side panel' });
|
|
22
31
|
// 8.10 still serves Tasklist on the Carbon shell, so filtering lives in
|
|
23
32
|
// the collapsible filter panel: the collapsed rail carries the expand
|
|
24
33
|
// control (aria-controls="task-nav-bar") and the expanded nav lists each
|
|
@@ -19,7 +19,9 @@ class TaskProcessesPage {
|
|
|
19
19
|
this.popupContinueButton = page.getByRole('button', { name: 'Continue' });
|
|
20
20
|
this.popup = page.getByLabel('Start your process on demand');
|
|
21
21
|
this.processes = page.locator('[data-testid="process-tile"]');
|
|
22
|
-
|
|
22
|
+
// 8.11 dropped the `title="Available tasks"` wrapper (see TaskPanelPage);
|
|
23
|
+
// anchor on the `<section aria-label="Tasks side panel">` instead.
|
|
24
|
+
this.availableTasks = page.getByRole('region', { name: 'Tasks side panel' });
|
|
23
25
|
this.waitingForTasksText = this.page.getByText('Waiting for tasks...');
|
|
24
26
|
this.searchProcessesSearchbox = page.getByRole('searchbox', {
|
|
25
27
|
name: 'Search processes',
|
|
@@ -79,7 +81,7 @@ class TaskProcessesPage {
|
|
|
79
81
|
// `queryUserTasks({processInstanceKey})` every second under a hard
|
|
80
82
|
// `TASKS_TIMEOUT: 15000`; when that elapses the machine goes straight to
|
|
81
83
|
// `Succeeded` and performs no navigation at all, leaving the browser on the
|
|
82
|
-
// Processes page -- which never renders the
|
|
84
|
+
// Processes page -- which never renders the tasks side panel. On
|
|
83
85
|
// these long-lived SaaS RBA clusters the exporter routinely lags past 15s,
|
|
84
86
|
// so waiting 90s for a redirect the product gave up on after 15 can only
|
|
85
87
|
// time out. Open the Tasks view ourselves when the redirect did not happen;
|