   splitPanesHorizontally: (browser) ->
 
     helpers.beginTest(browser)
+    helpers.waitForVMRunning(browser)
 
     browser
       .waitForElementVisible '.panel-1', 20000


  collapse: (browser) ->

    user        = helpers.beginTest(browser)
    webPath     = '/home/' + user.username + '/Web'
    webSelector = "span[title='" + webPath + "']"
    file        = "span[title='" + webPath + '/' + 'index.html' + "']"

  splitPanesVertically: (browser) ->

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

    browser
      .waitForElementVisible '.panel-1', 20000
