Skip to content

Commit 90ca807

Browse files
authored
Skip 14 pixel at the bottom of mobile tests. (#2225)
#2224
1 parent c83cb81 commit 90ca807

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

visualmetrics/visualmetrics-portable.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -622,7 +622,7 @@ def find_image_viewport(file, is_mobile):
622622
# On mobile we need to ignore the top ~10 pixels because
623623
# there is a visible progress bar there on some browsers.
624624
viewport["y"] += 10
625-
viewport["height"] -= 10
625+
viewport["height"] -= 14
626626

627627
except Exception:
628628
viewport = None

0 commit comments

Comments
 (0)