@camunda/e2e-test-suite 0.0.836 → 0.0.837

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.
@@ -187,8 +187,19 @@ class ModelerHomePage {
187
187
  catch (error) {
188
188
  attempts++;
189
189
  if (attempts < maxAttempts) {
190
- console.log(`Attempt ${attempts} failed. Reloading page and retrying...`);
191
- await this.page.reload();
190
+ console.log(`Attempt ${attempts} failed. Re-navigating to Modeler and retrying...`);
191
+ // A transient web-modeler 500 on login right after the OAuth callback
192
+ // logs the user out and leaves the page on the Keycloak login form. A
193
+ // bare page.reload() then just reloads the login page and never
194
+ // re-authenticates, so every remaining attempt waits out its timeout
195
+ // on the login screen. Re-run the full navigation+login instead so a
196
+ // recovered backend can complete the login on the next attempt.
197
+ try {
198
+ await new NavigationPage_1.NavigationPage(this.page).goToModeler();
199
+ }
200
+ catch (navError) {
201
+ console.log(`Re-navigation to Modeler failed: ${navError}`);
202
+ }
192
203
  await this.page.waitForLoadState('networkidle');
193
204
  }
194
205
  else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camunda/e2e-test-suite",
3
- "version": "0.0.836",
3
+ "version": "0.0.837",
4
4
  "description": "End-to-end test helpers for Camunda 8",
5
5
  "repository": {
6
6
  "type": "git",