diff --git a/e2e/cypress/integration/specs/account/edit-user-company.b2b.e2e-spec.ts b/e2e/cypress/integration/specs/account/edit-user-company.b2b.e2e-spec.ts index cbb29f305f..5ea2cd8af9 100644 --- a/e2e/cypress/integration/specs/account/edit-user-company.b2b.e2e-spec.ts +++ b/e2e/cypress/integration/specs/account/edit-user-company.b2b.e2e-spec.ts @@ -23,9 +23,9 @@ describe('Changing User', () => { page.fillForm(_.user.login, _.user.password).submit().its('response.statusCode').should('equal', 200) ); at(ProfilePage, page => { - page.name.should('have.text', `${_.user.firstName} ${_.user.lastName}`); - page.phone.should('have.text', _.user.phoneHome); - page.companyName.should('have.text', _.user.companyName1); + page.name.should('contain', `${_.user.firstName} ${_.user.lastName}`); + page.phone.should('contain', _.user.phoneHome); + page.companyName.should('contain', _.user.companyName1); page.taxationId.should('be.empty'); }); }); @@ -37,8 +37,8 @@ describe('Changing User', () => { page.fillForm(_.newDetails).submit().its('response.statusCode').should('equal', 200) ); at(ProfilePage, page => { - page.companyName.should('have.text', `${_.newDetails.companyName}${_.newDetails.companyName2}`); - page.taxationId.should('have.text', _.newDetails.taxationID); + page.companyName.should('contain', `${_.newDetails.companyName}${_.newDetails.companyName2}`); + page.taxationId.should('contain', _.newDetails.taxationID); }); }); }); diff --git a/e2e/cypress/integration/specs/account/edit-user-details.b2c.e2e-spec.ts b/e2e/cypress/integration/specs/account/edit-user-details.b2c.e2e-spec.ts index f3f23078bd..8f81e86c8d 100644 --- a/e2e/cypress/integration/specs/account/edit-user-details.b2c.e2e-spec.ts +++ b/e2e/cypress/integration/specs/account/edit-user-details.b2c.e2e-spec.ts @@ -25,8 +25,8 @@ describe('Changing User', () => { ); at(ProfilePage, page => { - page.name.should('have.text', `${_.user.firstName} ${_.user.lastName}`); - page.phone.should('have.text', _.user.phoneHome); + page.name.should('contain', `${_.user.firstName} ${_.user.lastName}`); + page.phone.should('contain', _.user.phoneHome); }); }); @@ -38,8 +38,8 @@ describe('Changing User', () => { ); at(ProfilePage, page => { page.header.myAccountLink.should('have.text', `${_.newDetails.firstName} ${_.newDetails.lastName}`); - page.name.should('have.text', `${_.newDetails.title} ${_.newDetails.firstName} ${_.newDetails.lastName}`); - page.phone.should('have.text', _.newDetails.phoneHome); + page.name.should('contain', `${_.newDetails.title} ${_.newDetails.firstName} ${_.newDetails.lastName}`); + page.phone.should('contain', _.newDetails.phoneHome); }); }); }); diff --git a/src/app/extensions/compare/pages/compare/product-compare-list/product-compare-list.component.html b/src/app/extensions/compare/pages/compare/product-compare-list/product-compare-list.component.html index 456cbcf16d..7a2272cf3f 100644 --- a/src/app/extensions/compare/pages/compare/product-compare-list/product-compare-list.component.html +++ b/src/app/extensions/compare/pages/compare/product-compare-list/product-compare-list.component.html @@ -82,15 +82,6 @@
{{ 'account.overview.note.heading' | translate }}:
diff --git a/src/app/shared/cms/components/cms-standard-page/cms-standard-page.component.html b/src/app/shared/cms/components/cms-standard-page/cms-standard-page.component.html
index 35de06a7b9..78ab195dad 100644
--- a/src/app/shared/cms/components/cms-standard-page/cms-standard-page.component.html
+++ b/src/app/shared/cms/components/cms-standard-page/cms-standard-page.component.html
@@ -1,7 +1,3 @@
-
-
-