Ignore or Select Annotated Regions
Web applications often have dynamic elements that can cause unnecessary noise in your visual testing. Take a social media platform, for instance. The number of unread notifications displayed might change with each test run. While these variations are expected, you don't necessarily want them to trigger alerts as potential regressions.
The SmartUI Annotation tool allows you to interact directly with your screenshots through detailed annotations. You can draw over screenshots, define regions with boxes, and choose to ignore or select these regions for current and future comparisons.
By utilizing ignored/selected regions, you can keep your test results focused on the truly important changes, streamlining your workflow and saving you time from chasing irrelevant discrepancies.
Key Features of Annotation Tool
-
Drawing Over Screenshots: Easily draw on compared screenshots to ignore/select specific elements, enhancing clarity and focus.
-
Drawing Boxes: Use the 'Draw Cursor' option and 'Add Region' button to draw and manage multiple boxes. Each box’s size is indicated, ensuring precise and informative annotations.
-
Saving Changes : After drawing, a dialogue popup will allow you to apply your annotations to the current screenshot or all browser variants of this screenshot.
-
Updating Compared Screenshots : Annotations on compared screenshots will trigger a re-run of the comparison, ensuring that specified regions are reflected in both current and future builds.
-
Visibility of Annotations : Control the visibility of your annotations in both parallel and landscape views with a new toggle, default set to off, ensuring a clean visual field when not needed.
-
Tooltip Information : When the 'Annotations' toggle is on, hovering over a box displays a tooltip with detailed information, including the box dimensions and its status as an ignored or selected area.
-
Applicable for Every Project Type: This feature is compatible with every project type, efficiently handling dynamic data where code-based ignore/select is not supported.
Steps to Implement Smart UI Annotation Tool
Step 1: Click on the Actions button to configure areas.

Step 2: Click on the Add Region button to configure the Required Area and click on the Save button.

Step 3: After saving, choose whether to ignore or select the regions and specify if the changes apply to the specific screenshot or all browser variants of the selected viewport.

Step 4: You can use the annotations switch to view/analyze your ignored/selected areas.

The following configured area will be ignored in every consecutive build for the same screenshot test case.

You can always edit/delete the pre-configured areas or add new ones according to your requirements.
How to Delete a Selected/Ignored Region?
Step 1: Click on the Actions button.
Step 2: Delete all your selected regions from the screenshot.
Step 3: Click on the Save button to delete the ignored/selected area.
