You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running screenshot tests on the same OS as the reference screenshots were run on can help ensure the screenshot comparisons are more similar. Ex. run screenshot tests on MacOS
Probably want to still run the rests of the RSpec test suite on an environment more similar to a production one (linux)
Splitting out the screenshot tests can allow this. It would also allow for independent scaling of the runner for the screenshot tests if those tests end up running slow compared with other RSpec tests.
The approach would involve having a new spec directory, something like spec/screenshot_specs that could then be ignored when the rest of the RSpec suite is run. This could be done using the --pattern cmd line arg
The text was updated successfully, but these errors were encountered:
Splitting out the screenshot tests can allow this. It would also allow for independent scaling of the runner for the screenshot tests if those tests end up running slow compared with other RSpec tests.
The approach would involve having a new spec directory, something like
spec/screenshot_specs
that could then be ignored when the rest of the RSpec suite is run. This could be done using the--pattern
cmd line argThe text was updated successfully, but these errors were encountered: