Skip to content

The drag action doesnt work without move the mouse and there is no .then() for drag #146

@mohamadnoor991

Description

@mohamadnoor991

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()'

Screenshot 2023-12-12 153250

I hope to solve this problem so quickly to help us to use it without problems.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions