Skip to content

Question: Why delete all screenshots in a screenshot group? #6

Description

@mikefogg

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!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions