@camunda/e2e-test-suite 0.0.1387 → 0.0.1389
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` by #65074 ("truncate long task card labels instead
|
|
23
|
+
// of overflowing the panel"), and SaaS 8.10's chromium-v2 Tasklist has now
|
|
24
|
+
// flipped to that redesigned shell (the design-system rollout is per app
|
|
25
|
+
// and still in flight), so `getByTitle('Available tasks')` matched nothing
|
|
26
|
+
// and every openTask/completeTask scoped through it timed out while the task
|
|
27
|
+
// was plainly listed. The `<section aria-label="Tasks side panel">` that
|
|
28
|
+
// wraps the panel is present on both shells -- it is what the product's own
|
|
29
|
+
// qa/c8-orchestration-cluster-e2e-test-suite and pages/SM-8.10 now anchor on.
|
|
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;
|
|
@@ -22,7 +22,13 @@ class TaskPanelPage {
|
|
|
22
22
|
this.page = page;
|
|
23
23
|
this.assignmentTag = page.locator(' header > div').nth(2);
|
|
24
24
|
this.assignToMeButton = page.getByRole('button', { name: 'Assign to me' });
|
|
25
|
-
|
|
25
|
+
// The task list wrapper lost its "Available tasks" title in
|
|
26
|
+
// camunda/camunda 161f4722578 ("remove duplicate tooltips"); the
|
|
27
|
+
// TasksLayoutPage <section aria-label="Tasks side panel"> is the anchor
|
|
28
|
+
// the product's own qa-suite TaskPanelPage now uses.
|
|
29
|
+
this.availableTasks = page.getByRole('region', {
|
|
30
|
+
name: 'Tasks side panel',
|
|
31
|
+
});
|
|
26
32
|
this.completeTaskButton = page.getByRole('button', { name: 'Complete Task' });
|
|
27
33
|
this.emptyTaskMessage = this.emptyTaskMessage = page.getByRole('heading', {
|
|
28
34
|
name: /Task has no variables/i,
|