@camunda/e2e-test-suite 0.0.1069 → 0.0.1070

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.
@@ -1430,7 +1430,18 @@ class ModelerCreatePage {
1430
1430
  // still about to appear. ConfigureTestPanel returns null for as long as the
1431
1431
  // overlay is up, so the Start button never existed and
1432
1432
  // clickStartInstanceButton burned its entire retry budget looking for it.
1433
- const configurationOverlay = this.page.locator('[data-test="play-configuration-overlay"]');
1433
+ // camunda-hub's "Play" -> "Test Studio" rebrand renamed this container's
1434
+ // data-test from `play-configuration-overlay` to
1435
+ // `test-studio-configuration-overlay` (confirmed in a failing run's trace
1436
+ // DOM, and already fixed the same way in pages/SM-8.10). Anchor on the
1437
+ // new data-test, keep the legacy attribute for older modeler builds, and
1438
+ // fall back to the "Setup environment" panel title. This locator means
1439
+ // "the setup panel is still on screen".
1440
+ const configurationOverlay = this.page
1441
+ .locator('[data-test="test-studio-configuration-overlay"]')
1442
+ .or(this.page.locator('[data-test="play-configuration-overlay"]'))
1443
+ .or(this.page.getByText('Setup environment'))
1444
+ .first();
1434
1445
  const configureTestPanel = this.page.getByTestId('configure-test-panel');
1435
1446
  await (0, test_1.expect)(configurationOverlay
1436
1447
  .or(this.continueToPlayButton)
@@ -1236,7 +1236,18 @@ class ModelerCreatePage {
1236
1236
  // still about to appear. ConfigureTestPanel returns null for as long as the
1237
1237
  // overlay is up, so the Start button never existed and
1238
1238
  // clickStartInstanceButton burned its entire retry budget looking for it.
1239
- const configurationOverlay = this.page.locator('[data-test="play-configuration-overlay"]');
1239
+ // camunda-hub's "Play" -> "Test Studio" rebrand renamed this container's
1240
+ // data-test from `play-configuration-overlay` to
1241
+ // `test-studio-configuration-overlay` (confirmed in a failing run's trace
1242
+ // DOM, and already fixed the same way in pages/SM-8.10). Anchor on the
1243
+ // new data-test, keep the legacy attribute for older modeler builds, and
1244
+ // fall back to the "Setup environment" panel title. This locator means
1245
+ // "the setup panel is still on screen".
1246
+ const configurationOverlay = this.page
1247
+ .locator('[data-test="test-studio-configuration-overlay"]')
1248
+ .or(this.page.locator('[data-test="play-configuration-overlay"]'))
1249
+ .or(this.page.getByText('Setup environment'))
1250
+ .first();
1240
1251
  const configureTestPanel = this.page.getByTestId('configure-test-panel');
1241
1252
  await (0, test_1.expect)(configurationOverlay
1242
1253
  .or(this.continueToPlayButton)
@@ -1427,7 +1427,18 @@ class ModelerCreatePage {
1427
1427
  // still about to appear. ConfigureTestPanel returns null for as long as the
1428
1428
  // overlay is up, so the Start button never existed and
1429
1429
  // clickStartInstanceButton burned its entire retry budget looking for it.
1430
- const configurationOverlay = this.page.locator('[data-test="play-configuration-overlay"]');
1430
+ // camunda-hub's "Play" -> "Test Studio" rebrand renamed this container's
1431
+ // data-test from `play-configuration-overlay` to
1432
+ // `test-studio-configuration-overlay` (confirmed in a failing run's trace
1433
+ // DOM, and already fixed the same way in pages/SM-8.10). Anchor on the
1434
+ // new data-test, keep the legacy attribute for older modeler builds, and
1435
+ // fall back to the "Setup environment" panel title. This locator means
1436
+ // "the setup panel is still on screen".
1437
+ const configurationOverlay = this.page
1438
+ .locator('[data-test="test-studio-configuration-overlay"]')
1439
+ .or(this.page.locator('[data-test="play-configuration-overlay"]'))
1440
+ .or(this.page.getByText('Setup environment'))
1441
+ .first();
1431
1442
  const configureTestPanel = this.page.getByTestId('configure-test-panel');
1432
1443
  await (0, test_1.expect)(configurationOverlay
1433
1444
  .or(this.continueToPlayButton)
@@ -1362,7 +1362,18 @@ class ModelerCreatePage {
1362
1362
  // still about to appear. ConfigureTestPanel returns null for as long as the
1363
1363
  // overlay is up, so the Start button never existed and
1364
1364
  // clickStartInstanceButton burned its entire retry budget looking for it.
1365
- const configurationOverlay = this.page.locator('[data-test="play-configuration-overlay"]');
1365
+ // camunda-hub's "Play" -> "Test Studio" rebrand renamed this container's
1366
+ // data-test from `play-configuration-overlay` to
1367
+ // `test-studio-configuration-overlay` (confirmed in this failing run's
1368
+ // trace DOM, and already fixed the same way in pages/SM-8.10). Anchor on
1369
+ // the new data-test, keep the legacy attribute for older modeler builds,
1370
+ // and fall back to the "Setup environment" panel title. This locator
1371
+ // means "the setup panel is still on screen".
1372
+ const configurationOverlay = this.page
1373
+ .locator('[data-test="test-studio-configuration-overlay"]')
1374
+ .or(this.page.locator('[data-test="play-configuration-overlay"]'))
1375
+ .or(this.page.getByText('Setup environment'))
1376
+ .first();
1366
1377
  const configureTestPanel = this.page.getByTestId('configure-test-panel');
1367
1378
  await (0, test_1.expect)(configurationOverlay
1368
1379
  .or(this.continueToPlayButton)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camunda/e2e-test-suite",
3
- "version": "0.0.1069",
3
+ "version": "0.0.1070",
4
4
  "description": "End-to-end test helpers for Camunda 8",
5
5
  "repository": {
6
6
  "type": "git",