diff options
author | Henri Sara <henri.sara@gmail.com> | 2017-02-06 12:36:14 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-06 12:36:14 +0200 |
commit | 567b9cb5e6a73939244a4a749452035d0d327b55 (patch) | |
tree | e8d63a26c60042921f876c3b038793d42785ca74 | |
parent | 6e80f676f4c8d8db3ae3586b6b7184237e94ede3 (diff) | |
download | vaadin-framework-567b9cb5e6a73939244a4a749452035d0d327b55.tar.gz vaadin-framework-567b9cb5e6a73939244a4a749452035d0d327b55.zip |
Add screenshots and workaround for Firefox 45 (#8450)
m--------- | tests/screenshots | 0 | ||||
-rw-r--r-- | uitest-common/src/main/java/com/vaadin/tests/tb3/AbstractTB3Test.java | 3 |
2 files changed, 3 insertions, 0 deletions
diff --git a/tests/screenshots b/tests/screenshots -Subproject 55f5d6844fa6a5fc755e05db9e7f1f5d4761521 +Subproject 6c55a431f54574a8df254f8ac7003cf498c91d2 diff --git a/uitest-common/src/main/java/com/vaadin/tests/tb3/AbstractTB3Test.java b/uitest-common/src/main/java/com/vaadin/tests/tb3/AbstractTB3Test.java index 023d32d6c9..69762141d8 100644 --- a/uitest-common/src/main/java/com/vaadin/tests/tb3/AbstractTB3Test.java +++ b/uitest-common/src/main/java/com/vaadin/tests/tb3/AbstractTB3Test.java @@ -995,6 +995,9 @@ public abstract class AbstractTB3Test extends ParallelTest { WebElement cb = checkbox.findElement(By.xpath("input")); if (BrowserUtil.isChrome(getDesiredCapabilities())) { testBenchElement(cb).click(0, 0); + } else if (BrowserUtil.isFirefox(getDesiredCapabilities())) { + // Firefox workaround + getCommandExecutor().executeScript("arguments[0].click()", cb); } else { cb.click(); } |