Cypress runner viewport shrinks after cy.visit() #30216
matt-vrtula
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
After a simple visit, the runner viewport suddenly shrinks in size and it stays like that when I run other tests:
The test runs fine till the end, but it is very uncomfortable to continue working. I´ve attached a screenshot of the result. It happens consistently for me under these conditions:
What I have tried so far with no result:
The minimal reproducible example in my case is:
beforeEach(() => { cy.viewport('iphone-x') }) it('Thhis is it', () => { cy.visit('https://www.kimbino.sk/101-drogerie/101-drogerie-letak-od-stredy-04-09-2024-2794364/') })
Just wait a few seconds after the test passes and then move the mouse around.
The current Cypress version is 13.12.0, running on Windows 10. This issue persists over 20 months.
Beta Was this translation helpful? Give feedback.
All reactions