diff --git a/tests/page_objects/application_overview.po.ts b/tests/page_objects/application_overview.po.ts index 80a9322533..fdb6be1e4d 100644 --- a/tests/page_objects/application_overview.po.ts +++ b/tests/page_objects/application_overview.po.ts @@ -55,7 +55,7 @@ export class ApplicationOverviewPage { async goto() { console.log('Goto Application overview Page'); - await this.page.goto(`${this.baseURL}/#/applications`, { waitUntil: 'networkidle' }); + await this.page.goto(`${this.baseURL}/#/applications`); console.log(this.page.url()); expect(this.page.url()).toContain('/applications'); await this.page.waitForSelector(Util.by_data_test_id_str(this.SITE_LOADER), { state: 'hidden' }); diff --git a/tests/page_objects/facility_application_overview.po.ts b/tests/page_objects/facility_application_overview.po.ts index 39105d0085..e6434bc8a3 100644 --- a/tests/page_objects/facility_application_overview.po.ts +++ b/tests/page_objects/facility_application_overview.po.ts @@ -50,7 +50,7 @@ export class FacilityApplicationOverviewPage { async goto() { console.log('Goto Facility Application overview'); - await this.page.goto(`${this.baseURL}/#/facility-manager/facilityApplications`, { waitUntil: 'networkidle' }); + await this.page.goto(`${this.baseURL}/#/facility-manager/facilityApplications`); console.log(this.page.url()); expect(this.page.url()).toContain('/#/facility-manager/facilityApplications'); diff --git a/tests/page_objects/formular.po.ts b/tests/page_objects/formular.po.ts index 35ea6515cf..165a1751ca 100644 --- a/tests/page_objects/formular.po.ts +++ b/tests/page_objects/formular.po.ts @@ -33,7 +33,7 @@ export class FormularPage { async goto() { console.log('Goto Type-Overview Page'); - await this.page.goto(`${this.baseURL}/#/applications/type-overview`, { waitUntil: 'networkidle' }); + await this.page.goto(`${this.baseURL}/#/applications/type-overview`); console.log(this.page.url()); expect(this.page.url()).toContain('/#/applications/type-overview'); diff --git a/tests/page_objects/profile.po.ts b/tests/page_objects/profile.po.ts index 3162af4a20..16e027e2a2 100644 --- a/tests/page_objects/profile.po.ts +++ b/tests/page_objects/profile.po.ts @@ -26,8 +26,8 @@ export class ProfilePage { } async goto() { - console.log('Goto Profile Page'); - await this.page.goto(`${this.baseURL}/#/userinfo`, { waitUntil: 'networkidle' }); + console.log(`Goto Profile Page - ${this.baseURL}/#/userinfo`); + await this.page.goto(`${this.baseURL}/#/userinfo`); console.log(this.page.url()); await this.page.waitForSelector(Util.by_data_test_id_str("profile_information")) diff --git a/tests/page_objects/project_overview.po.ts b/tests/page_objects/project_overview.po.ts index 921fcc062c..11ded73867 100644 --- a/tests/page_objects/project_overview.po.ts +++ b/tests/page_objects/project_overview.po.ts @@ -63,7 +63,7 @@ export class ProjectOverViewPage { async gotoProfilePage() { console.log('Goto Profile Page') - await this.page.goto(`${this.baseURL}/#/userinfo`, { waitUntil: 'networkidle' }) + await this.page.goto(`${this.baseURL}/#/userinfo`) expect(this.page.url()).toContain('/userinfo') await this.page.locator('text=Profile Information').waitFor() } diff --git a/tests/page_objects/vo_overview.po.ts b/tests/page_objects/vo_overview.po.ts index 24eaae5caa..f90b0bc3b4 100644 --- a/tests/page_objects/vo_overview.po.ts +++ b/tests/page_objects/vo_overview.po.ts @@ -33,7 +33,7 @@ export class VoOverviewPage { async goto() { console.log('Goto vo manager overview Page') - await this.page.goto(this.baseURL + this.VO_OVERVIEW_URL, { waitUntil: 'networkidle' }) + await this.page.goto(this.baseURL + this.VO_OVERVIEW_URL) console.log(this.page.url()) expect(this.page.url()).toContain(this.VO_OVERVIEW_URL)