]> source.dussan.org Git - vaadin-framework.git/commitdiff
Fixed test broken by fixes to drag&drop #12406
authorJohn Ahlroos <john@vaadin.com>
Wed, 21 Aug 2013 10:34:37 +0000 (13:34 +0300)
committerVaadin Code Review <review@vaadin.com>
Wed, 21 Aug 2013 10:40:01 +0000 (10:40 +0000)
Due to the fixes to the VDragAndDropManager the drop location became a
lot more accurate and so changed where the drops were made in the test.
To fix it I adjusted the pixel position within the drop target element to account for the
changed accuracy.

Change-Id: I60fec00a40c36fe0afcc7a4bacb2f7b101201b70

uitest/src/com/vaadin/tests/components/calendar/CalendarDragAndDrop.html

index 425f95c5299f14a6ac0bff7bf0ba2716463891df..b0a702adc0039aa90a88ad424b992dc4526b963e 100644 (file)
@@ -3,7 +3,6 @@
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
 <head profile="http://selenium-ide.openqa.org/profiles/test-case">
 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:7171/" />
 <title>New Test</title>
 </head>
 <body>
@@ -25,7 +24,7 @@
 <tr>
        <td>drop</td>
        <td>vaadin=runcomvaadintestscomponentscalendarCalendarDragAndDrop::/VVerticalLayout[0]/Slot[1]/VVerticalLayout[0]/Slot[0]/VHorizontalLayout[0]/Slot[0]/VCalendar[0]/domChild[0]/domChild[1]/domChild[1]/domChild[0]/domChild[1]/domChild[1]/domChild[5]/domChild[0]/domChild[2]</td>
-       <td>54,9</td>
+       <td>40,9</td>
 </tr>
 <tr>
        <td>assertText</td>
@@ -46,7 +45,7 @@
 <tr>
        <td>drop</td>
        <td>vaadin=runcomvaadintestscomponentscalendarCalendarDragAndDrop::PID_SCalendar/domChild[0]/domChild[3]/domChild[0]/domChild[0]/domChild[0]/domChild[0]/domChild[0]/domChild[0]/domChild[2]/domChild[0]/domChild[15]</td>
-       <td>75,9</td>
+       <td>0,0</td>
 </tr>
 <tr>
        <td>assertText</td>