Skip to content

Commit 079f61e

Browse files
committed
Update test to also pass on Windows 7
1 parent badfac7 commit 079f61e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

javascript/chrome-driver/test/atoms_test.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,8 @@
9898
var coord = webdriver.chrome.getLocationInView(
9999
elem, false, new goog.math.Rect(0,0,4,4));
100100
var tolerance = 1;
101-
assertRoughlyEquals(281, coord.x, tolerance);
102-
assertRoughlyEquals(281, coord.y, tolerance);
101+
assertRoughlyEquals(280, coord.x, tolerance);
102+
assertRoughlyEquals(280, coord.y, tolerance);
103103
assertEquals(408, frames[0].document.body.scrollLeft);
104104
assertEquals(408, frames[0].document.body.scrollTop);
105105
}

0 commit comments

Comments
 (0)