         expect(symbolsView.error).toBeVisible()
         expect(symbolsView.error.text().length).toBeGreaterThan 0
         expect(symbolsView.loadingArea).not.toBeVisible()
-
-  it "moves the cursor to the selected function", ->
-    waitsForPromise ->
-      atom.workspace.open('sample.js')
-
-    runs ->
-      expect(atom.workspace.getActiveTextEditor().getCursorBufferPosition()).toEqual [0,0]
-      expect($(getWorkspaceView()).find('.symbols-view')).not.toExist()
-      atom.commands.dispatch(getEditorView(), "symbols-view:toggle-file-symbols")
-
-    waitsFor ->
-      $(getWorkspaceView()).find('.symbols-view').find('li').length
-
-    runs ->
-      $(getWorkspaceView()).find('.symbols-view').find('li:eq(1)').mousedown().mouseup()
-      expect(atom.workspace.getActiveTextEditor().getCursorBufferPosition()).toEqual [1,2]
 
   describe "TagGenerator", ->
     it "generates tags for all JavaScript functions", ->

        expect(symbolsView.list.children('li').length).toBe 2
        expect(symbolsView.error).not.toBeVisible()

  describe "when tags can't be generated for a file", ->
    it "shows an error message when no matching tags are found", ->
      waitsForPromise ->
        atom.workspace.open('sample.txt')

      runs ->
        atom.commands.dispatch(getEditorView(), "symbols-view:toggle-file-symbols")


        expect(symbolsView.error).not.toBeVisible()

    it "caches tags until the editor changes", ->
      runs ->
        editor = atom.workspace.getActiveTextEditor()
        atom.commands.dispatch(getEditorView(), "symbols-view:toggle-file-symbols")
