@camunda/e2e-test-suite 0.0.513 → 0.0.514

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.
@@ -65,6 +65,14 @@ class LoginPage {
65
65
  }
66
66
  async loginWithTestUser(credentials = {}) {
67
67
  const { username = process.env.C8_USERNAME_TEST, password = process.env.C8_PASSWORD_TEST, } = credentials;
68
+ // Navigate to app root to trigger auth redirect. The Console app (at
69
+ // console.* hostnames) embeds a hidden invite-user email input also labeled
70
+ // "Email address" that would otherwise satisfy the locator below before the
71
+ // auth0 redirect has had a chance to complete.
72
+ await this.page.goto('/');
73
+ await this.page
74
+ .waitForURL((url) => !url.hostname.includes('console'), { timeout: 60000 })
75
+ .catch(() => { });
68
76
  await (0, test_1.expect)(this.usernameInput.locator).toBeVisible({ timeout: 120000 });
69
77
  await this.fillUsername(username);
70
78
  await this.clickContinueButton();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camunda/e2e-test-suite",
3
- "version": "0.0.513",
3
+ "version": "0.0.514",
4
4
  "description": "End-to-end test helpers for Camunda 8",
5
5
  "repository": {
6
6
  "type": "git",