Skip to content

Commit b3e1356

Browse files
committed
Ignore tests while investigation is going on in
https://code.google.com/p/chromedriver/issues/detail?id=1129
1 parent f5b4f1c commit b3e1356

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

java/client/test/org/openqa/selenium/WindowTest.java

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
import static org.junit.Assert.assertThat;
2424
import static org.junit.Assume.assumeFalse;
2525
import static org.openqa.selenium.Platform.ANDROID;
26+
import static org.openqa.selenium.Platform.LINUX;
2627
import static org.openqa.selenium.testing.Ignore.Driver.MARIONETTE;
2728
import static org.openqa.selenium.testing.Ignore.Driver.PHANTOMJS;
2829
import static org.openqa.selenium.testing.Ignore.Driver.SAFARI;
@@ -58,6 +59,9 @@ public void testSetsTheSizeOfTheCurrentWindow() {
5859
// Browser window cannot be resized or moved on ANDROID (and most mobile platforms
5960
// though others aren't defined in org.openqa.selenium.Platform).
6061
assumeFalse(TestUtilities.getEffectivePlatform(driver).is(ANDROID));
62+
assumeFalse("https://code.google.com/p/chromedriver/issues/detail?id=1129",
63+
SauceDriver.shouldUseSauce() && TestUtilities.isChrome(driver)
64+
&& TestUtilities.getEffectivePlatform(driver).is(LINUX));
6165
// resize relative to the initial size, since we don't know what it is
6266
changeSizeBy(-20, -20);
6367
}
@@ -68,6 +72,9 @@ public void testSetsTheSizeOfTheCurrentWindowFromFrame() {
6872
// Browser window cannot be resized or moved on ANDROID (and most mobile platforms
6973
// though others aren't defined in org.openqa.selenium.Platform).
7074
assumeFalse(TestUtilities.getEffectivePlatform(driver).is(ANDROID));
75+
assumeFalse("https://code.google.com/p/chromedriver/issues/detail?id=1129",
76+
SauceDriver.shouldUseSauce() && TestUtilities.isChrome(driver)
77+
&& TestUtilities.getEffectivePlatform(driver).is(LINUX));
7178
driver.get(pages.framesetPage);
7279
driver.switchTo().frame("fourth");
7380
// resize relative to the initial size, since we don't know what it is
@@ -80,6 +87,9 @@ public void testSetsTheSizeOfTheCurrentWindowFromIframe() {
8087
// Browser window cannot be resized or moved on ANDROID (and most mobile platforms
8188
// though others aren't defined in org.openqa.selenium.Platform).
8289
assumeFalse(TestUtilities.getEffectivePlatform(driver).is(ANDROID));
90+
assumeFalse("https://code.google.com/p/chromedriver/issues/detail?id=1129",
91+
SauceDriver.shouldUseSauce() && TestUtilities.isChrome(driver)
92+
&& TestUtilities.getEffectivePlatform(driver).is(LINUX));
8393
driver.get(pages.iframePage);
8494
driver.switchTo().frame("iframe1-name");
8595
// resize relative to the initial size, since we don't know what it is
@@ -105,6 +115,9 @@ public void testSetsThePositionOfTheCurrentWindow() throws InterruptedException
105115
// Browser window cannot be resized or moved on ANDROID (and most mobile platforms
106116
// though others aren't defined in org.openqa.selenium.Platform).
107117
assumeFalse(TestUtilities.getEffectivePlatform(driver).is(ANDROID));
118+
assumeFalse("https://code.google.com/p/chromedriver/issues/detail?id=1129",
119+
SauceDriver.shouldUseSauce() && TestUtilities.isChrome(driver)
120+
&& TestUtilities.getEffectivePlatform(driver).is(LINUX));
108121
WebDriver.Window window = driver.manage().window();
109122
Point position = window.getPosition();
110123
Dimension originalSize = window.getSize();

0 commit comments

Comments
 (0)