]> source.dussan.org Git - vaadin-framework.git/commitdiff
Fixed DOM path in test after accessability improvement #11820
authorJohn Ahlroos <john@vaadin.com>
Fri, 9 Aug 2013 12:56:15 +0000 (15:56 +0300)
committerJohn Ahlroos <john@vaadin.com>
Fri, 9 Aug 2013 13:29:34 +0000 (16:29 +0300)
The WAI-ARIA fix added a new element into the notification making the
dom path in the test invalid.

Change-Id: Id0ce89ebff618bd68f6a7db51c72b6d25227d0cb

uitest/src/com/vaadin/tests/components/embedded/EmbeddedClickListenerRelativeCoordinates.html
uitest/src/com/vaadin/tests/components/notification/CloseErrorNotificationWithEscape.html

index 2dcd1b50715ad7f325cee0bfa86d19cb42a54ba5..ae81cfe61cf416d7eb4fd08769cfe2373730fc8c 100644 (file)
@@ -23,7 +23,7 @@
 </tr>
 <tr>
        <td>assertText</td>
-       <td>vaadin=runcomvaadintestscomponentsembeddedEmbeddedClickListenerRelativeCoordinates::Root/VNotification[0]/HTML[0]/domChild[0]</td>
+       <td>vaadin=runcomvaadintestscomponentsembeddedEmbeddedClickListenerRelativeCoordinates::Root/VNotification[0]/HTML[0]/domChild[1]</td>
        <td>41, 22</td>
 </tr>
 <tr>
@@ -33,7 +33,7 @@
 </tr>
 <tr>
        <td>waitForElementNotPresent</td>
-       <td>vaadin=runcomvaadintestscomponentsembeddedEmbeddedClickListenerRelativeCoordinates::Root/VNotification[0]/HTML[0]/domChild[0]</td>
+       <td>vaadin=runcomvaadintestscomponentsembeddedEmbeddedClickListenerRelativeCoordinates::Root/VNotification[0]/HTML[0]/domChild[1]</td>
        <td></td>
 </tr>
 <tr>
@@ -43,7 +43,7 @@
 </tr>
 <tr>
        <td>assertText</td>
-       <td>vaadin=runcomvaadintestscomponentsembeddedEmbeddedClickListenerRelativeCoordinates::Root/VNotification[0]/HTML[0]/domChild[0]</td>
+       <td>vaadin=runcomvaadintestscomponentsembeddedEmbeddedClickListenerRelativeCoordinates::Root/VNotification[0]/HTML[0]/domChild[1]</td>
        <td>0, 0</td>
 </tr>
 </tbody></table>
index 1ab75e1176aceff421d8d4a1ca3f92525d689433..c9d9e186bc8dd40d499f01bd10eaec178986a0f1 100644 (file)
 </tr>
 <tr>
        <td>assertText</td>
-       <td>vaadin=runcomvaadintestscomponentsnotificationNotifications::Root/VNotification[0]/HTML[0]/domChild[0]</td>
+       <td>vaadin=runcomvaadintestscomponentsnotificationNotifications::Root/VNotification[0]/HTML[0]/domChild[1]</td>
        <td>Hello world</td>
 </tr>
 <tr>
        <td>keyDown</td>
-       <td>vaadin=runcomvaadintestscomponentsnotificationNotifications::Root/VNotification[0]/HTML[0]/domChild[0]</td>
+       <td>vaadin=runcomvaadintestscomponentsnotificationNotifications::Root/VNotification[0]/HTML[0]/domChild[1]</td>
        <td>\27</td>
 </tr>
 <!-- Fade delay is 400 ms by default - VNotification -->