@camunda/e2e-test-suite 0.0.521 → 0.0.522

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.
@@ -13,7 +13,7 @@ async function loginWithRetry(page, loginPage, testUser, timeout, maxRetries = 3
13
13
  try {
14
14
  await page.goto('/');
15
15
  await (0, sleep_1.sleep)(timeout);
16
- await loginPage.login(testUser);
16
+ await loginPage.loginWithTestUser(testUser);
17
17
  return;
18
18
  }
19
19
  catch (error) {
@@ -37,8 +37,7 @@ async function loginWithRetry(page, loginPage, testUser, timeout, maxRetries = 3
37
37
  try {
38
38
  await page.goto('/');
39
39
  await (0, sleep_1.sleep)(timeout);
40
- await (0, test_1.expect)(loginPage.loginMessage).toBeVisible({ timeout: 60000 });
41
- await loginPage.login(testUser);
40
+ await loginPage.loginWithTestUser(testUser);
42
41
  return;
43
42
  }
44
43
  catch (error) {
@@ -13,12 +13,7 @@ async function loginWithRetry(page, loginPage, testUser, timeout, maxRetries = 3
13
13
  try {
14
14
  await page.goto('/');
15
15
  await (0, sleep_1.sleep)(timeout);
16
- // Confirm we reached the login page before filling credentials.
17
- // Without this check the locator for 'Email address' can match a hidden
18
- // invite-user input on the Console page when the logout redirect has not
19
- // yet completed, causing a 200 s wait before failing.
20
- await (0, test_1.expect)(loginPage.loginMessage).toBeVisible({ timeout: 60000 });
21
- await loginPage.login(testUser);
16
+ await loginPage.loginWithTestUser(testUser);
22
17
  return;
23
18
  }
24
19
  catch (error) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camunda/e2e-test-suite",
3
- "version": "0.0.521",
3
+ "version": "0.0.522",
4
4
  "description": "End-to-end test helpers for Camunda 8",
5
5
  "repository": {
6
6
  "type": "git",