       .setValue               inputTextSelector, editedPurposeText + browser.Keys.ENTER
       .pause                  3000 #waiting for the text to change
       .waitForElementVisible  editedTextSelector, 20000
-      .assert.containsText    editedTextSelector, editedPurposeText+      .assert.containsText    editedTextSelector, editedPurposeText

        .pause                 2500

      @enterTeamURL(browser)
      helpers.fillPaymentForm(browser)
      browser
        .waitForElementVisible  '[testpath=payment-button]', 20000
        .click                  '[testpath=payment-button]'
      @fillUsernamePasswordForm(browser, user)



        .pause                  2000 # wait for side bar channel list
        .waitForElementVisible  channelLinkOnSidebarSelector, 20000
        .assert.containsText    sidebarSectionsSelector, channelName

    if purpose
      browser.assert.containsText '.ChannelThreadPane-purposeWrapper .ChannelThreadPane-purpose',purpose

