     filename  = paragraph.split(' ')[0] + '.txt'
 
     browser
-      .waitForElementVisible    'li.new-file', 5000
+      .waitForElementVisible    'li.new-file', 50000
       .click                    'li.new-file'
       .waitForElementVisible    'li.selected .rename-container .hitenterview', 5000
       .clearValue               'li.selected .rename-container .hitenterview'
       .setValue                 'li.selected .rename-container .hitenterview', filename + '\n'
+      .pause                    2000 # required
       .waitForElementPresent    "span[title='" + webPath + '/' + filename + "']", 5000 # Assertion
 
     return filename

  doLogin: (browser, user) ->

    browser
      .waitForElementVisible  '[testpath=main-header]', 5000
      .click                  '#main-header [testpath=login-link]'
      .waitForElementVisible  '[testpath=login-container]', 5000
      .setValue               '[testpath=login-form-username]', user.username
      .setValue               '[testpath=login-form-password]', user.password
      .click                  '[testpath=login-button]'

    webSelector   = "span[title='" + webPath + "']"

    browser
      .waitForElementVisible   '.vm-header', 50000
      .click                   '.vm-header .buttons'
      .waitForElementPresent   '.context-list-wrapper', 50000
      .click                   '.context-list-wrapper .refresh'
      .waitForElementVisible   webSelector, 10000
      .click                   webSelector
