@camunda/e2e-test-suite 0.0.1388 → 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
|
|
@@ -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,
|