From 4665d366472055c2eeb74dc444346b99b3729ecf Mon Sep 17 00:00:00 2001 From: Zhe Sun <31067185+ZheSun88@users.noreply.github.com> Date: Wed, 12 Jun 2019 12:36:55 +0300 Subject: Update Chrome version in Test (#11613) 1) recalculate the offset, as ChromeDriver starts to follow the standard; 2) update screenshots; 3) correct the `click()` call with using coordinates, related to 1) 4) `sendkey()` with using key.modifier adjustment 5) add sleep 6) workaround for mastery failures --- .../src/main/java/com/vaadin/testbench/elements/TabSheetElement.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testbench-api/src/main/java') diff --git a/testbench-api/src/main/java/com/vaadin/testbench/elements/TabSheetElement.java b/testbench-api/src/main/java/com/vaadin/testbench/elements/TabSheetElement.java index 06e3eb8f99..edbf323c5f 100644 --- a/testbench-api/src/main/java/com/vaadin/testbench/elements/TabSheetElement.java +++ b/testbench-api/src/main/java/com/vaadin/testbench/elements/TabSheetElement.java @@ -122,7 +122,7 @@ public class TabSheetElement extends AbstractComponentContainerElement { } // If neither text nor icon caption was found, click at a position that // is unlikely to close the tab. - ((TestBenchElement) tabCell).click(10, 10); + ((TestBenchElement) tabCell).click(-5, 0); } /** -- cgit v1.2.3