Skip to content

Latest commit

 

History

History
 
 

testing-dom__drag-drop

drag-n-drop

Performing Drag & Drop by triggering mouse and drag events

See test file cypress/integration/drag_n_drop_spec.js that shows how to simulate drag & drop behavior using

  • mouse events
  • drag events

In both cases, the tests use cy.trigger command.

Alternatively use cypress-file-upload if you test file upload with drag-n-drop component