@camunda/e2e-test-suite 0.0.1110 → 0.0.1111
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.
|
@@ -1567,9 +1567,8 @@ class ModelerCreatePage {
|
|
|
1567
1567
|
// has nothing to deploy and renders no Deploy button at all.
|
|
1568
1568
|
const alreadyDeployed = (await isDeployReported()) ||
|
|
1569
1569
|
(await configureScenarioButton
|
|
1570
|
-
.
|
|
1571
|
-
.catch(() => false))
|
|
1572
|
-
(await configureTestPanel.isVisible().catch(() => false));
|
|
1570
|
+
.isEnabled({ timeout: 3000 })
|
|
1571
|
+
.catch(() => false));
|
|
1573
1572
|
if (!alreadyDeployed) {
|
|
1574
1573
|
// Step 2: deploy — wait for enabled; button stays disabled until the cluster
|
|
1575
1574
|
// connection is confirmed by the backend after the Save in step 1.
|
|
@@ -32,7 +32,15 @@ _8_10_1.test.describe('Deploy and run a process in Play', () => {
|
|
|
32
32
|
});
|
|
33
33
|
});
|
|
34
34
|
await _8_10_1.test.step('Open Cross Component Test Project', async () => {
|
|
35
|
-
|
|
35
|
+
// Self-healing variant: it clicks into the folder when the per-user
|
|
36
|
+
// setup project created it, and creates it first when that setup step
|
|
37
|
+
// did not take for this user. Clicking straight into the folder made a
|
|
38
|
+
// missing project an unrecoverable "Failed to click locator
|
|
39
|
+
// getByTitle('Cross Component Test Project')" five attempts later, even
|
|
40
|
+
// though the spec only needs *a* project to model in. Several sibling
|
|
41
|
+
// 8.10 specs (smoke-tests, rba-enabled-v2, access-user-role-management)
|
|
42
|
+
// already use this variant for the same reason.
|
|
43
|
+
await modelerHomePage.createCrossComponentProjectFolder();
|
|
36
44
|
});
|
|
37
45
|
await _8_10_1.test.step('Add A BPMN Template To The Project', async () => {
|
|
38
46
|
await modelerHomePage.clickDiagramTypeDropdown();
|