         .pause               6000 # required
         .assert.containsText '[testpath=ActivityListItemView]:first-child .comment-body-container', comment # Assertion
 
-    return comment
-
-
-  doPostActivity: (browser, post) ->
 
   doPostActivity: (browser, post, shouldAssert = yes) ->
     browser

      .waitForElementVisible  '[testpath=main-header]', 10000 # Assertion


  doRegister: (browser, user) ->

    user    = utils.getUser(yes) unless user
    url     = @getUrl()

    browser
      .url                    @getUrl()
      .waitForElementVisible  '[testpath=main-header]', 10000
      .setValue               '[testpath=register-form-email]', user.email
      .setValue               '[testpath=register-form-username]', user.username
      .click                  '[testpath=signup-button]'
      .setValue               '[testpath=password-input]', user.password
      .setValue               '[testpath=confirm-password-input]', user.password
      .click                  '[testpath=register-submit-button]'

    @doLogout browser

    @doLogin browser, user


  postActivity: (browser, shouldBeginTest = yes) ->


    comment = @getFakeText()

    @doPostComment(browser, comment)

    return comment


  doPostComment: (browser, comment, shouldAssert = yes) ->
    browser
      .click        '[testpath=ActivityListItemView]:first-child [testpath=CommentInputView]'
      .setValue     '[testpath=ActivityListItemView]:first-child [testpath=CommentInputView]', comment + '\n'
