diff options
author | Artur Signell <artur@vaadin.com> | 2014-08-06 18:07:00 +0300 |
---|---|---|
committer | Artur Signell <artur@vaadin.com> | 2014-08-14 08:41:11 +0000 |
commit | ea8374649ba8b3b2d38a49a73eda205faf2f0fe9 (patch) | |
tree | b6caf6e595b6a0a74ce10a069ddbab16fb810480 /uitest/src/com/vaadin/tests | |
parent | 702f00f86534ec35cecd9f28bdce3d262d95e818 (diff) | |
download | vaadin-framework-ea8374649ba8b3b2d38a49a73eda205faf2f0fe9.tar.gz vaadin-framework-ea8374649ba8b3b2d38a49a73eda205faf2f0fe9.zip |
Always use cursor detection for improved test stability
Change-Id: I3ac7a8b404da907fbe025b2ab1af03dd7c32813e
Diffstat (limited to 'uitest/src/com/vaadin/tests')
-rw-r--r-- | uitest/src/com/vaadin/tests/components/window/ComboboxScrollableWindowTest.java | 2 | ||||
-rw-r--r-- | uitest/src/com/vaadin/tests/tb3/AbstractTB3Test.java | 5 |
2 files changed, 5 insertions, 2 deletions
diff --git a/uitest/src/com/vaadin/tests/components/window/ComboboxScrollableWindowTest.java b/uitest/src/com/vaadin/tests/components/window/ComboboxScrollableWindowTest.java index e65a24e907..627efdc5b3 100644 --- a/uitest/src/com/vaadin/tests/components/window/ComboboxScrollableWindowTest.java +++ b/uitest/src/com/vaadin/tests/components/window/ComboboxScrollableWindowTest.java @@ -35,8 +35,6 @@ public class ComboboxScrollableWindowTest extends MultiBrowserTest { @Test public void testWindowScrollbars() throws Exception { openTestURL(); - com.vaadin.testbench.Parameters - .setScreenshotComparisonCursorDetection(true); WebElement window = driver.findElement(By.id(WINDOW_ID)); WebElement scrollableElement = window.findElement(By diff --git a/uitest/src/com/vaadin/tests/tb3/AbstractTB3Test.java b/uitest/src/com/vaadin/tests/tb3/AbstractTB3Test.java index 7e22537032..b892fbe4a0 100644 --- a/uitest/src/com/vaadin/tests/tb3/AbstractTB3Test.java +++ b/uitest/src/com/vaadin/tests/tb3/AbstractTB3Test.java @@ -115,6 +115,11 @@ public abstract class AbstractTB3Test extends TestBenchTestCase { desiredCapabilities = Browser.FIREFOX.getDesiredCapabilities(); } + static { + com.vaadin.testbench.Parameters + .setScreenshotComparisonCursorDetection(true); + } + /** * Connect to the hub using a remote web driver, set the canvas size and * opens the initial URL as specified by {@link #getTestUrl()} |