@camunda/e2e-test-suite 0.0.1064 → 0.0.1065
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.
|
@@ -1047,10 +1047,17 @@ class ModelerCreatePage {
|
|
|
1047
1047
|
// 1. Connect cluster → "Configure environment" modal → select cluster → Save
|
|
1048
1048
|
// 2. Deploy process → wait for success banner
|
|
1049
1049
|
// 3. Configure test case
|
|
1050
|
+
// The "Test Studio" rebrand gave this button the stable test id
|
|
1051
|
+
// `test-configuration-deploy-button` (confirmed in the failing run's trace
|
|
1052
|
+
// DOM). Prefer it, and keep the label-scoped locator as a fallback for
|
|
1053
|
+
// older modeler builds that render the button without a test id.
|
|
1050
1054
|
const setupDeployButton = this.page
|
|
1055
|
+
.getByTestId('test-configuration-deploy-button')
|
|
1056
|
+
.or(this.page
|
|
1051
1057
|
.getByText('Deploy process')
|
|
1052
1058
|
.locator('..')
|
|
1053
|
-
.getByRole('button', { name: 'Deploy' })
|
|
1059
|
+
.getByRole('button', { name: 'Deploy' }))
|
|
1060
|
+
.first();
|
|
1054
1061
|
// Both attributes on this button have been renamed by camunda-hub, in
|
|
1055
1062
|
// separate commits: a90fd06 changed the label from "Configure scenario" to
|
|
1056
1063
|
// "Configure test case", and b3958a1649 (#27259, 2026-08-07) then changed
|
|
@@ -1081,7 +1088,18 @@ class ModelerCreatePage {
|
|
|
1081
1088
|
// still about to appear. ConfigureTestPanel returns null for as long as the
|
|
1082
1089
|
// overlay is up, so the Start button never existed and
|
|
1083
1090
|
// clickStartInstanceButton burned its entire retry budget looking for it.
|
|
1084
|
-
|
|
1091
|
+
// camunda-hub's "Play" -> "Test Studio" rebrand renamed this container's
|
|
1092
|
+
// data-test from `play-configuration-overlay` to
|
|
1093
|
+
// `test-studio-configuration-overlay` (confirmed in the failing run's trace
|
|
1094
|
+
// DOM), so the old gate matched nothing and timed out. Anchor on the new
|
|
1095
|
+
// data-test, keep the legacy attribute for older modeler builds, and fall
|
|
1096
|
+
// back to the "Setup environment" panel title. This locator means "the
|
|
1097
|
+
// setup panel is still on screen".
|
|
1098
|
+
const configurationOverlay = this.page
|
|
1099
|
+
.locator('[data-test="test-studio-configuration-overlay"]')
|
|
1100
|
+
.or(this.page.locator('[data-test="play-configuration-overlay"]'))
|
|
1101
|
+
.or(this.page.getByText('Setup environment'))
|
|
1102
|
+
.first();
|
|
1085
1103
|
const configureTestPanel = this.page.getByTestId('configure-test-panel');
|
|
1086
1104
|
await (0, test_1.expect)(configurationOverlay
|
|
1087
1105
|
.or(this.continueToPlayButton)
|