foreman icon indicating copy to clipboard operation
foreman copied to clipboard

Fixes #37789 - Add snapshot tests for global_registration.erb

Open goarsna opened this issue 1 year ago • 2 comments

In the course of #9808 @sbernhard and I were talking about adding snapshot tests for the Global Registration template.

As adding sensible and reasonable tests for the Global Registration template with various variables set is not as easy as hoped in the beginning and to not block the original PR unnecessarily, I created this PR for adding snapshot tests for the Global Registration template.

goarsna avatar Sep 05 '24 10:09 goarsna

I think that this is a good start. As you said, it would be nice to add more parameters to test against. However, those parameters come in from the API call, so not sure how to set them in the context of template generation.

nadjaheitmann avatar Oct 16 '24 06:10 nadjaheitmann

@goarsna Can you please rebase?

sbernhard avatar Oct 09 '25 19:10 sbernhard