-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Open
Labels
type: featureNew feature that does not currently existNew feature that does not currently exist
Description
I'm following the advice here :
https://docs.cypress.io/api/commands/viewport.html#devicePixelRatio
Current behavior:
Actually we can't simulate pixelRatio/pixelDensity with Cypress.
It can be very useful for testing correct behavior around responsive images.
Desired behavior:
Have the possibility to switch the DevicePixelRatio in cypress.
Viewport dimension changes and testing the currentSrc
is already very useful.
Having DevicePixelRatio in cypress would enable finer tests.
Test code to reproduce
Not applicable as it's not implemented.
It could be another option to cy.viewport()
BrianVia, johallar, kepi, shandrolis, aditya-agarwal and 41 morecodingnuclei, wluu, aSegatto, katspaugh and Marlarn
Metadata
Metadata
Assignees
Labels
type: featureNew feature that does not currently existNew feature that does not currently exist