 
   createNewFileFromMachineHeader: (browser) ->
 
-    user          = helpers.beginTest(browser)
+    user = helpers.beginTest(browser)
+
+    helpers.waitForVMRunning(browser)
+
     filePath      = '/home/' + user.username
     paragraph     = helpers.getFakeText()
     fileName      = paragraph.split(' ')[0] + '.txt'


  makeTopFolder: (browser) ->

    user           = helpers.beginTest(browser)
    webPath        = '/home/' + user.username + '/Web'
    filename       = helpers.createFile(browser, user)
    webSelector    = "span[title='" + webPath + "']"


  splitPanesUndo: (browser) ->

    helpers.beginTest(browser)
    helpers.waitForVMRunning(browser)

    helpers.splitPanesUndo(browser)
    browser.end()


  undoSplitPanesNotShowOnList: (browser) ->

    helpers.beginTest(browser)
    helpers.waitForVMRunning(browser)
    helpers.splitPanesUndo(browser)

    browser
