       .waitForElementVisible  '[testpath=main-header]', 10000 # Assertion
 
 
-  doRegister: (browser, user) ->
-
-    user    = utils.getUser(yes) unless user
-    url     = @getUrl()
-
+  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]'
-      .setValue               '[testpath=password-input]', user.password
-      .setValue               '[testpath=confirm-password-input]', user.password
-      .click                  '[testpath=register-submit-button]'
-
-    @doLogout browser
-
-    @doLogin browser, user
+
+  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) ->


    comment = @getFakeText()

    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


  doPostActivity: (browser, post, shouldAssert = yes) ->
    browser
