@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.
|
|
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
|
|
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
|
-
|
|
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) {
|