Hey @donv! Excited to get started using this. Seems like it may solve the exact problem we're looking for.
I'm curious, reading over the docs I noticed it says: All files in the screenshot group directory will be deleted when screenshot_group is called..
If it deletes all of the files in a screenshot group when it's called, how can they be used to compare against the new versions? The way I envisioned using screenshot group is like saying, "I want all of these tests to be grouped into a folder like parent/00_child_test.png, parent/01_child_other_test.png, etc.. Then when running that same test with screenshot_group 'parent' and a child test, it would look for that and compare accordingly.
Maybe I'm not understanding groups correctly, but either way I'd love to hear more about why they're deleted when that's called, and the correct way to use groups but still allow for diff comparison.
Thanks!
Hey @donv! Excited to get started using this. Seems like it may solve the exact problem we're looking for.
I'm curious, reading over the docs I noticed it says:
All files in the screenshot group directory will be deleted when screenshot_group is called..If it deletes all of the files in a screenshot group when it's called, how can they be used to compare against the new versions? The way I envisioned using screenshot group is like saying, "I want all of these tests to be grouped into a folder like
parent/00_child_test.png, parent/01_child_other_test.png, etc.. Then when running that same test withscreenshot_group 'parent'and a child test, it would look for that and compare accordingly.Maybe I'm not understanding groups correctly, but either way I'd love to hear more about why they're deleted when that's called, and the correct way to use groups but still allow for diff comparison.
Thanks!