diff options
author | Zhe Sun <31067185+ZheSun88@users.noreply.github.com> | 2019-06-12 12:36:55 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-12 12:36:55 +0300 |
commit | 4665d366472055c2eeb74dc444346b99b3729ecf (patch) | |
tree | a0deece64cf682ea4f2fd23ae458e85c06c83b8d /testbench-api/src/main/java | |
parent | 7a453dce177d849305c549296986eb21e171bae0 (diff) | |
download | vaadin-framework-4665d366472055c2eeb74dc444346b99b3729ecf.tar.gz vaadin-framework-4665d366472055c2eeb74dc444346b99b3729ecf.zip |
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
Diffstat (limited to 'testbench-api/src/main/java')
-rw-r--r-- | testbench-api/src/main/java/com/vaadin/testbench/elements/TabSheetElement.java | 2 |
1 files changed, 1 insertions, 1 deletions
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); } /** |