Skip to main content
Drags from one target and drops onto another. There is no simplified form. from and to are required.

Parameters

ParameterTypeRequiredDescription
fromstringYesDrag source description or percent pair.
tostringYesDrop target description or percent pair.
hoverDurationnumberNoMilliseconds to hold before starting the drag.
dragDurationnumberNoMilliseconds the drag gesture takes.
saveAsstringNoVariable to store this step’s return value on env.<name>.
retriesnumberNoTimes to retry the step on failure before failing the test.
skippedbooleanNoSkip this step at execution time.

Examples

- dragAndDrop:
    from: the "Draft" card
    to: the "Done" column
    dragDuration: 800 # slow the gesture so the drop registers