       .scrollToElement scrollElement
       .waitForElementVisible selector('role', 1), 20000
       .click selector('role', 1), ->
-        myteamhelpers.checkTeammates browser, invitations[0], nthItem(1), nthItem(2), selector('role', 1), no, ->
+        teamsHelpers.checkTeammates browser, invitations[0], nthItem(1), nthItem(2), selector('role', 1), no, ->
           browser.waitForElementVisible selector('role', 1), 20000
           browser.click selector('role', 2), ->
-            myteamhelpers.checkTeammates browser, invitations[1], nthItem(1), nthItem(2), selector('role', 2), no, ->
+            teamsHelpers.checkTeammates browser, invitations[1], nthItem(1), nthItem(2), selector('role', 2), no, ->
               browser.expect.element(selector('role', index + 1)).text.to.contain 'Owner'
               browser.click selector('role', lastPendingInvitationIndex + 1), ->
-                myteamhelpers.checkTeammates browser, invitations[lastPendingInvitationIndex], nthItem(1), nthItem(2), selector('role', lastPendingInvitationIndex + 1), yes, ->
+                teamsHelpers.checkTeammates browser, invitations[lastPendingInvitationIndex], nthItem(1), nthItem(2), selector('role', lastPendingInvitationIndex + 1), yes, ->
                   browser
                     .waitForElementNotPresent selector('fullname', lastPendingInvitationIndex + 1), 20000
                     .end()


    user = teamsHelpers.loginTeam browser
    browser.url myTeamLink
    myteamhelpers.inviteUser browser, 'member'
    browser.pause 5000
    myteamhelpers.inviteUser browser, 'admin'
    browser.end()




    user = teamsHelpers.loginTeam browser
    browser.url myTeamLink
    teamsHelpers.resendInvitation browser, 'member'
    browser.pause 5000
    teamsHelpers.resendInvitation browser, 'admin'
    browser.end()


