Skip to content

Conversation

@drecali
Copy link
Contributor

@drecali drecali commented Feb 15, 2022

The code example for cy.realMouseMove is using cy,realMouseUp

Currently the code example for cy.realMouseMove in README.md is:

cy.get("sector").realMouseUp(50, 50, { position: "center" }); // moves by 50px x and y from center of sector

I think the correct example should be:

cy.get("sector").realMouseMove(50, 50, { position: "center" }); // moves by 50px x and y from center of sector

Link to relevant README section https://github.com/dmtrKovalenko/cypress-real-events#cyrealmousemove

Link to the specific text I'm referring to: https://github.com/dmtrKovalenko/cypress-real-events#:~:text=cy.get(%22sector%22).-,realmouseup(50%2C%2050,-%2C%20%7B%20position%3A%20%22center%22%20%7D)%3B%20%2F%2F%20moves

Closes #232

Thanks again for creating and maintaining such a useful Cypress plugin!

The example for `cy.realMouseMove` was using `cy,realMouseUp`
@dmtrKovalenko dmtrKovalenko merged commit e9ca39f into dmtrKovalenko:develop Feb 15, 2022
@drecali drecali deleted the patch-1 branch February 15, 2022 05:40
dmtrKovalenko pushed a commit that referenced this pull request Jun 26, 2022
The example for `cy.realMouseMove` was using `cy,realMouseUp`
@dmtrKovalenko
Copy link
Owner

🎉 This PR is included in version 1.7.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Typo in cy.realMouseMove code example in README

2 participants