mirror of
https://github.com/CompassConnections/Compass.git
synced 2026-04-06 15:53:57 -04:00
Wait for URL navigation after key interactions in app.ts and homePage.ts E2E tests.
This commit is contained in:
@@ -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('/')
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user