Sensitivity threshold per screenshot
It is now possible to specify a sensitivity threshold for each screenshot. This enhancement enables you to adjust the sensitivity based on the nature of the application being tested.
For example, the Mermaid team, who use Argos to test their diagrams, can reduce the sensitivity threshold for their less flaky content. This ensures that your visual tests are more accurate and reduces false positives, providing you with more reliable results.
- Reduce false positives: Especially useful for less flaky content like Mermaid diagrams, leading to more consistent and dependable visual testing.
- Enhanced flexibility: Gives you greater control over your visual testing process, allowing for more nuanced adjustments and improved test outcomes.
The threshold
option is now available in all SDKs under the argosScreenshot
options. You can also apply it directly via the command line using the --threshold
flag, which will be applied to all screenshots.