@camunda/e2e-test-suite 0.0.1236 → 0.0.1238
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.
|
@@ -1653,7 +1653,7 @@ class ModelerCreatePage {
|
|
|
1653
1653
|
const configurationOverlay = this.page
|
|
1654
1654
|
.locator('[data-test="test-studio-configuration-overlay"]')
|
|
1655
1655
|
.or(this.page.locator('[data-test="play-configuration-overlay"]'))
|
|
1656
|
-
.or(this.page.getByText('
|
|
1656
|
+
.or(this.page.getByText('Set up environment'))
|
|
1657
1657
|
.first();
|
|
1658
1658
|
const configureTestPanel = this.page.getByTestId('configure-test-panel');
|
|
1659
1659
|
await (0, test_1.expect)(configurationOverlay
|
|
@@ -1076,7 +1076,7 @@ class ModelerCreatePage {
|
|
|
1076
1076
|
}
|
|
1077
1077
|
async completePlayConfiguration() {
|
|
1078
1078
|
const timeout = 30000;
|
|
1079
|
-
// New flow (8.10+): "
|
|
1079
|
+
// New flow (8.10+): "Set up environment" panel with three steps:
|
|
1080
1080
|
// 1. Connect cluster → "Configure environment" modal → select cluster → Save
|
|
1081
1081
|
// 2. Deploy process → wait for success banner
|
|
1082
1082
|
// 3. Configure test case
|
|
@@ -1123,15 +1123,20 @@ class ModelerCreatePage {
|
|
|
1123
1123
|
// clickStartInstanceButton burned its entire retry budget looking for it.
|
|
1124
1124
|
// camunda-hub's "Play" -> "Test Studio" rebrand renamed this container's
|
|
1125
1125
|
// data-test from `play-configuration-overlay` to
|
|
1126
|
-
// `test-studio-configuration-overlay
|
|
1127
|
-
//
|
|
1128
|
-
//
|
|
1129
|
-
//
|
|
1130
|
-
//
|
|
1126
|
+
// `test-studio-configuration-overlay`, and a later build dropped both
|
|
1127
|
+
// container data-test attributes entirely (neither is present in the
|
|
1128
|
+
// failing run's trace DOM), so those two gates now match nothing. The
|
|
1129
|
+
// always-present anchor is the panel's heading, which the current build
|
|
1130
|
+
// renders as "Set up environment" (verb, two words) -- the old
|
|
1131
|
+
// `getByText('Setup environment')` (one word) never matched it and the
|
|
1132
|
+
// whole chain timed out. Match the heading with a spelling-tolerant regex
|
|
1133
|
+
// so a future flip between the two forms cannot re-break the gate, and keep
|
|
1134
|
+
// the legacy data-test attributes for older modeler builds. This locator
|
|
1135
|
+
// means "the setup panel is still on screen".
|
|
1131
1136
|
const configurationOverlay = this.page
|
|
1132
1137
|
.locator('[data-test="test-studio-configuration-overlay"]')
|
|
1133
1138
|
.or(this.page.locator('[data-test="play-configuration-overlay"]'))
|
|
1134
|
-
.or(this.page.getByText(
|
|
1139
|
+
.or(this.page.getByText(/set ?up environment/i))
|
|
1135
1140
|
.first();
|
|
1136
1141
|
const configureTestPanel = this.page.getByTestId('configure-test-panel');
|
|
1137
1142
|
await (0, test_1.expect)(configurationOverlay
|
|
@@ -1199,7 +1204,7 @@ class ModelerCreatePage {
|
|
|
1199
1204
|
}).toPass({ timeout: 90000 });
|
|
1200
1205
|
}
|
|
1201
1206
|
// Step 3: reveal the "Configure test case" section. In the current Test
|
|
1202
|
-
// Studio the "
|
|
1207
|
+
// Studio the "Set up environment" panel is an inline accordion, not a
|
|
1203
1208
|
// blocking overlay -- its heading is always present and step 3 auto-opens
|
|
1204
1209
|
// once deploy completes, rendering ConfigureTestPanel with the Start
|
|
1205
1210
|
// button. Clicking the "Configure test case" accordion heading while it
|