Skip to main content
No Result Found

Define Regions via UI

Learn how to define and configure regions in App Percy for precise visual testing.

The Regions feature in App Percy allows you to define specific areas of your UI for targeted visual testing. Regions can be drawn, selected, and configured directly within the Percy dashboard’s review screen. By default, regions are linked to DOM elements, but you can modify this configuration based on your testing needs.

Select a build, open a snapshot, and click Apply Regions on the review screen of the App Percy dashboard.

Ways to apply a Region

By default, regions are:

  • Set to the Ignore all rule.
  • Editable via the Region settings UI.

Once you unlink a region, resize handles appear so you can manually adjust its size and position. However, the region becomes fixed and no longer adapts to changes in layout. If you apply it across different widths or browsers, the results may be inaccurate if the original element’s position varies.

Region settings

When a region is selected, the Region settings panel appears. Here, you can choose the desired region rule:

  • Ignore all
  • Standard (Pixel-based)

See the following sections for a detailed explanation of each rule.

Ignore all

Ignores all completely and excludes all visual changes within the defined region from visual testing.

Ignore all regions rule in App Percy

Standard (Pixel-based)

Detects pixel-level changes within the region.

  • Click Diff sensitivity to adjust detection levels, you can choose from Strict, Moderately Strict, Recommended, Moderately Relaxed, and Relaxed.
  • Use Diff ignore to ignore minor changes below a specified percentage threshold.

standard regions rule in App Percy

Functionality available for Regions

  • Draw and resize regions.
  • Copy regions.
  • Apply region configurations across other defined regions.
  • Delete regions.
  • Move regions.
  • Multi-select regions to manage configurations in bulk.

The Regions feature in App Percy helps fine-tune visual testing by allowing you to control how specific areas of a page are compared. Use it to ignore dynamic content, detect layout shifts, and ensure meaningful visual testing results across different browsers and resolutions.

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