 register = require '../register/register.js'
 faker    = require 'faker'
 assert   = require 'assert'
+HUBSPOT  = yes
 
 
 activitySelector = '[testpath=activity-list] section:nth-of-type(1) [testpath=ActivityListItemView]:first-child'

  assertNotLoggedIn: (browser, user) ->

    url = @getUrl()
    browser.url(url)
    browser.maximizeWindow()


    @attemptEnterEmailAndPasswordOnRegister(browser, user)
    @attemptEnterUsernameOnRegister(browser, user)

    unless HUBSPOT
      browser.waitForElementVisible '[testpath=main-header]', 50000 # Assertion
    else
      browser.waitForElementVisible '[testpath=AvatarAreaIconLink]', 50000 # Assertion


  postActivity: (browser, shouldBeginTest = yes) ->
