Closed JamesPHoughton closed 11 months ago
Currently window sizes are not fixed, leading to screenshots having small diffs each time they are re-rendered. If we fix a specific screen size (probably a default, and then modify it for each test?) then we might have fewer diffs
Here's the cypress command to set the viewport size: https://docs.cypress.io/api/commands/viewport I'll let you figure out what the right size should be.
closed in https://github.com/Watts-Lab/surveys/pull/156
Currently window sizes are not fixed, leading to screenshots having small diffs each time they are re-rendered. If we fix a specific screen size (probably a default, and then modify it for each test?) then we might have fewer diffs