]> source.dussan.org Git - vaadin-framework.git/commitdiff
Fixed test to use Vaadin locators instead of dom path
authorArtur Signell <artur.signell@itmill.com>
Wed, 3 Oct 2012 11:10:34 +0000 (11:10 +0000)
committerArtur Signell <artur@vaadin.com>
Tue, 23 Oct 2012 13:38:24 +0000 (16:38 +0300)
svn changeset:24701/svn branch:6.8

uitest/src/com/vaadin/tests/components/datefield/DateFieldExtendedRange.html

index aa6c536af33c088bff62d8876c341e5cb4ff6a2b..266a1a379dfae01d5587fe6e05c91461eabe3d3d 100644 (file)
@@ -28,7 +28,7 @@
 </tr>
 <tr>
        <td>assertText</td>
-       <td>//table[@id='PID_VAADIN_POPUPCAL']/tbody/tr[2]/td/table/tbody/tr[2]/td[2]/span</td>
+       <td>vaadin=runDateFieldExtendedRange::Root/VOverlay[0]/VCalendarPanel[0]#day-4</td>
        <td>27</td>
 </tr>
 <tr>
@@ -48,7 +48,7 @@
 </tr>
 <tr>
        <td>assertText</td>
-       <td>//table[@id='PID_VAADIN_POPUPCAL']/tbody/tr[2]/td/table/tbody/tr[2]/td[2]/span</td>
+       <td>vaadin=runDateFieldExtendedRange::Root/VOverlay[0]/VCalendarPanel[0]#day-5</td>
        <td>26</td>
 </tr>
 <tr>
@@ -68,7 +68,7 @@
 </tr>
 <tr>
        <td>assertText</td>
-       <td>//table[@id='PID_VAADIN_POPUPCAL']/tbody/tr[2]/td/table/tbody/tr[2]/td[2]/span</td>
+       <td>vaadin=runDateFieldExtendedRange::Root/VOverlay[0]/VCalendarPanel[0]#day-4</td>
        <td>27</td>
 </tr>
 <tr>
@@ -78,7 +78,7 @@
 </tr>
 <tr>
        <td>assertText</td>
-       <td>//div[@id='runDateFieldExtendedRange-312092003']/div/div[2]/div/div[2]/div/div/div/div[1]/div/div/div/div/div[2]/div[2]/div/table/tbody/tr[2]/td/table/tbody/tr[2]/td[2]/span</td>
+       <td>vaadin=runDateFieldExtendedRange::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[1]/VDateFieldCalendar[0]/VCalendarPanel[0]#day-4</td>
        <td>27</td>
 </tr>
 <tr>
@@ -88,7 +88,7 @@
 </tr>
 <tr>
        <td>assertText</td>
-       <td>//div[@id='runDateFieldExtendedRange-312092003']/div/div[2]/div/div[2]/div/div/div/div[1]/div/div/div/div/div[4]/div[2]/div/table/tbody/tr[2]/td/table/tbody/tr[2]/td[2]/span</td>
+       <td>vaadin=runDateFieldExtendedRange::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[3]/VDateFieldCalendar[0]/VCalendarPanel[0]#day-5</td>
        <td>26</td>
 </tr>
 <tr>
@@ -98,7 +98,7 @@
 </tr>
 <tr>
        <td>assertText</td>
-       <td>//div[@id='runDateFieldExtendedRange-312092003']/div/div[2]/div/div[2]/div/div/div/div[1]/div/div/div/div/div[6]/div[2]/div/table/tbody/tr[2]/td/table/tbody/tr[2]/td[2]/span</td>
+       <td>vaadin=runDateFieldExtendedRange::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[5]/VDateFieldCalendar[0]/VCalendarPanel[0]#day-4</td>
        <td>27</td>
 </tr>
 <tr>
 </tr>
 <tr>
        <td>mouseClick</td>
-       <td>//table[@id='PID_VAADIN_POPUPCAL']/tbody/tr[2]/td/table/tbody/tr[2]/td[2]/span</td>
+       <td>vaadin=runDateFieldExtendedRange::Root/VOverlay[0]/VCalendarPanel[0]#day-4</td>
        <td>12,9</td>
 </tr>
 <tr>
 </tr>
 <tr>
        <td>mouseClick</td>
-       <td>//table[@id='PID_VAADIN_POPUPCAL']/tbody/tr[2]/td/table/tbody/tr[2]/td[2]/span</td>
+       <td>vaadin=runDateFieldExtendedRange::Root/VOverlay[0]/VCalendarPanel[0]#day-5</td>
        <td>14,7</td>
 </tr>
 <tr>
 </tr>
 <tr>
        <td>mouseClick</td>
-       <td>//table[@id='PID_VAADIN_POPUPCAL']/tbody/tr[2]/td/table/tbody/tr[2]/td[2]/span</td>
+       <td>vaadin=runDateFieldExtendedRange::Root/VOverlay[0]/VCalendarPanel[0]#day-4</td>
        <td>6,11</td>
 </tr>
 <tr>
 </tr>
 <tr>
        <td>mouseClick</td>
-       <td>//div[@id='runDateFieldExtendedRange-312092003']/div/div[2]/div/div[2]/div/div/div/div[1]/div/div/div/div/div[2]/div[2]/div/table/tbody/tr[2]/td/table/tbody/tr[2]/td[2]/span</td>
+       <td>vaadin=runDateFieldExtendedRange::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[1]/VDateFieldCalendar[0]/VCalendarPanel[0]#day-4</td>
        <td>11,7</td>
 </tr>
 <tr>
 </tr>
 <tr>
        <td>mouseClick</td>
-       <td>//div[@id='runDateFieldExtendedRange-312092003']/div/div[2]/div/div[2]/div/div/div/div[1]/div/div/div/div/div[4]/div[2]/div/table/tbody/tr[2]/td/table/tbody/tr[2]/td[2]/span</td>
+       <td>vaadin=runDateFieldExtendedRange::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[3]/VDateFieldCalendar[0]/VCalendarPanel[0]#day-5</td>
        <td>13,4</td>
 </tr>
 <tr>
 </tr>
 <tr>
        <td>mouseClick</td>
-       <td>//div[@id='runDateFieldExtendedRange-312092003']/div/div[2]/div/div[2]/div/div/div/div[1]/div/div/div/div/div[6]/div[2]/div/table/tbody/tr[2]/td/table/tbody/tr[2]/td[2]/span</td>
+       <td>vaadin=runDateFieldExtendedRange::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[5]/VDateFieldCalendar[0]/VCalendarPanel[0]#day-4</td>
        <td>11,8</td>
 </tr>
 <tr>
 </tr>
 <tr>
        <td>mouseClick</td>
-       <td>//table[@id='PID_VAADIN_POPUPCAL']/tbody/tr[2]/td/table/tbody/tr[2]/td[2]/span</td>
+       <td>vaadin=runDateFieldExtendedRange::Root/VOverlay[0]/VCalendarPanel[0]#day-4</td>
        <td>12,8</td>
 </tr>
 <tr>
 </tr>
 <tr>
        <td>mouseClick</td>
-       <td>//table[@id='PID_VAADIN_POPUPCAL']/tbody/tr[2]/td/table/tbody/tr[2]/td[2]/span</td>
+       <td>vaadin=runDateFieldExtendedRange::Root/VOverlay[0]/VCalendarPanel[0]#day-5</td>
        <td>14,9</td>
 </tr>
 <tr>
 </tr>
 <tr>
        <td>mouseClick</td>
-       <td>//table[@id='PID_VAADIN_POPUPCAL']/tbody/tr[2]/td/table/tbody/tr[2]/td[2]/span</td>
+       <td>vaadin=runDateFieldExtendedRange::Root/VOverlay[0]/VCalendarPanel[0]#day-4</td>
        <td>8,12</td>
 </tr>
 <tr>