diff --git a/tests/e2e/web/pages/app.ts b/tests/e2e/web/pages/app.ts index d8ed56c3..b8da1c11 100644 --- a/tests/e2e/web/pages/app.ts +++ b/tests/e2e/web/pages/app.ts @@ -1,4 +1,5 @@ import {Page} from '@playwright/test' + import {UserAccountInformation} from '../utils/accountInformation' import {AuthPage} from './authPage' import {ComatibilityPage} from './compatibilityPage' @@ -71,5 +72,6 @@ export class App { await this.auth.fillEmailField(email) await this.auth.fillPasswordField(resolvedPassword) await this.auth.clickSignInWithEmailButton() + await this.page.waitForURL('/') } } diff --git a/tests/e2e/web/pages/homePage.ts b/tests/e2e/web/pages/homePage.ts index 1d42c5c4..bcca1a5e 100644 --- a/tests/e2e/web/pages/homePage.ts +++ b/tests/e2e/web/pages/homePage.ts @@ -125,6 +125,7 @@ export class HomePage { async clickSettingsLink() { await expect(this.sidebarSettings).toBeVisible() await this.sidebarSettings.click() + await this.page.waitForURL('/settings') } async clickPeopleLink() {