@camunda/e2e-test-suite 0.0.1353 → 0.0.1355
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.
|
@@ -6,6 +6,9 @@ const sleep_1 = require("../../utils/sleep");
|
|
|
6
6
|
const expectLocatorWithRetry_1 = require("../../utils/assertionHelpers/expectLocatorWithRetry");
|
|
7
7
|
const clickLocatorWithRetry_1 = require("../../utils/assertionHelpers/clickLocatorWithRetry");
|
|
8
8
|
const clusterVersions_1 = require("../../utils/clusterVersions");
|
|
9
|
+
// Classic Console renders the status as "Creating"; Camunda Hub's cluster
|
|
10
|
+
// table renders "Creating…" (Unicode ellipsis), which an exact match misses.
|
|
11
|
+
const CREATING_STATUS = /^Creating(…|\.\.\.)?$/;
|
|
9
12
|
class ClusterPage {
|
|
10
13
|
page;
|
|
11
14
|
defaultClusterType = 'G3-Dev';
|
|
@@ -59,7 +62,7 @@ class ClusterPage {
|
|
|
59
62
|
this.createClusterButton = page.getByRole('button', {
|
|
60
63
|
name: 'Create cluster',
|
|
61
64
|
});
|
|
62
|
-
this.clusterCreatingStatusText = page.getByText(
|
|
65
|
+
this.clusterCreatingStatusText = page.getByText(CREATING_STATUS);
|
|
63
66
|
this.clusterHealthyStatusText = page.getByText('Healthy', { exact: true });
|
|
64
67
|
this.clusterHealthyIndicatorSelector = '[class="healthy healthIndicator"]';
|
|
65
68
|
this.clusterGenerationCompleteMessage = page.getByText('Test Cluster is healthy and ready to use');
|
|
@@ -361,12 +364,14 @@ class ClusterPage {
|
|
|
361
364
|
async clickClustersBreadcrumb(clusterName) {
|
|
362
365
|
const clusterRow = this.cluster(clusterName);
|
|
363
366
|
const clusterRowVisible = clusterRow
|
|
364
|
-
.getByText(
|
|
367
|
+
.getByText(CREATING_STATUS)
|
|
365
368
|
.or(clusterRow.getByText('Healthy', { exact: true }));
|
|
366
369
|
try {
|
|
367
370
|
await (0, test_1.expect)(this.clustersBreadcrumb).toBeVisible({ timeout: 60000 });
|
|
368
371
|
await this.clustersBreadcrumb.click({ timeout: 60000 });
|
|
369
|
-
await (0, test_1.expect)(clusterRow.getByText(
|
|
372
|
+
await (0, test_1.expect)(clusterRow.getByText(CREATING_STATUS)).toBeVisible({
|
|
373
|
+
timeout: 30000,
|
|
374
|
+
});
|
|
370
375
|
}
|
|
371
376
|
catch (error) {
|
|
372
377
|
await this.clickClusterBanner();
|
|
@@ -4,7 +4,6 @@ const _setup_1 = require("../../test-setup.js");
|
|
|
4
4
|
const SM_8_10_1 = require("../../fixtures/SM-8.10");
|
|
5
5
|
const test_1 = require("@playwright/test");
|
|
6
6
|
const sleep_1 = require("../../utils/sleep");
|
|
7
|
-
const env_1 = require("../../utils/env");
|
|
8
7
|
const UtilitiesPage_1 = require("../../pages/SM-8.10/UtilitiesPage");
|
|
9
8
|
if (process.env.IS_MIGRATION === 'true') {
|
|
10
9
|
SM_8_10_1.test.describe.configure({ mode: 'parallel' });
|
|
@@ -60,12 +59,13 @@ if (process.env.IS_MIGRATION === 'true') {
|
|
|
60
59
|
});
|
|
61
60
|
// The Optimize assertion is the only part of the migration flow the bug
|
|
62
61
|
// breaks: Operate and Tasklist keep the pre-upgrade instance, while the
|
|
63
|
-
// report the 8.9 smoke test saved is gone after the upgrade.
|
|
64
|
-
//
|
|
65
|
-
//
|
|
62
|
+
// report the 8.9 smoke test saved is gone after the upgrade. Only the
|
|
63
|
+
// Elasticsearch + multi-tenancy upgrade path still loses it; OpenSearch
|
|
64
|
+
// keeps it since camunda/camunda-platform-helm#7461 migrates the Keycloak
|
|
65
|
+
// realm, so the user keeps the id that owns the report.
|
|
66
66
|
// Skipped due to bug #56406: https://github.com/camunda/camunda/issues/56406
|
|
67
67
|
(0, SM_8_10_1.test)('Assert Most Common Flow User Flow Report Migration In Optimize', async ({ page, navigationPage, optimizeHomePage, optimizeCollectionsPage, optimizeReportPage, }) => {
|
|
68
|
-
if (
|
|
68
|
+
if (process.env.IS_MT === 'true') {
|
|
69
69
|
SM_8_10_1.test.skip(true, 'Skipped due to bug #56406: https://github.com/camunda/camunda/issues/56406');
|
|
70
70
|
}
|
|
71
71
|
SM_8_10_1.test.slow();
|