I´m new to testing and cypress. I´m doing automated testing of a tool which crops an image and I have an issue that cant solve.
Here is screenshot of the tool
So my code to drag one point of this tool is this, but don't work.
cy.get('.point-w').trigger('mousedown',)
.trigger('mousemove', { clientX: 5, clientY:0})
.trigger('mouseup', {force : true})
Don't throw any error but the point doesn't move. And if I check the snapshot of the trigger('mousedown') seems like it clicks there. Look the point.
Thanks all! :D
Aucun commentaire:
Enregistrer un commentaire