 
         if result.value.length isnt 0 then doClose()
         if length - 1 > 0 then close()
+
 
     close()
 

    browser.pause 5000 # wait for snapshot restore

    handleSelector = panelSelector + ' .kdtabhandle.kddraggable'

    doClose = ->
      browser
        .moveToElement handleSelector, 5, 5
        .click         handleSelector + ' .close-tab'
        .pause         300


    close = ->

filesTabSelector    = '.ide-files-tab .file-container'

module.exports =


  openNewFile: (browser) ->

