diff --git a/src/app/userinfo/userinfo.component.html b/src/app/userinfo/userinfo.component.html index 845bb60efb..3ba0a44374 100644 --- a/src/app/userinfo/userinfo.component.html +++ b/src/app/userinfo/userinfo.component.html @@ -3,7 +3,7 @@
-
Profile Information
+
Profile Information
diff --git a/tests/page_objects/profile.po.ts b/tests/page_objects/profile.po.ts index f6fa4e9eab..3162af4a20 100644 --- a/tests/page_objects/profile.po.ts +++ b/tests/page_objects/profile.po.ts @@ -29,7 +29,7 @@ export class ProfilePage { console.log('Goto Profile Page'); await this.page.goto(`${this.baseURL}/#/userinfo`, { waitUntil: 'networkidle' }); console.log(this.page.url()); - expect(this.page.url()).toContain('/userinfo'); + await this.page.waitForSelector(Util.by_data_test_id_str("profile_information")) }