]> source.dussan.org Git - vaadin-framework.git/commitdiff
Attempt to make test more robust
authorArtur Signell <artur@vaadin.com>
Fri, 23 Dec 2011 06:34:21 +0000 (08:34 +0200)
committerArtur Signell <artur@vaadin.com>
Fri, 23 Dec 2011 06:34:21 +0000 (08:34 +0200)
tests/testbench/com/vaadin/tests/fieldgroup/IntegerRangeValidator.html

index 796bdf4c3e2f714d730d514f2fedf022d8a8cd28..e2d6256f247634591a5a86cbbf636a177294494a 100644 (file)
@@ -1,6 +1,3 @@
-package com.vaadin.tests.fieldgroup;\r
-\r
-public class IntegerRangeValidator_html {\r
     <?xml version="1.0" encoding="UTF-8"?>\r
     <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">\r
     <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">\r
@@ -15,87 +12,84 @@ public class IntegerRangeValidator_html {
     <tr><td rowspan="1" colspan="3">New Test</td></tr>\r
     </thead><tbody>\r
     <tr>\r
-       <td>open</td>\r
-       <td>/run/com.vaadin.tests.fieldgroup.BasicPersonForm?restartApplication</td>\r
-       <td></td>\r
-    </tr>\r
-    <!--64123 -> age-->\r
-    <tr>\r
-       <td>mouseClick</td>\r
-       <td>vaadin=runcomvaadintestsfieldgroupBasicPersonForm::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[5]/VTextField[0]</td>\r
-       <td>64,20</td>\r
-    </tr>\r
-    <tr>\r
-       <td>enterCharacter</td>\r
-       <td>vaadin=runcomvaadintestsfieldgroupBasicPersonForm::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[5]/VTextField[0]</td>\r
-       <td>64123</td>\r
-    </tr>\r
-    <tr>\r
-       <td>showTooltip</td>\r
-       <td>vaadin=runcomvaadintestsfieldgroupBasicPersonForm::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[5]/VTextField[0]</td>\r
-       <td></td>\r
-    </tr>\r
-    <tr>\r
-       <td>assertText</td>\r
-       <td>vaadin=runcomvaadintestsfieldgroupBasicPersonForm::Root/VTooltip[0]/FlowPanel[0]/VErrorMessage[0]/HTML[0]</td>\r
-       <td>Must be between 0 and 150, 64123 is not</td>\r
-    </tr>\r
-    <tr>\r
-       <td>assertCSSClass</td>\r
-       <td>vaadin=runcomvaadintestsfieldgroupBasicPersonForm::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/domChild[0]/domChild[5]/domChild[0]/domChild[1]</td>\r
-       <td>v-errorindicator</td>\r
-    </tr>\r
-    <!--10 -> age-->\r
-    <tr>\r
-       <td>enterCharacter</td>\r
-       <td>vaadin=runcomvaadintestsfieldgroupBasicPersonForm::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[5]/VTextField[0]</td>\r
-       <td>10</td>\r
-    </tr>\r
-    <tr>\r
-       <td>showTooltip</td>\r
-       <td>vaadin=runcomvaadintestsfieldgroupBasicPersonForm::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[5]/VTextField[0]</td>\r
-       <td></td>\r
-    </tr>\r
-    <tr>\r
-       <td>assertElementNotPresent</td>\r
-       <td>vaadin=runcomvaadintestsfieldgroupBasicPersonForm::Root/VTooltip[0]</td>\r
-       <td></td>\r
-    </tr>\r
-    <tr>\r
-       <td>assertNotCSSClass</td>\r
-       <td>vaadin=runcomvaadintestsfieldgroupBasicPersonForm::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/domChild[0]/domChild[5]/domChild[0]/domChild[1]</td>\r
-       <td>v-errorindicator</td>\r
-    </tr>\r
-    <!---1-->\r
-    <tr>\r
-       <td>mouseClick</td>\r
-       <td>vaadin=runcomvaadintestsfieldgroupBasicPersonForm::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[5]/VTextField[0]</td>\r
-       <td>69,11</td>\r
-    </tr>\r
-    <tr>\r
-       <td>enterCharacter</td>\r
-       <td>vaadin=runcomvaadintestsfieldgroupBasicPersonForm::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[5]/VTextField[0]</td>\r
-       <td>-1</td>\r
-    </tr>\r
-    <tr>\r
-       <td>assertCSSClass</td>\r
-       <td>vaadin=runcomvaadintestsfieldgroupBasicPersonForm::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/domChild[0]/domChild[5]/domChild[0]/domChild[1]</td>\r
-       <td>v-errorindicator</td>\r
-    </tr>\r
-    <tr>\r
-       <td>showTooltip</td>\r
-       <td>vaadin=runcomvaadintestsfieldgroupBasicPersonForm::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[5]/VTextField[0]</td>\r
-       <td></td>\r
-    </tr>\r
-    <tr>\r
-       <td>assertText</td>\r
-       <td>vaadin=runcomvaadintestsfieldgroupBasicPersonForm::Root/VTooltip[0]/FlowPanel[0]/VErrorMessage[0]/HTML[0]</td>\r
-       <td>Must be between 0 and 150, -1 is not</td>\r
-    </tr>\r
-    \r
-    </tbody></table>\r
+       <td>open</td>\r
+       <td>/run/com.vaadin.tests.fieldgroup.BasicPersonForm?restartApplication</td>\r
+       <td></td>\r
+</tr>\r
+<!--64123 -> age-->\r
+<tr>\r
+       <td>mouseClick</td>\r
+       <td>vaadin=runcomvaadintestsfieldgroupBasicPersonForm::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[5]/VTextField[0]</td>\r
+       <td>64,20</td>\r
+</tr>\r
+<tr>\r
+       <td>enterCharacter</td>\r
+       <td>vaadin=runcomvaadintestsfieldgroupBasicPersonForm::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[5]/VTextField[0]</td>\r
+       <td>64123</td>\r
+</tr>\r
+<tr>\r
+       <td>showTooltip</td>\r
+       <td>vaadin=runcomvaadintestsfieldgroupBasicPersonForm::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[5]/VTextField[0]</td>\r
+       <td></td>\r
+</tr>\r
+<tr>\r
+       <td>waitForElementPresent</td>\r
+       <td>vaadin=runcomvaadintestsfieldgroupBasicPersonForm::Root/VTooltip[0]</td>\r
+       <td></td>\r
+</tr>\r
+<tr>\r
+       <td>assertText</td>\r
+       <td>vaadin=runcomvaadintestsfieldgroupBasicPersonForm::Root/VTooltip[0]/FlowPanel[0]/VErrorMessage[0]/HTML[0]</td>\r
+       <td>Must be between 0 and 150, 64123 is not</td>\r
+</tr>\r
+<tr>\r
+       <td>assertCSSClass</td>\r
+       <td>vaadin=runcomvaadintestsfieldgroupBasicPersonForm::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/domChild[0]/domChild[5]/domChild[0]/domChild[1]</td>\r
+       <td>v-errorindicator</td>\r
+</tr>\r
+<!--10 -> age-->\r
+<tr>\r
+       <td>enterCharacter</td>\r
+       <td>vaadin=runcomvaadintestsfieldgroupBasicPersonForm::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[5]/VTextField[0]</td>\r
+       <td>10</td>\r
+</tr>\r
+<tr>\r
+       <td>assertNotCSSClass</td>\r
+       <td>vaadin=runcomvaadintestsfieldgroupBasicPersonForm::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/domChild[0]/domChild[5]/domChild[0]/domChild[1]</td>\r
+       <td>v-errorindicator</td>\r
+</tr>\r
+<!---1-->\r
+<tr>\r
+       <td>mouseClick</td>\r
+       <td>vaadin=runcomvaadintestsfieldgroupBasicPersonForm::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[5]/VTextField[0]</td>\r
+       <td>69,11</td>\r
+</tr>\r
+<tr>\r
+       <td>enterCharacter</td>\r
+       <td>vaadin=runcomvaadintestsfieldgroupBasicPersonForm::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[5]/VTextField[0]</td>\r
+       <td>-1</td>\r
+</tr>\r
+<tr>\r
+       <td>assertCSSClass</td>\r
+       <td>vaadin=runcomvaadintestsfieldgroupBasicPersonForm::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/domChild[0]/domChild[5]/domChild[0]/domChild[1]</td>\r
+       <td>v-errorindicator</td>\r
+</tr>\r
+<tr>\r
+       <td>showTooltip</td>\r
+       <td>vaadin=runcomvaadintestsfieldgroupBasicPersonForm::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[5]/VTextField[0]</td>\r
+       <td></td>\r
+</tr>\r
+<tr>\r
+       <td>waitForElementPresent</td>\r
+       <td>vaadin=runcomvaadintestsfieldgroupBasicPersonForm::Root/VTooltip[0]</td>\r
+       <td></td>\r
+</tr>\r
+<tr>\r
+       <td>assertText</td>\r
+       <td>vaadin=runcomvaadintestsfieldgroupBasicPersonForm::Root/VTooltip[0]/FlowPanel[0]/VErrorMessage[0]/HTML[0]</td>\r
+       <td>Must be between 0 and 150, -1 is not</td>\r
+</tr>\r
+</tbody></table>\r
     </body>\r
     </html>\r
-    \r
-}\r
 \r