@camunda/e2e-test-suite 0.0.576 → 0.0.577
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.
|
@@ -751,6 +751,11 @@ class ModelerCreatePage {
|
|
|
751
751
|
catch (error) {
|
|
752
752
|
if (attempt === 3)
|
|
753
753
|
throw error; // Rethrow after 3 failed attempts
|
|
754
|
+
// Recovery: reload to re-render the canvas, then re-select the start
|
|
755
|
+
// event so the context pad (append button) becomes available again.
|
|
756
|
+
await this.page.reload();
|
|
757
|
+
await (0, test_1.expect)(this.generalPanel).toBeVisible({ timeout: 30000 });
|
|
758
|
+
await this.startEventElement.click({ timeout: 10000 }).catch(() => { });
|
|
754
759
|
}
|
|
755
760
|
}
|
|
756
761
|
}
|
|
@@ -219,6 +219,14 @@ class PlayPage {
|
|
|
219
219
|
.waitFor({ state: 'hidden', timeout: 10000 })
|
|
220
220
|
.catch(() => { });
|
|
221
221
|
},
|
|
222
|
+
postAction: async () => {
|
|
223
|
+
// Recovery: reload the page so the Play UI re-fetches scenario state
|
|
224
|
+
// and renders the "(View all)" button when multiple scenarios exist.
|
|
225
|
+
await this.page.reload();
|
|
226
|
+
await this.diagram
|
|
227
|
+
.waitFor({ state: 'visible', timeout: 30000 })
|
|
228
|
+
.catch(() => { });
|
|
229
|
+
},
|
|
222
230
|
});
|
|
223
231
|
}
|
|
224
232
|
async confirmSaveScenario() {
|