Skip to main content
No Result Found

Apply on-demand snapshot rules

Explore how to apply different types of diffing algorithms at a snapshot level.

You can now select a diffing algorithm for each snapshot to reduce false positives and speed up visual reviews. This gives you more control over how Percy flags changes during visual reviews and helps reduce false positives caused by minor or dynamic changes.

When reviewing a snapshot, choose from the following algorithms:

  • Diff sensitivity: Allows minor visual variations without triggering diffs. For more information, see Diff sensitivity.
  • Intelli-Ignore: Automatically ignores dynamic content. For more information, see Intelli-Ignore.
  • Layout: Focuses on structural differences. For more information, see Layout testing.

Steps

Step 1: Open the snapshot and click the Diffing Algorithm icon.

Diffing Algorithm icon

Step 2: Choose a diffing algorithm.

Diffing Algorithm options

  • Select Diff sensitivity to adjust detection levels. Choose from Strict, Moderately strict, Recommended, Moderately relaxed, or Relaxed.

Diff sensitivity options

  • Select Intelli Ignore, then use the Snapshot Intelli Ignore UI to:
    • Set the image diff ignore percentage.
    • Switch to the Dynamic elements tab and configure it to ignore elements like Carousels, Banners and cookies, Ads, and custom classes. For more information, see Dynamic elements.

Intelli Ignore options

Percy instantly applies the selected rules, auto-saves them, and processes the snapshot using your selected algorithm. These rules apply automatically to all branches and comparisons, and a success notification appears once the process completes.

By enabling algorithm selection per snapshot, you gain more control over how Percy detects visual differences, tailor reviews to your use case and reduce the time spent validating irrelevant changes.

We're sorry to hear that. Please share your feedback so we can do better

Contact our Support team for immediate help while we work on improving our docs.

We're continuously improving our docs. We'd love to know what you liked





Thank you for your valuable feedback

Is this page helping you?

Yes
No

We're sorry to hear that. Please share your feedback so we can do better

Contact our Support team for immediate help while we work on improving our docs.

We're continuously improving our docs. We'd love to know what you liked





Thank you for your valuable feedback!

Talk to an Expert
Download Copy Check Circle