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

Cypress doesn't like CSS zoom #29273

Open
savickiyav opened this issue Apr 5, 2024 · 3 comments
Open

Cypress doesn't like CSS zoom #29273

savickiyav opened this issue Apr 5, 2024 · 3 comments
Labels
stage: needs investigating Someone from Cypress needs to look at this type: bug

Comments

@savickiyav
Copy link

savickiyav commented Apr 5, 2024

Current behavior

if zoom is used in css, then the cypress elements are out of place. which leads to incorrect behavior and the inability to select an element
1
2

Desired behavior

Test code to reproduce

cy.get('.login').type('user')

Cypress Version

Cypress package version: 13.6.0 Cypress binary version: 13.6.0

Node version

Bundled Node version: 18.15.0

Operating System

Windows 11 x64

Debug Logs

No response

Other

No response

@jennifer-shehane jennifer-shehane added type: bug stage: needs investigating Someone from Cypress needs to look at this labels Apr 12, 2024
@jennifer-shehane
Copy link
Member

Yah I don’t think we have any code that considers zoom

@cypress-app-bot
Copy link
Collaborator

This issue has not had any activity in 180 days. Cypress evolves quickly and the reported behavior should be tested on the latest version of Cypress to verify the behavior is still occurring. It will be closed in 14 days if no updates are provided.

@cypress-app-bot cypress-app-bot added the stale no activity on this issue for a long period label Oct 10, 2024
@filipkis
Copy link

We're also experiencing this issue. We're going to have to either prevent zoom in tests or use force: true on all the tests, but neither of these would be ideal as they result in us not testing the real UI.

Hope there will be a fix for this soon.

@cypress-app-bot cypress-app-bot removed the stale no activity on this issue for a long period label Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stage: needs investigating Someone from Cypress needs to look at this type: bug
Projects
None yet
Development

No branches or pull requests

4 participants