Skip to content

Commit 1d57a61

Browse files
committed
hotfix: prevent to skip the big change
1 parent c5ad669 commit 1d57a61

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/capybara/screenshot/diff/drivers/vips_driver.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ def find_difference_region(comparison)
2323

2424
diff_mask = VipsUtil.difference_mask(base_image, new_image, options[:color_distance_limit])
2525
region = VipsUtil.difference_region_by(diff_mask)
26-
region = nil if region && same_as?(region, base_image)
26+
# TODO: schedule research when we got this case for VIPs
27+
# region = nil if region && same_as?(region, base_image)
2728

2829
result = Difference.new(region, {}, comparison)
2930

0 commit comments

Comments
 (0)