@camunda/e2e-test-suite 0.0.904 → 0.0.905
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.
|
@@ -368,6 +368,18 @@ class ModelerCreatePage {
|
|
|
368
368
|
await (0, test_1.expect)(this.dialog).toBeVisible({
|
|
369
369
|
timeout: 30000,
|
|
370
370
|
});
|
|
371
|
+
const modelerClusterName = process.env.MODELER_CLUSTER_NAME;
|
|
372
|
+
if (modelerClusterName) {
|
|
373
|
+
const clusterSelect = this.dialog.getByRole('combobox', {
|
|
374
|
+
name: 'Select a cluster',
|
|
375
|
+
});
|
|
376
|
+
await clusterSelect.click();
|
|
377
|
+
const escapedClusterName = modelerClusterName.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
|
|
378
|
+
await this.dialog
|
|
379
|
+
.getByText(new RegExp(`^${escapedClusterName}(?: \\(|$)`))
|
|
380
|
+
.click();
|
|
381
|
+
await (0, test_1.expect)(clusterSelect).toContainText(modelerClusterName);
|
|
382
|
+
}
|
|
371
383
|
if (variables.length > 0) {
|
|
372
384
|
await (0, test_1.expect)(this.variableInput).toBeVisible({
|
|
373
385
|
timeout: 60000,
|