@camunda/e2e-test-suite 0.0.923 → 0.0.924
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.
|
@@ -1197,12 +1197,20 @@ class ModelerCreatePage {
|
|
|
1197
1197
|
.getByText('Deploy process')
|
|
1198
1198
|
.locator('..')
|
|
1199
1199
|
.getByRole('button', { name: 'Deploy' });
|
|
1200
|
-
//
|
|
1201
|
-
//
|
|
1202
|
-
// test
|
|
1203
|
-
//
|
|
1204
|
-
//
|
|
1205
|
-
|
|
1200
|
+
// Both attributes on this button have been renamed by camunda-hub, in
|
|
1201
|
+
// separate commits: a90fd06 changed the label from "Configure scenario" to
|
|
1202
|
+
// "Configure test case", and b3958a1649 (#27259, 2026-08-07) then changed
|
|
1203
|
+
// the test id from `play-configuration-configure-scenario-button` to
|
|
1204
|
+
// `configure-test-case-button`. Match current test id, then pre-rename test
|
|
1205
|
+
// id, then either label, so a further rename of any single attribute cannot
|
|
1206
|
+
// break the step.
|
|
1207
|
+
const configureScenarioButton = this.page
|
|
1208
|
+
.getByTestId('configure-test-case-button')
|
|
1209
|
+
.or(this.page.getByTestId('play-configuration-configure-scenario-button'))
|
|
1210
|
+
.or(this.page.getByRole('button', {
|
|
1211
|
+
name: /^Configure (test case|scenario)$/,
|
|
1212
|
+
}))
|
|
1213
|
+
.first();
|
|
1206
1214
|
// Wait up to 15s for EITHER the new-flow setup panel OR the legacy Continue
|
|
1207
1215
|
// button to appear. Using .or() avoids separate sequential timeouts that would
|
|
1208
1216
|
// both expire before the page finishes loading on a slow cluster.
|
|
@@ -1049,10 +1049,20 @@ class ModelerCreatePage {
|
|
|
1049
1049
|
.getByText('Deploy process')
|
|
1050
1050
|
.locator('..')
|
|
1051
1051
|
.getByRole('button', { name: 'Deploy' });
|
|
1052
|
-
//
|
|
1053
|
-
//
|
|
1054
|
-
//
|
|
1055
|
-
|
|
1052
|
+
// Both attributes on this button have been renamed by camunda-hub, in
|
|
1053
|
+
// separate commits: a90fd06 changed the label from "Configure scenario" to
|
|
1054
|
+
// "Configure test case", and b3958a1649 (#27259, 2026-08-07) then changed
|
|
1055
|
+
// the test id from `play-configuration-configure-scenario-button` to
|
|
1056
|
+
// `configure-test-case-button`. Match current test id, then pre-rename test
|
|
1057
|
+
// id, then either label, so a further rename of any single attribute cannot
|
|
1058
|
+
// break the step.
|
|
1059
|
+
const configureScenarioButton = this.page
|
|
1060
|
+
.getByTestId('configure-test-case-button')
|
|
1061
|
+
.or(this.page.getByTestId('play-configuration-configure-scenario-button'))
|
|
1062
|
+
.or(this.page.getByRole('button', {
|
|
1063
|
+
name: /^Configure (test case|scenario)$/,
|
|
1064
|
+
}))
|
|
1065
|
+
.first();
|
|
1056
1066
|
// Wait up to 15s for EITHER the new-flow setup panel OR the legacy Continue
|
|
1057
1067
|
// button to appear.
|
|
1058
1068
|
const setupOrContinue = setupDeployButton.or(this.continueToPlayButton);
|
|
@@ -1198,10 +1198,20 @@ class ModelerCreatePage {
|
|
|
1198
1198
|
.getByText('Deploy process')
|
|
1199
1199
|
.locator('..')
|
|
1200
1200
|
.getByRole('button', { name: 'Deploy' });
|
|
1201
|
-
//
|
|
1202
|
-
//
|
|
1203
|
-
//
|
|
1204
|
-
|
|
1201
|
+
// Both attributes on this button have been renamed by camunda-hub, in
|
|
1202
|
+
// separate commits: a90fd06 changed the label from "Configure scenario" to
|
|
1203
|
+
// "Configure test case", and b3958a1649 (#27259, 2026-08-07) then changed
|
|
1204
|
+
// the test id from `play-configuration-configure-scenario-button` to
|
|
1205
|
+
// `configure-test-case-button`. Match current test id, then pre-rename test
|
|
1206
|
+
// id, then either label, so a further rename of any single attribute cannot
|
|
1207
|
+
// break the step.
|
|
1208
|
+
const configureScenarioButton = this.page
|
|
1209
|
+
.getByTestId('configure-test-case-button')
|
|
1210
|
+
.or(this.page.getByTestId('play-configuration-configure-scenario-button'))
|
|
1211
|
+
.or(this.page.getByRole('button', {
|
|
1212
|
+
name: /^Configure (test case|scenario)$/,
|
|
1213
|
+
}))
|
|
1214
|
+
.first();
|
|
1205
1215
|
// Wait up to 15s for EITHER the new-flow setup panel OR the legacy Continue
|
|
1206
1216
|
// button to appear. Using .or() avoids separate sequential timeouts that would
|
|
1207
1217
|
// both expire before the page finishes loading on a slow cluster.
|
|
@@ -1146,15 +1146,19 @@ class ModelerCreatePage {
|
|
|
1146
1146
|
.getByText('Deploy process')
|
|
1147
1147
|
.locator('..')
|
|
1148
1148
|
.getByRole('button', { name: 'Deploy' });
|
|
1149
|
-
//
|
|
1150
|
-
//
|
|
1151
|
-
// test
|
|
1152
|
-
// `configure-
|
|
1153
|
-
//
|
|
1154
|
-
//
|
|
1149
|
+
// Both attributes on this button have been renamed by camunda-hub, in
|
|
1150
|
+
// separate commits: a90fd06 changed the label from "Configure scenario" to
|
|
1151
|
+
// "Configure test case", and b3958a1649 (#27259, 2026-08-07) then changed
|
|
1152
|
+
// the test id from `play-configuration-configure-scenario-button` to
|
|
1153
|
+
// `configure-test-case-button`. Match current test id, then pre-rename test
|
|
1154
|
+
// id, then either label, so a further rename of any single attribute cannot
|
|
1155
|
+
// break the step.
|
|
1155
1156
|
const configureScenarioButton = this.page
|
|
1156
1157
|
.getByTestId('configure-test-case-button')
|
|
1157
1158
|
.or(this.page.getByTestId('play-configuration-configure-scenario-button'))
|
|
1159
|
+
.or(this.page.getByRole('button', {
|
|
1160
|
+
name: /^Configure (test case|scenario)$/,
|
|
1161
|
+
}))
|
|
1158
1162
|
.first();
|
|
1159
1163
|
// Wait up to 15s for EITHER the new-flow setup panel OR the legacy Continue
|
|
1160
1164
|
// button to appear. Using .or() avoids separate sequential timeouts that would
|
|
@@ -890,13 +890,19 @@ class ModelerCreatePage {
|
|
|
890
890
|
.getByText('Deploy process')
|
|
891
891
|
.locator('..')
|
|
892
892
|
.getByRole('button', { name: 'Deploy' });
|
|
893
|
-
//
|
|
894
|
-
//
|
|
895
|
-
//
|
|
896
|
-
//
|
|
893
|
+
// Both attributes on this button have been renamed by camunda-hub, in
|
|
894
|
+
// separate commits: a90fd06 changed the label from "Configure scenario" to
|
|
895
|
+
// "Configure test case", and b3958a1649 (#27259, 2026-08-07) then changed
|
|
896
|
+
// the test id from `play-configuration-configure-scenario-button` to
|
|
897
|
+
// `configure-test-case-button`. Match current test id, then pre-rename test
|
|
898
|
+
// id, then either label, so a further rename of any single attribute cannot
|
|
899
|
+
// break the step.
|
|
897
900
|
const configureScenarioButton = this.page
|
|
898
901
|
.getByTestId('configure-test-case-button')
|
|
899
902
|
.or(this.page.getByTestId('play-configuration-configure-scenario-button'))
|
|
903
|
+
.or(this.page.getByRole('button', {
|
|
904
|
+
name: /^Configure (test case|scenario)$/,
|
|
905
|
+
}))
|
|
900
906
|
.first();
|
|
901
907
|
// Wait up to 15s for EITHER the new-flow setup panel OR the legacy Continue
|
|
902
908
|
// button to appear. Using .or() avoids separate sequential timeouts that would
|