Open matt-vrtula opened 6 days ago
I'm not seeing this behavior when I run this test and follow your instructions, maybe some more specifics might help narrow it down (or maybe it is an issue only in Windows??)
cypress open
when this happens? This behavior really makes no sense to me and I haven't seen it before. It's almost like the logic of the viewport resizing has jumped up to the outward-most window.
this is my current configuration: `const { defineConfig } = require('cypress')
module.exports = defineConfig({ defaultCommandTimeout: 10000, runInCICD: false, e2e: { env:{ grepFilterSpecs: true, googleCookiesActive: true, countryId: 'sk', baseUrl: 'https://www.kimbino.sk', trackerUrl: 'https://tracker.prod.ams3.k8s.hyperia.sk/api/v1', scheduleName: '', }, baseUrl: 'https://www.kimbino.sk', specPattern: '*/.cy.js', chromeWebSecurity: false, modifyObstructiveCode: false, keyStrokeDelay: 200, requestTimeout: 20000, hideXHR: true, experimentalMemoryManagement: true, numTestsKeptInMemory: 30, video: false, screenshotOnRunFailure: false, grepFilterSpecs: true, }, })`
The error appears in Chrome 128 and in Edge 128. There´s no problem in Electron. Firefox is not working for some reason, so I couldn´t check.
I am running npx cypress open
command to open the gui. The viewport shrinks also when running via npx cypress run --browser chrome --headed --spec ...
There are no extensions installed.
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:
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.
Originally posted by @matt-vrtula in https://github.com/cypress-io/cypress/discussions/30216