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

Investigate issues with Cy.viewport #3115

Open
MI6-286 opened this issue Jan 30, 2025 · 0 comments
Open

Investigate issues with Cy.viewport #3115

MI6-286 opened this issue Jan 30, 2025 · 0 comments

Comments

@MI6-286
Copy link
Contributor

MI6-286 commented Jan 30, 2025

Summary

When running Cypress tests in Open Mode, it appears that Cy.viewport does not work consistently. Usually, there are no issues on the first run, but rerunning the tests causes changes in the viewport/ resulting snapshot. This causes the visual regression tests to fail until the Cypress UI is restarted.

💬 Description

This task is to investigate the issue and resolve so that Cypress tests pass consistently when run in Open Mode, without needing to restart the Cypress UI.

Why do we need it?

It can be frustrating when running tests and cause users to think that there are issues with the components when the visual regression snapshots differences are not within the threshold.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant