Creating test fixtures for Active Storage image attachments is laborious but possible:
https://stackoverflow.com/a/55835955/312681
This is great if you serve the original image in your tests, but in our case we use variants to serve an optimised version.
I want to create test fixtures for the image variant not the original file, so that the variant is already present and not created by the first request for it. Any ideas how to do this?