You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Waiting for the navigation to the app on login caused issues in cases where the history info was shown in between, causing the test to timeout without interaction.
Copy file name to clipboardExpand all lines: test/e2e_tests/pageManager/webapp/pages/login.page.ts
-8Lines changed: 0 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -21,8 +21,6 @@ import type {Page, Locator} from '@playwright/test';
21
21
22
22
importtype{User}from'test/e2e_tests/data/user';
23
23
24
-
import{webAppPath}from'../..';
25
-
26
24
exportclassLoginPage{
27
25
readonlypage: Page;
28
26
@@ -46,11 +44,5 @@ export class LoginPage {
46
44
awaitthis.emailInput.fill(user.email);
47
45
awaitthis.passwordInput.fill(user.password);
48
46
awaitthis.signInButton.click();
49
-
50
-
/**
51
-
* Since the login may take up to 40s we manually wait for it to finish here instead of increasing the timeout on all actions / assertions after this util
52
-
* This is an exception to the general best practice of using playwrights web assertions. (See: https://playwright.dev/docs/best-practices#use-web-first-assertions)
* Since the login may take up to 40s we manually wait for it to finish here instead of increasing the timeout on all actions / assertions after this util
159
+
* This is an exception to the general best practice of using playwrights web assertions. (See: https://playwright.dev/docs/best-practices#use-web-first-assertions)
0 commit comments