           tableEditorButton = csvEditorElement.form.openTableEditorButton
           click(tableEditorButton)
 
-        waitsFor -> tableEditor?
+        waitsFor 'table editor created', -> tableEditor?
 
       it 'uses this layout to setup the display table', ->
         expect(tableEditor.getScreenRowHeightAt(1)).toEqual(100)

      describe 'when resaved', ->
        it 'recreates the file on disk', ->
          fsp.removeSync(csvDest)
          waitsFor -> deleteSpy.callCount > 0
          runs -> expect(fs.existsSync(csvDest)).toBeFalsy()
          waitsForPromise -> csvEditor.save()
          runs -> expect(fs.existsSync(csvDest)).toBeTruthy()

          textEditorButton = csvEditorElement.form.openTextEditorButton
          click(textEditorButton)

        waitsFor 'destroy callback called', -> destroySpy.callCount > 0

      it 'opens a new text editor for that file', ->
        expect(atom.workspace.getActiveTextEditor()).toBeDefined()
