   loginFromHomepageSignupForm: (browser) ->
 
     user = utils.getUser()
-    url  = helpers.getUrl()
-    browser
-      .url(url)
-      .maximizeWindow()
 
     helpers.attemptEnterEmailAndPasswordOnRegister(browser, user)
 

  loginFromSignupModal: (browser) ->

    user = utils.getUser()
    url  = helpers.getUrl()
    browser
      .url(url)
      .maximizeWindow()

    browser
      .waitForElementVisible  '[testpath=main-header]', 50000
      .click                  'nav:not(.mobile-menu) [testpath=login-link]'
      .waitForElementVisible  '[testpath=login-container]', 50000
      .click                  '.login-footer .signup-link a.register'
      .setValue               '.main-part [testpath=register-form-email]', user.email
      .setValue               '.main-part input[name=password]', user.password
      .click                  '.main-part [testpath=signup-button]'

utils    = require '../utils/utils.js'
helpers  = require '../helpers/helpers.js'
HUBSPOT  = yes


module.exports =

