Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Commit 66c9fd8

Browse files
committed
Merge pull request #9182 from adobe/jeff/image-test-update
Update drag and drop images test
2 parents cc10c4c + 00522f0 commit 66c9fd8

3 files changed

Lines changed: 2 additions & 2 deletions

File tree

test/spec/DragAndDrop-test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,14 +139,14 @@ define(function (require, exports, module) {
139139
it("should add images to the working set when they dropped from outside the project", function () {
140140
var imagesPath = SpecRunnerUtils.getTestPath("/spec/test-image-files");
141141
runs(function () {
142-
var files = [imagesPath + "/thermo.jpg", imagesPath + "/check.png"];
142+
var files = [imagesPath + "/thermo.jpg", imagesPath + "/eye.jpg"];
143143
promise = DragAndDrop.openDroppedFiles(files);
144144
waitsForDone(promise, "opening last image file from the dropped files");
145145
});
146146

147147
runs(function () {
148148
expect(MainViewManager.findInWorkingSet(MainViewManager.ALL_PANES, imagesPath + "/thermo.jpg")).toNotEqual(-1);
149-
expect(MainViewManager.findInWorkingSet(MainViewManager.ALL_PANES, imagesPath + "/check.png")).toNotEqual(-1);
149+
expect(MainViewManager.findInWorkingSet(MainViewManager.ALL_PANES, imagesPath + "/eye.jpg")).toNotEqual(-1);
150150
});
151151
});
152152
});
-4.96 KB
Binary file not shown.

test/spec/test-image-files/eye.jpg

61.6 KB
Loading

0 commit comments

Comments
 (0)