]> source.dussan.org Git - vaadin-framework.git/commitdiff
Modify TestLayoutClickListenerTest to work on FF.
authorSauli Tähkäpää <sauli@vaadin.com>
Thu, 18 Sep 2014 08:55:57 +0000 (11:55 +0300)
committerVaadin Code Review <review@vaadin.com>
Fri, 19 Sep 2014 05:44:10 +0000 (05:44 +0000)
Change-Id: Ic37c2033b3a40ffd58da5ca875c4226b9e3098f1

uitest/src/com/vaadin/tests/layouts/TestLayoutClickListenersTest.java

index 0c6b5cbff453a692b834e4fec421fb89d6c63335..ea47ab46204c837702b3d425548ea41f3448b0f9 100644 (file)
@@ -122,7 +122,7 @@ public class TestLayoutClickListenersTest extends MultiBrowserTest {
 
         // Drag from the third label to a text field in this layout
         new Actions(getDriver())
-                .moveToElement(layout.$(LabelElement.class).first(), 40, 8)
+                .moveToElement(layout.$(LabelElement.class).get(2), 40, 8)
                 .clickAndHold()
                 .moveToElement(layout.$(TextFieldElement.class).get(3), 46, 33)
                 .release().perform();