@camunda/e2e-test-suite 0.0.1349 → 0.0.1351
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 });
|
|
@@ -323,7 +323,9 @@ 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
|
+
// The 8.11 Console renders the in-progress status as "Creating…" (with
|
|
327
|
+
// an ellipsis), so an exact 'Creating' match never resolves.
|
|
328
|
+
const creatingRow = clusterRow.getByText(/^Creating(…|\.\.\.)?$/);
|
|
327
329
|
const clusterRowVisible = creatingRow.or(clusterRow.getByText('Healthy', { exact: true }));
|
|
328
330
|
try {
|
|
329
331
|
await (0, test_1.expect)(this.clustersBreadcrumb).toBeVisible({ timeout: 60000 });
|
|
@@ -298,13 +298,14 @@ class ClusterPage {
|
|
|
298
298
|
}
|
|
299
299
|
async clickClustersBreadcrumb(clusterName) {
|
|
300
300
|
const clusterRow = this.cluster(clusterName);
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
301
|
+
// Camunda Hub's clusters table renders the in-progress status as
|
|
302
|
+
// "Creating…" (with an ellipsis), so an exact 'Creating' match never hits.
|
|
303
|
+
const creatingStatus = clusterRow.getByText(/^Creating/);
|
|
304
|
+
const clusterRowVisible = creatingStatus.or(clusterRow.getByText('Healthy', { exact: true }));
|
|
304
305
|
try {
|
|
305
306
|
await (0, test_1.expect)(this.clustersBreadcrumb).toBeVisible({ timeout: 60000 });
|
|
306
307
|
await this.clustersBreadcrumb.click({ timeout: 60000 });
|
|
307
|
-
await (0, test_1.expect)(
|
|
308
|
+
await (0, test_1.expect)(creatingStatus).toBeVisible({ timeout: 30000 });
|
|
308
309
|
}
|
|
309
310
|
catch (error) {
|
|
310
311
|
await this.clickClusterBanner();
|