feat(tests): add drag
This commit is contained in:
@@ -30,4 +30,4 @@ Cypress.Commands.add('drag', (selector, { x, y }) => {
|
||||
.trigger('mousedown', { which: 1 })
|
||||
.trigger('mousemove', { clientX: x, clientY: y })
|
||||
.trigger('mouseup', { force: true });
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user