Fixes #27512 - Provide a way of overriding template snapshots in tests
This commit allows us to provide multiple snapshot variants for each template. When we test the template renderer, the rendered template has to match at least one of the snapshot variants to allow the test to pass. This is useful when the template contains plugin-specific bits.
Related issues
Bug #27512: Plugin tests can fail due to template snapshot tests
Fixes #27512 - Provide a way of overriding template snapshots in tests
This commit allows us to provide multiple snapshot variants for each
template. When we test the template renderer, the rendered template has
to match at least one of the snapshot variants to allow the test to
pass. This is useful when the template contains plugin-specific bits.