diff options
author | Artur Signell <artur@vaadin.com> | 2014-08-07 14:33:25 +0300 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2014-08-07 12:32:09 +0000 |
commit | ff47bdd97b03a42dfc812b4dc9ad71fa45ce3827 (patch) | |
tree | c8e6b270de4fbc38b8e4cb09c4fce179a78faac6 | |
parent | bb2e224a79026b5085a09b38faedf8c9d62b448d (diff) | |
download | vaadin-framework-ff47bdd97b03a42dfc812b4dc9ad71fa45ce3827.tar.gz vaadin-framework-ff47bdd97b03a42dfc812b4dc9ad71fa45ce3827.zip |
Ensure IE starts tests with an empty cache
Change-Id: Id959872b1bce4422341daf6325b6f5fbf77ad24b
-rw-r--r-- | uitest/src/com/vaadin/tests/tb3/AbstractTB3Test.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/uitest/src/com/vaadin/tests/tb3/AbstractTB3Test.java b/uitest/src/com/vaadin/tests/tb3/AbstractTB3Test.java index ecba419472..1c5fb380ab 100644 --- a/uitest/src/com/vaadin/tests/tb3/AbstractTB3Test.java +++ b/uitest/src/com/vaadin/tests/tb3/AbstractTB3Test.java @@ -34,6 +34,7 @@ import org.openqa.selenium.JavascriptExecutor; import org.openqa.selenium.Platform; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; +import org.openqa.selenium.ie.InternetExplorerDriver; import org.openqa.selenium.interactions.HasInputDevices; import org.openqa.selenium.interactions.Keyboard; import org.openqa.selenium.interactions.Mouse; @@ -903,6 +904,8 @@ public abstract class AbstractTB3Test extends TestBenchTestCase { public static DesiredCapabilities ie(int version) { DesiredCapabilities c = DesiredCapabilities.internetExplorer(); c.setVersion("" + version); + c.setCapability(InternetExplorerDriver.IE_ENSURE_CLEAN_SESSION, + true); return c; } |