@camunda/e2e-test-suite 0.0.652 → 0.0.654
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.
|
@@ -47,9 +47,9 @@ class PlayPage {
|
|
|
47
47
|
.getByTestId('save-scenario-modal')
|
|
48
48
|
.locator('input#scenario-name')
|
|
49
49
|
.first();
|
|
50
|
-
this.confirmDeleteScenarioButton = page
|
|
51
|
-
name: '
|
|
52
|
-
|
|
50
|
+
this.confirmDeleteScenarioButton = page
|
|
51
|
+
.getByRole('dialog', { name: 'Delete scenario' })
|
|
52
|
+
.getByRole('button', { name: 'Delete', exact: true });
|
|
53
53
|
this.viewAllScenariosButton = page.getByText('(View all)').last();
|
|
54
54
|
this.getScenarioRowByName = (scenarioName) => page.locator('tr', { hasText: scenarioName });
|
|
55
55
|
this.getScenarioRow = (scenarioName) => page.locator('tr', { hasText: scenarioName });
|
|
@@ -443,10 +443,26 @@ async function modelAndRunConnectorsDocHandlingDiagram(modelerCreatePage, modele
|
|
|
443
443
|
await (0, sleep_1.sleep)(10000);
|
|
444
444
|
await modelerCreatePage.clickFirstPlaceRESTConnector();
|
|
445
445
|
await modelerCreatePage.clickChangeTypeButton();
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
446
|
+
try {
|
|
447
|
+
// REST Outbound Connector is bundled in the modeler; apply it directly
|
|
448
|
+
// from the change-type panel. The marketplace search for the bundled
|
|
449
|
+
// connector no longer returns a match, so only fall back to it when the
|
|
450
|
+
// bundled option is genuinely absent. Mirrors modelRestConnector above.
|
|
451
|
+
await (0, test_1.expect)(modelerCreatePage.restConnectorOption).toBeVisible({
|
|
452
|
+
timeout: 15000,
|
|
453
|
+
});
|
|
454
|
+
await modelerCreatePage.restConnectorOption.scrollIntoViewIfNeeded();
|
|
455
|
+
await modelerCreatePage.restConnectorOption.click({
|
|
456
|
+
timeout: 60000,
|
|
457
|
+
force: true,
|
|
458
|
+
});
|
|
459
|
+
}
|
|
460
|
+
catch {
|
|
461
|
+
await modelerCreatePage.clickMarketPlaceButton();
|
|
462
|
+
await connectorMarketplacePage.clickSearchForConnectorTextbox();
|
|
463
|
+
await connectorMarketplacePage.fillSearchForConnectorTextbox('REST Connector');
|
|
464
|
+
await connectorMarketplacePage.downloadConnectorToProject();
|
|
465
|
+
}
|
|
450
466
|
await (0, sleep_1.sleep)(5000);
|
|
451
467
|
await page.reload();
|
|
452
468
|
await (0, sleep_1.sleep)(5000);
|