glance-webdriver
Version:
Automation at a glance
17 lines (14 loc) • 396 B
JavaScript
import {createGlance} from "./test-helper"
let glance;
describe('Drag and Drop', function () {
beforeEach(function() {
glance = createGlance();
return glance.url("file:///" + __dirname + "/examples/drag-and-drop.html")
});
afterEach(function(){
glance.end();
})
it("should drag and drop an item", function() {
return glance.dragAndDrop("item-1", "item-2")
});
});