@camunda/e2e-test-suite 0.0.1730 → 0.0.1732

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.
@@ -307,11 +307,16 @@ class ProcessApplicationPage {
307
307
  await this.defineDevelopmentStage(clusterName);
308
308
  }
309
309
  container.developmentCluster = clusterName;
310
- await this.page.goto(returnTo, { waitUntil: 'domcontentloaded' });
311
310
  // A full navigation on Hub bounces through /login and /login-callback
312
311
  // before it lands back on returnTo, and goto() resolves on the first
313
- // document.
314
- await this.page.waitForURL((url) => !/^\/login(-callback)?\/?$/.test(url.pathname), { timeout: 120000 });
312
+ // document. A transient gateway reset during that OAuth exchange leaves the
313
+ // page stuck on /login-callback ("upstream connect error ... connection
314
+ // termination"), which one long waitForURL can only sit out -- re-issuing
315
+ // the navigation retries the whole bounce instead.
316
+ await (0, test_1.expect)(async () => {
317
+ await this.page.goto(returnTo, { waitUntil: 'domcontentloaded' });
318
+ await this.page.waitForURL((url) => !/^\/login(-callback)?\/?$/.test(url.pathname), { timeout: 60000 });
319
+ }).toPass({ timeout: 180000, intervals: [1000, 2000, 5000] });
315
320
  return true;
316
321
  }
317
322
  // Assigns the Environment backed by clusterName to the workspace, from
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camunda/e2e-test-suite",
3
- "version": "0.0.1730",
3
+ "version": "0.0.1732",
4
4
  "description": "End-to-end test helpers for Camunda 8",
5
5
  "repository": {
6
6
  "type": "git",