diff options
author | Sun Zhe <31067185+ZheSun88@users.noreply.github.com> | 2018-11-27 17:09:41 +0200 |
---|---|---|
committer | Sun Zhe <31067185+ZheSun88@users.noreply.github.com> | 2018-11-27 18:05:33 +0200 |
commit | 10a92e3dc44568d0ed9705cd40751b14c4c3741e (patch) | |
tree | c126844cb1831f930e908cc02c91d212361b9676 | |
parent | d3db8196224ff3d5f21979b8c757ccbbe9b3d561 (diff) | |
download | vaadin-framework-10a92e3dc44568d0ed9705cd40751b14c4c3741e.tar.gz vaadin-framework-10a92e3dc44568d0ed9705cd40751b14c4c3741e.zip |
Fix colorPicker tests (#11312)8.6.2
* Fix colorPicker tests
In IE11, the click-layer needs longer time to load.
-rw-r--r-- | uitest/src/test/java/com/vaadin/tests/components/colorpicker/ColorPickerUserColorChangeTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/uitest/src/test/java/com/vaadin/tests/components/colorpicker/ColorPickerUserColorChangeTest.java b/uitest/src/test/java/com/vaadin/tests/components/colorpicker/ColorPickerUserColorChangeTest.java index 3fc4cb4e08..a89f9854c6 100644 --- a/uitest/src/test/java/com/vaadin/tests/components/colorpicker/ColorPickerUserColorChangeTest.java +++ b/uitest/src/test/java/com/vaadin/tests/components/colorpicker/ColorPickerUserColorChangeTest.java @@ -14,7 +14,7 @@ public class ColorPickerUserColorChangeTest extends MultiBrowserTest { openTestURL(); // Open colorPicker findElement(By.className("v-button-v-colorpicker ")).click(); - sleep(100); + sleep(500); // click somewhere inside the gradient layer findElement(By.className("v-colorpicker-gradient-clicklayer")).click(); // confirm selection by clicking "OK" button |