Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(#317): Coordinates detection is not correct when base viewport is scaled #323

Conversation

Im-a-Train
Copy link
Contributor

@Im-a-Train Im-a-Train commented Nov 9, 2022

This pull request fixes the problems described here:
#317

@@ -66,7 +66,7 @@ describe("cy.realClick", () => {

it("right click should only report secondary button being pressed", () => {
cy.get(".navbar-brand").then(($navbarBrand) => {
$navbarBrand.get(0).addEventListener("contextmenu", (ev) => {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we please do no change the tests?

@dmtrKovalenko dmtrKovalenko changed the title Fix/wrong coordinates on viewport scaling issue 317 fix(#317): Coordinates detection is not correct when base viewport is scaled Nov 10, 2022
@dmtrKovalenko dmtrKovalenko merged commit b5cb7da into dmtrKovalenko:develop Nov 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants