Percy provides three grouping options for managing snapshots:
- - Snapshot Grouping with Matching Diffs
- - Group Snapshot by Test Case Name
- - Group by Visual Changes (AI-powered)
In Snapshot Grouping with Matching Diffs, Percy automatically identifies and groups snapshots that exhibit the same visual changes. This feature streamlines the review process by saving time and effort when analyzing builds. For more information, see the Snapshot grouping with matching diffs page.
Group Snapshot by Test Case Name organizes snapshots based on their associated test case names. This approach enhances the organization of snapshots, offering clarity and structure throughout the testing process. For more information, see the Group snapshot by test case name page.
Group by Visual Changes leverages Percy’s Visual Review Agent to analyze build screenshots and summarize key visual updates. It reorganizes snapshots under the type of visual change (e.g., "Text color changed" or "Header section added"), allowing you to quickly prioritize high-impact changes and spot regressions without reviewing every snapshot individually. For more information, see the AI visual change summaries page.
These grouping options allow you to tailor your snapshot management to your specific needs. You can switch between these options as needed to optimize your testing workflows, ensuring alignment with your team's naming conventions and review requirements for optimal results.