cypress-io / cypress

Fast, easy and reliable testing for anything that runs in a browser.
https://cypress.io
MIT License
47.53k stars 3.2k forks source link

`experimentalWebKitSupport`: Set `devicePixelRatio` #23808

Open flotwig opened 2 years ago

flotwig commented 2 years ago

In other browsers, we set a standard devicePixelRatio. One reason for this is so that screenshot diffs can match whether a user runs them locally with 2x DPI or in CI with 1x DPI. It also causes fuzzy text on 2x displays: image

This also needs to be set in WebKit.

github-actions[bot] commented 1 year ago

placeholder

bitcoinBandit1234 commented 1 year ago

It seems no one has taken this issue. can you please elaborate a bit on how you want the "devicePixelRatio" to be handled?

nagash77 commented 1 year ago

Hi @bitcoinBandit1234 are you interested in picking up this ticket and opening a PR?