@camunda/e2e-test-suite 0.0.1583 → 0.0.1585
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.
|
@@ -764,6 +764,14 @@ class ModelerCreatePage {
|
|
|
764
764
|
throw new Error(`runProcessInstance failed after ${maxRetries} attempts. Last error: ${error instanceof Error ? error.message : error}`);
|
|
765
765
|
}
|
|
766
766
|
await this.page.reload();
|
|
767
|
+
// A dropped Modeler session lands the reload on the identity
|
|
768
|
+
// provider, where every later attempt waits out its 90s Modeler
|
|
769
|
+
// locators on the login form (36-minute hang, 2026-11-02 nightly).
|
|
770
|
+
await (0, sessionRecovery_1.restoreSessionIfLoggedOut)(this.page);
|
|
771
|
+
if ((0, sessionRecovery_1.isAtIdentityProvider)(this.page)) {
|
|
772
|
+
throw new Error(`runProcessInstance: session dropped to the identity provider at ${this.page.url()} ` +
|
|
773
|
+
`and could not be restored on attempt ${attempt}. Last error: ${error instanceof Error ? error.message : error}`);
|
|
774
|
+
}
|
|
767
775
|
await this.page.waitForTimeout(retryDelayMs);
|
|
768
776
|
}
|
|
769
777
|
}
|