e2ed
Version:
E2E testing framework over Playwright
14 lines (13 loc) • 544 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.dragToElement = void 0;
const log_1 = require("../utils/log");
/**
* Drags an element onto another one.
*/
const dragToElement = (selector, destinationSelector, { stabilizationInterval, ...options } = {}) => {
(0, log_1.log)('Drag an element onto another one', { destinationSelector, ...options, selector, stabilizationInterval }, 5 /* LogEventType.InternalAction */);
// TODO
return Promise.resolve();
};
exports.dragToElement = dragToElement;