diff options
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(); } |