@camunda/e2e-test-suite 0.0.1118 → 0.0.1120
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.
|
@@ -147,6 +147,16 @@ class OptimizeReportPage {
|
|
|
147
147
|
}
|
|
148
148
|
async clickSaveButton() {
|
|
149
149
|
await this.saveButton.click();
|
|
150
|
+
// Saving persists the report and leaves edit mode, replacing the report-name
|
|
151
|
+
// input with the read-only report view. clickSaveButton used to return the
|
|
152
|
+
// instant the click dispatched, so the caller navigated away while the report
|
|
153
|
+
// was still dirty and Optimize raised its "Unsaved changes" route-guard modal.
|
|
154
|
+
// That modal exposes only "Don't save"/"Save changes"/X — none of which the
|
|
155
|
+
// recovery loop's Close-button dismissal matches — so it intercepted every
|
|
156
|
+
// subsequent Collections click and burned the whole test budget. Wait for edit
|
|
157
|
+
// mode to exit here so navigation starts from a clean report; a save that
|
|
158
|
+
// never persists now fails fast instead of hanging on a blocked recovery loop.
|
|
159
|
+
await (0, test_1.expect)(this.reportName).toBeHidden({ timeout: 60000 });
|
|
150
160
|
}
|
|
151
161
|
async waitUntilLocatorIsVisible(locator, tab) {
|
|
152
162
|
let elapsedTime = 0;
|