diff options
author | John Alhroos <john.ahlroos@itmill.com> | 2011-03-08 12:43:37 +0000 |
---|---|---|
committer | John Alhroos <john.ahlroos@itmill.com> | 2011-03-08 12:43:37 +0000 |
commit | 3c2807c5dc602a3ac164b20c3049b311fa0367ac (patch) | |
tree | 15de766242fbb6479c81afdfc9046c96d948c657 /tests | |
parent | 9cfb2b2de8c8dc15d2deaafd1a7c2a84c2767419 (diff) | |
download | vaadin-framework-3c2807c5dc602a3ac164b20c3049b311fa0367ac.tar.gz vaadin-framework-3c2807c5dc602a3ac164b20c3049b311fa0367ac.zip |
Changed LayoutAttachListenerInfo to use screenshots to verify instead of asserts on the notification.
svn changeset:17669/svn branch:6.5
Diffstat (limited to 'tests')
-rw-r--r-- | tests/src/com/vaadin/tests/components/LayoutAttachListenerInfo.html | 38 |
1 files changed, 24 insertions, 14 deletions
diff --git a/tests/src/com/vaadin/tests/components/LayoutAttachListenerInfo.html b/tests/src/com/vaadin/tests/components/LayoutAttachListenerInfo.html index a9b3bc41da..10dd21d240 100644 --- a/tests/src/com/vaadin/tests/components/LayoutAttachListenerInfo.html +++ b/tests/src/com/vaadin/tests/components/LayoutAttachListenerInfo.html @@ -17,19 +17,14 @@ <td></td> </tr> <tr> - <td>setSpeed</td> - <td>200</td> - <td>To avoid notifications not having time to close</td> -</tr> -<tr> <td>click</td> <td>vaadin=runcomvaadintestscomponentsLayoutAttachListenerInfo::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VButton[0]/domChild[0]/domChild[0]</td> <td></td> </tr> <tr> - <td>assertText</td> - <td>vaadin=runcomvaadintestscomponentsLayoutAttachListenerInfo::Root/VNotification[0]/HTML[0]/domChild[0]</td> - <td>Attached to top:50.0px;left:50.0px;</td> + <td>screenCapture</td> + <td></td> + <td>Top50pxLeft50px</td> </tr> <tr> <td>mouseClick</td> @@ -37,6 +32,11 @@ <td>351,23</td> </tr> <tr> + <td>pause</td> + <td>1000</td> + <td></td> +</tr> +<tr> <td>mouseClick</td> <td>vaadin=runcomvaadintestscomponentsLayoutAttachListenerInfo::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VOptionGroup[0]/domChild[1]/domChild[0]</td> <td>8,7</td> @@ -47,9 +47,9 @@ <td></td> </tr> <tr> - <td>assertText</td> - <td>vaadin=runcomvaadintestscomponentsLayoutAttachListenerInfo::Root/VNotification[0]/HTML[0]/domChild[0]</td> - <td>Attached to index 0</td> + <td>screenCapture</td> + <td></td> + <td>AttachedToIndex0</td> </tr> <tr> <td>mouseClick</td> @@ -57,6 +57,11 @@ <td>351,23</td> </tr> <tr> + <td>pause</td> + <td>1000</td> + <td></td> +</tr> +<tr> <td>mouseClick</td> <td>vaadin=runcomvaadintestscomponentsLayoutAttachListenerInfo::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VOptionGroup[0]/domChild[2]/domChild[0]</td> <td>3,5</td> @@ -67,9 +72,14 @@ <td></td> </tr> <tr> - <td>assertText</td> - <td>vaadin=runcomvaadintestscomponentsLayoutAttachListenerInfo::Root/VNotification[0]/HTML[0]/domChild[0]</td> - <td>Attached to 2,3</td> + <td>pause</td> + <td>1000</td> + <td></td> +</tr> +<tr> + <td>screenCapture</td> + <td></td> + <td>AttachedTo23</td> </tr> </tbody></table> </body> |