bbc / wraith

Wraith — A responsive screenshot comparison tool

Home Page:http://bbc-news.github.io/wraith/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Feature request] Not include errors below threshold

mramitanand opened this issue · comments

HI I guess this is more a feature request if possible? I have set threshold on runs for any pages with errors above 10% which works great - when it finishes its run it shows a report on screen of the pages that have errors above 10 but when it generates the gallery, it also includes the pages that errors below 10% in shots dir/gallery.html. Is there anyway to exclude those with less than 10% from being included? Thanks

Addition: Also not to include anything below threshold into the thumbnails gallery directory this just takes up space.

Hmm, we have:

#Choose how results are displayed, by default alphanumeric. Different screen widths are always grouped.​#alphanumeric - all paths (with, and without, a difference) are shown, sorted by path​#diffs_first - all paths (with, and without, a difference) are shown, sorted by difference size (largest first)​#diffs_only - only paths with a difference are shown, sorted by difference size (largest first)​
mode: diffs_first

Sounds like you would like a diffs_above_threshold option for mode. This isn't implemented yet, but we would be happy to review a PR!