I have react Dnd(Drag and drop) in my application. i'd like to do e2e testing for that.
what i want to simulate is Drag particular data and drop to particular place. How do i enable this?
what i have is:
test.js
const mouse = page.mouse;
await mouse.down();
await mouse.move(126, 19);
await page.waitFor(400);
Using this code selection is done. but drag is not working. How should i implement this?
Aucun commentaire:
Enregistrer un commentaire