UNPKG

@4tw/cypress-drag-drop

Version:

A cypress child command for drag'n'drop support.

14 lines (11 loc) 286 B
describe('Drag drop', () => { it('should catch no draggable elements', () => { cy.visit('/') cy.setExample('NotDraggable') cy.findByTestId('not-draggable') .drag('[data-testid="target"]') .then((success) => { assert.isFalse(success) }) }) })