 
     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'

        .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


  attemptEnterEmailAndUsernameOnRegister: (browser, user) ->
    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]'

  attemptEnterPasswordOnRegister: (browser, user) ->
    browser
      .setValue  '[testpath=password-input]', user.password
      .setValue  '[testpath=confirm-password-input]', user.password
      .click     '[testpath=register-submit-button]'

  doRegister: (browser, user) ->

    user = utils.getUser(yes) unless user

    @attemptEnterEmailAndUsernameOnRegister(browser, user)

    @attemptEnterPasswordOnRegister(browser, user)

    @doLogout(browser)

    @doLogin(browser, user)


  postActivity: (browser, shouldBeginTest = yes) ->
