 module.exports =
 
 
-  openTeamsPage: (browser) ->
-
-    teamsSelector = '[testpath=main-header] .full-menu a.teams'
-
-    browser
-      .waitForElementVisible  '[testpath=main-header]', 20000
-      .waitForElementVisible  teamsSelector, 20000
-      .click                  teamsSelector
-      .waitForElementVisible  '.content-page.teams', 20000
-
-
-  fillSignUpFormOnTeamsHomePage: (browser, user) ->
-
-    emailSelector  = '.login-form input[testpath=register-form-email]'
-    buttonSelector = 'button[testpath=signup-company-button]'
-
-    browser
-      .waitForElementVisible  emailSelector, 20000
-      .setValue               emailSelector, user.email
-      .waitForElementVisible  companyNameSelector, 20000
-      .setValue               companyNameSelector, user.name
-      .waitForElementVisible  buttonSelector, 20000
-      .click                  buttonSelector
-      .pause                  2000 # wait for modal change
-
-
   enterTeamURL: (browser) ->
 
     browser

      .waitForElementVisible  '[testpath=main-sidebar]', 20000 # Assertion

    console.log " ✔ Successfully logged in with username: #{user.username} and password: #{user.password} to team: #{helpers.getUrl(yes)}"


  setupStackPage: (browser) ->

    browser
      .waitForElementVisible  teamsModalSelector, 20000
      .waitForElementVisible  'button.TeamsModal-button--green', 20000
      .click                  'button.TeamsModal-button--green'
      .pause                  2000 # wait for modal change


  congratulationsPage: (browser) ->

    browser
      .waitForElementVisible  teamsModalSelector, 20000
      .waitForElementVisible  'button span.button-title', 20000
      .click                  'button span.button-title'
      .pause                  2000 # wait for modal change


  loginToTeam: (browser, user) ->

        .click                  sidebarSectionsHeaderSelector


  inviteUser: (browser, addMoreUser = no) ->

    invitationsModalSelector = '.kdmodal-content  .AppModal--admin-tabs .invitations'
