diff --git a/e2e/full/user-profile/user-profile-activity.e2e.js b/e2e/full/user-profile/user-profile-activity.e2e.js index 8f92304e..3a21b4fa 100644 --- a/e2e/full/user-profile/user-profile-activity.e2e.js +++ b/e2e/full/user-profile/user-profile-activity.e2e.js @@ -31,13 +31,13 @@ describe('user profile - activity', function() { }); it('conctacts tab', async function() { - $$('.tab').get(1).click(); + $$('.tab').get(4).click(); browser.waitForAngular(); utils.common.takeScreenshot('user-profile', 'current-user-contacts'); - let contactsCount = await $$('.profile-contact-single').count(); + let contactsCount = await $$('.list-itemtype-user').count(); expect(contactsCount).to.be.above(0); }); diff --git a/e2e/full/user-profile/user-profile-contacts.e2e.js b/e2e/full/user-profile/user-profile-contacts.e2e.js index 1d161e17..d7c6e95e 100644 --- a/e2e/full/user-profile/user-profile-contacts.e2e.js +++ b/e2e/full/user-profile/user-profile-contacts.e2e.js @@ -21,7 +21,7 @@ describe('user profile - contacts', function() { }); it('conctacts tab', async function() { - let contactsCount = await $$('.profile-contact-single').count(); + let contactsCount = await $$('.list-itemtype-user').count(); expect(contactsCount).to.be.above(0); }); @@ -41,7 +41,9 @@ describe('user profile - contacts', function() { }); it('conctacts tab', async function() { - let contactsCount = await $$('.profile-contact-single').count(); + let contactsCount = await $$('.list-itemtype-user').count(); + + await browser.sleep(3000); expect(contactsCount).to.be.above(0); }); diff --git a/e2e/full/user-profile/user-profile-projects.e2e.js b/e2e/full/user-profile/user-profile-projects.e2e.js index 042a542a..c60e3009 100644 --- a/e2e/full/user-profile/user-profile-projects.e2e.js +++ b/e2e/full/user-profile/user-profile-projects.e2e.js @@ -6,7 +6,7 @@ var chaiAsPromised = require('chai-as-promised'); chai.use(chaiAsPromised); var expect = chai.expect; -describe('user profilei - projects', function() { +describe('user profile - projects', function() { describe('other user', function() { before(async function(){ browser.get(browser.params.glob.host + '/profile/user7'); @@ -21,7 +21,7 @@ describe('user profilei - projects', function() { }); it('projects tab', async function() { - let projectsCount = await $$('.project-list-single').count(); + let projectsCount = await $$('.list-itemtype-project').count(); expect(projectsCount).to.be.above(0); });