This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
Flaky test: Dragging and dropping files #1175
Open
Description
https://ci.appveyor.com/project/Atom/tree-view/build/364/job/ia7chigt87914irl in #1173
Looks like all the d&d specs timed out.
TreeView
Dragging and dropping files
when dropping a FileView onto a DirectoryView's header
it should move the file to the hovered directory
timeout: timed out after 60000 msec waiting for directory view contents to refresh
when dropping a DirectoryView onto a DirectoryView's header
it should move the directory to the hovered directory
Expected { onDragLeave : Function, onDragEnter : Function, onStylesheetsChanged : Function, id : 346, element : HTMLNode, list : HTMLNode, disposables : { disposables : Set {[object Object][object Object][object Object][object Object][object Object][object Object][object Object][object Object][object Object][object Object][object Object][object Object]} }, emitter : { handlersByEventName : { entry-moved : [ Function ], entry-deleted : [ Function ], did-destroy : [ Function, Function ] } }, roots : [ HTMLNode ], selectedPath : 'C:\projects\tree-view\spec\fixtures\root-dir1', ignoredPatterns : [ ], useSyncFS : false, currentlyOpening : { }, dragEventCounts : { }, rootDragAndDrop : { treeView : <circular reference: Object>, onDrop : Function, onDropOnOtherWindow : Function, onDragOver : Function, onDragEnd : Function, onDragLeave : Function, onDragStart : Function } } to be undefined.
at jasmine.Spec.<anonymous> (file:///C:/projects/tree-view/spec/tree-view-package-spec.coffee:46:62)
timeout: timed out after 60000 msec waiting for directory view contents to refresh
it shows a warning notification and does not move the directory if it would result in recursive copying
Expected { onDragLeave : Function, onDragEnter : Function, onStylesheetsChanged : Function, id : 346, element : HTMLNode, list : HTMLNode, disposables : { disposables : Set {[object Object][object Object][object Object][object Object][object Object][object Object][object Object][object Object][object Object][object Object][object Object][object Object]} }, emitter : { handlersByEventName : { entry-moved : [ Function ], entry-deleted : [ Function ], did-destroy : [ Function, Function ] } }, roots : [ HTMLNode ], selectedPath : 'C:\Users\appveyor\AppData\Local\Temp\1\tree-view11784-1292-15955u.xbljvy4x6r\gamma\theta\theta.txt', ignoredPatterns : [ ], useSyncFS : false, currentlyOpening : { }, dragEventCounts : { }, rootDragAndDrop : { treeView : <circular reference: Object>, onDrop : Function, onDropOnOtherWindow : Function, onDragOver : Function, onDragEnd : Function, onDragLeave : Function, onDragStart : Function } } to be undefined.
at jasmine.Spec.<anonymous> (file:///C:/projects/tree-view/spec/tree-view-package-spec.coffee:46:62)
when dragging a file from the OS onto a DirectoryView's header
it should move the file to the hovered directory
timeout: timed out after 60000 msec waiting for directory view contents to refresh
when dragging a directory from the OS onto a DirectoryView's header
it should move the directory to the hovered directory
Expected { onDragLeave : Function, onDragEnter : Function, onStylesheetsChanged : Function, id : 347, element : HTMLNode, list : HTMLNode, disposables : { disposables : Set {[object Object][object Object][object Object][object Object][object Object][object Object][object Object][object Object][object Object][object Object][object Object][object Object]} }, emitter : { handlersByEventName : { entry-moved : [ Function ], entry-deleted : [ Function ], did-destroy : [ Function, Function ] } }, roots : [ HTMLNode ], selectedPath : 'C:\projects\tree-view\spec\fixtures\root-dir1', ignoredPatterns : [ ], useSyncFS : false, currentlyOpening : { }, dragEventCounts : { }, rootDragAndDrop : { treeView : <circular reference: Object>, onDrop : Function, onDropOnOtherWindow : Function, onDragOver : Function, onDragEnd : Function, onDragLeave : Function, onDragStart : Function } } to be undefined.
at jasmine.Spec.<anonymous> (file:///C:/projects/tree-view/spec/tree-view-package-spec.coffee:46:62)
timeout: timed out after 60000 msec waiting for directory view contents to refresh
when dragging a file and directory from the OS onto a DirectoryView's header
it should move the file and directory to the hovered directory
Expected { onDragLeave : Function, onDragEnter : Function, onStylesheetsChanged : Function, id : 347, element : HTMLNode, list : HTMLNode, disposables : { disposables : Set {[object Object][object Object][object Object][object Object][object Object][object Object][object Object][object Object][object Object][object Object][object Object][object Object]} }, emitter : { handlersByEventName : { entry-moved : [ Function ], entry-deleted : [ Function ], did-destroy : [ Function, Function ] } }, roots : [ HTMLNode ], selectedPath : 'C:\projects\tree-view\spec\fixtures\root-dir1', ignoredPatterns : [ ], useSyncFS : false, currentlyOpening : { }, dragEventCounts : { }, rootDragAndDrop : { treeView : <circular reference: Object>, onDrop : Function, onDropOnOtherWindow : Function, onDragOver : Function, onDragEnd : Function, onDragLeave : Function, onDragStart : Function } } to be undefined.
at jasmine.Spec.<anonymous> (file:///C:/projects/tree-view/spec/tree-view-package-spec.coffee:46:62)
timeout: timed out after 60000 msec waiting for directory view contents to refresh
the alwaysOpenExisting config option
it defaults to unset
Expected { onDragLeave : Function, onDragEnter : Function, onStylesheetsChanged : Function, id : 347, element : HTMLNode, list : HTMLNode, disposables : { disposables : Set {[object Object][object Object][object Object][object Object][object Object][object Object][object Object][object Object][object Object][object Object][object Object][object Object]} }, emitter : { handlersByEventName : { entry-moved : [ Function ], entry-deleted : [ Function ], did-destroy : [ Function, Function ] } }, roots : [ HTMLNode ], selectedPath : 'C:\projects\tree-view\spec\fixtures\root-dir1', ignoredPatterns : [ ], useSyncFS : false, currentlyOpening : { }, dragEventCounts : { }, rootDragAndDrop : { treeView : <circular reference: Object>, onDrop : Function, onDropOnOtherWindow : Function, onDragOver : Function, onDragEnd : Function, onDragLeave : Function, onDragStart : Function } } to be undefined.
at jasmine.Spec.<anonymous> (file:///C:/projects/tree-view/spec/tree-view-package-spec.coffee:46:62)