@camunda/e2e-test-suite 0.0.1348 → 0.0.1350
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.
|
@@ -323,7 +323,10 @@ class ClusterPage {
|
|
|
323
323
|
// (the whole app shell does, once a second row carries the same name),
|
|
324
324
|
// which turns this wait into a strict-mode violation.
|
|
325
325
|
const clusterRow = this.clusterRow(clusterName);
|
|
326
|
-
|
|
326
|
+
// Hub's clusters table renders the status as "Creating…" (U+2026) in a
|
|
327
|
+
// single span, so an exact 'Creating' never matches there; accept the
|
|
328
|
+
// bare label and both ellipsis forms.
|
|
329
|
+
const creatingRow = clusterRow.getByText(/^Creating(…|\.\.\.)?$/);
|
|
327
330
|
const clusterRowVisible = creatingRow.or(clusterRow.getByText('Healthy', { exact: true }));
|
|
328
331
|
try {
|
|
329
332
|
await (0, test_1.expect)(this.clustersBreadcrumb).toBeVisible({ timeout: 60000 });
|
|
@@ -177,8 +177,13 @@ api_1.test.describe('User tasks', () => {
|
|
|
177
177
|
(0, api_1.test)('searches the variables visible to a task', async ({ api, resources }) => {
|
|
178
178
|
const { userTaskKey, processInstanceKey } = await startUserTask(api, resources);
|
|
179
179
|
resources.track('processInstance', processInstanceKey);
|
|
180
|
-
|
|
181
|
-
|
|
180
|
+
// `startUserTask` only waits for the user-task index. This endpoint also
|
|
181
|
+
// resolves the task's element instance, which lands in a separate index, so
|
|
182
|
+
// a user task that is already searchable can still 404 here.
|
|
183
|
+
await (0, eventually_1.eventually)(async () => {
|
|
184
|
+
const response = await api.post('/user-tasks/{userTaskKey}/variables/search', { params: { userTaskKey }, body: { filter: {} } });
|
|
185
|
+
await (0, assertions_1.assertPaginated)(response);
|
|
186
|
+
});
|
|
182
187
|
});
|
|
183
188
|
(0, api_1.test)('reports no linked form for a task without one', async ({ api, resources, }) => {
|
|
184
189
|
const { userTaskKey, processInstanceKey } = await startUserTask(api, resources);
|