I am using this plugin in my Cypress test for the first time, and I wasted time until I discovered these two problems.
cy,dray('.deoped-element').get('#dropping-place");
This code will not work if we don't hover over the zone of the drop-by mouse; either way, it will fail.
Also, in the documentation, there is partly shows that we can use .then with drag to test the drag action, but when I tried that, it showed me an error that '.then()" is not define for 'drag()'
I hope to solve this problem so quickly to help us to use it without problems.
I am using this plugin in my Cypress test for the first time, and I wasted time until I discovered these two problems.
cy,dray('.deoped-element').get('#dropping-place");
This code will not work if we don't hover over the zone of the drop-by mouse; either way, it will fail. Also, in the documentation, there is partly shows that we can use .then withdrag
to test the drag action, but when I tried that, it showed me an error that'.then()"
is not define for'drag()'
I hope to solve this problem so quickly to help us to use it without problems.