summaryrefslogtreecommitdiffstats
path: root/testbench-api/src/main/java
diff options
context:
space:
mode:
authorZhe Sun <31067185+ZheSun88@users.noreply.github.com>2019-06-12 12:36:55 +0300
committerGitHub <noreply@github.com>2019-06-12 12:36:55 +0300
commit4665d366472055c2eeb74dc444346b99b3729ecf (patch)
treea0deece64cf682ea4f2fd23ae458e85c06c83b8d /testbench-api/src/main/java
parent7a453dce177d849305c549296986eb21e171bae0 (diff)
downloadvaadin-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.java2
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);
}
/**