Skip to content

Commit

Permalink
Increase maxColorDiff to 20
Browse files Browse the repository at this point in the history
This is to supress the test flakness after switching to use
BrowserWebDriverContainer to provision browser and webdriver
service.
  • Loading branch information
hstonec committed Jun 18, 2019
1 parent 65bfd77 commit 262eccd
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -58,7 +58,7 @@ public final class WebDriverPlusScreenDifferRule extends ExternalResource
// the sum of the absolute difference between the values of the RGB channels. So a 120,30,200
// reference pixel and a 122,31,193 result pixel have a difference of 10, and would be considered
// identical if MAX_COLOR_DIFF=10
private static final int MAX_COLOR_DIFF = 10;
private static final int MAX_COLOR_DIFF = 20;

// Percent of pixels that are allowed to be different (more than the MAX_COLOR_DIFF) between the
// images while still considering the test to have passed. Useful if there are a very small
Expand Down

0 comments on commit 262eccd

Please sign in to comment.