Increase width used in Java window size tests
Chrome version 69 requires a larger minimum width compared to previous
versions of Chrome, and can cause some window size tests to fail.
Increasing the size used in the tests to compensate.
@@ -139,7 +139,7 @@ public void testCanMaximizeTheWindow() {
assumeFalse(TestUtilities.getEffectivePlatform(driver).is(ANDROID));
assumeNotLinuxAtSauce();
- changeSizeTo(new Dimension(450, 273));
+ changeSizeTo(new Dimension(640, 273));
maximize();
}
@@ -153,7 +153,7 @@ public void testCanMaximizeTheWindowFromFrame() {
assumeNotLinuxAtSauce();
driver.get(pages.framesetPage);
- changeSizeTo(new Dimension(450, 274));
+ changeSizeTo(new Dimension(640, 274));
driver.switchTo().frame("fourth");
maximize();
@@ -169,7 +169,7 @@ public void testCanMaximizeTheWindowFromIframe() {
assumeNotLinuxAtSauce();
driver.get(pages.iframePage);
- changeSizeTo(new Dimension(450, 275));
+ changeSizeTo(new Dimension(640, 275));
driver.switchTo().frame("iframe1-name");
maximize();
