'Cypress: how to drag an element towards another dynamic element
In cypress I'm trying to drag one element towards another element?
How can I do that?
It should look something like this
cy.('@firstElememt').trigger('drag').to('@secondElement').trigger('drop');
The problem is that the second element location is dynamic.
Solution 1:[1]
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | A J |