cypress
cypress copied to clipboard
misc: allow HiDPI Screen running wayland to use cypress window/browser
- Closes #20891
Additional details
-
High demand of HiDPI Screen and multi monitor setups make people tend to use fractional scaling for each their own monitor differently. Problem happens when using chromium based app that can lead to blurriness of the UI. By providing simple flag to the electron arguments
--ozone-platform=auto
which literally can backwards compatible will help Wayland users to use chromium/electron without blurry texts, the flag also compatible with x11 window system if it's the only available option. -
Just small change to add the flag to the spawn.js file
Steps to test
It's already tested here
PR Tasks
- [ ] Have tests been added/updated?
- [ ] Has a PR for user-facing changes been opened in
cypress-documentation
? - [ ] Have API changes been updated in the
type definitions
?
- Create a Draft Pull Request if your PR is not ready for review. Mark the PR as Ready for Review when you're ready for a Cypress team member to review the PR.
@azvyae Thanks for the contribution! Can you add a changelog entry to this? https://github.com/cypress-io/cypress/blob/develop/guides/writing-the-cypress-changelog.md#when-to-add-an-entry
Docs on ozone-platform flag: https://chromium.googlesource.com/chromium/src/+/HEAD/docs/ozone_overview.md
Hey thanks @jennifer-shehane for the reply, just already fixed it. Feel free to ask if there is anything else to do
@azvyae, the failing unit tests are now showing up properly on the CI job:
@azvyae Will you be able to address the failing unit tests?
@azvyae Will you be able to address the failing unit tests? We may need to close the PR if not addressed.
Released in 13.13.3
.
This comment thread has been locked. If you are still experiencing this issue after upgrading to Cypress v13.13.3, please open a new issue.