diff options
author | Matti Tahvonen <matti.tahvonen@itmill.com> | 2011-10-07 12:14:40 +0000 |
---|---|---|
committer | Matti Tahvonen <matti.tahvonen@itmill.com> | 2011-10-07 12:14:40 +0000 |
commit | 24da021d4cb782e3d42939340eb851294dbadc58 (patch) | |
tree | eab9941949a1893f6f0853b86cd9fe64e9bf1c26 /tests/testbench/com | |
parent | 37d6c630f8fedd1b42a5707aeae6a5f5af9024ad (diff) | |
download | vaadin-framework-24da021d4cb782e3d42939340eb851294dbadc58.tar.gz vaadin-framework-24da021d4cb782e3d42939340eb851294dbadc58.zip |
rewrote the test in a safer way
svn changeset:21643/svn branch:6.7
Diffstat (limited to 'tests/testbench/com')
-rw-r--r-- | tests/testbench/com/vaadin/tests/components/textfield/TextFieldEagerRepaint.html | 121 |
1 files changed, 113 insertions, 8 deletions
diff --git a/tests/testbench/com/vaadin/tests/components/textfield/TextFieldEagerRepaint.html b/tests/testbench/com/vaadin/tests/components/textfield/TextFieldEagerRepaint.html index ecd0467fb2..147f09db48 100644 --- a/tests/testbench/com/vaadin/tests/components/textfield/TextFieldEagerRepaint.html +++ b/tests/testbench/com/vaadin/tests/components/textfield/TextFieldEagerRepaint.html @@ -22,14 +22,99 @@ <td>78,8</td> </tr> <tr> - <td>enterCharacter</td> + <td>keyDown</td> <td>vaadin=runcomvaadintestscomponentstextfieldTextFieldEagerRepaint::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VTextField[0]</td> - <td>abCDef</td> + <td>a</td> +</tr> +<tr> + <td>keyPress</td> + <td>vaadin=runcomvaadintestscomponentstextfieldTextFieldEagerRepaint::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VTextField[0]</td> + <td>a</td> +</tr> +<tr> + <td>keyUp</td> + <td>vaadin=runcomvaadintestscomponentstextfieldTextFieldEagerRepaint::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VTextField[0]</td> + <td>a</td> +</tr> +<tr> + <td>keyDown</td> + <td>vaadin=runcomvaadintestscomponentstextfieldTextFieldEagerRepaint::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VTextField[0]</td> + <td>b</td> +</tr> +<tr> + <td>keyPress</td> + <td>vaadin=runcomvaadintestscomponentstextfieldTextFieldEagerRepaint::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VTextField[0]</td> + <td>b</td> +</tr> +<tr> + <td>keyUp</td> + <td>vaadin=runcomvaadintestscomponentstextfieldTextFieldEagerRepaint::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VTextField[0]</td> + <td>b</td> +</tr> +<tr> + <td>keyDown</td> + <td>vaadin=runcomvaadintestscomponentstextfieldTextFieldEagerRepaint::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VTextField[0]</td> + <td>C</td> +</tr> +<tr> + <td>keyPress</td> + <td>vaadin=runcomvaadintestscomponentstextfieldTextFieldEagerRepaint::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VTextField[0]</td> + <td>C</td> +</tr> +<tr> + <td>keyUp</td> + <td>vaadin=runcomvaadintestscomponentstextfieldTextFieldEagerRepaint::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VTextField[0]</td> + <td>C</td> +</tr> +<tr> + <td>keyDown</td> + <td>vaadin=runcomvaadintestscomponentstextfieldTextFieldEagerRepaint::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VTextField[0]</td> + <td>D</td> +</tr> +<tr> + <td>keyPress</td> + <td>vaadin=runcomvaadintestscomponentstextfieldTextFieldEagerRepaint::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VTextField[0]</td> + <td>D</td> +</tr> +<tr> + <td>keyUp</td> + <td>vaadin=runcomvaadintestscomponentstextfieldTextFieldEagerRepaint::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VTextField[0]</td> + <td>D</td> +</tr> +<tr> + <td>keyDown</td> + <td>vaadin=runcomvaadintestscomponentstextfieldTextFieldEagerRepaint::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VTextField[0]</td> + <td>e</td> +</tr> +<tr> + <td>keyPress</td> + <td>vaadin=runcomvaadintestscomponentstextfieldTextFieldEagerRepaint::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VTextField[0]</td> + <td>e</td> +</tr> +<tr> + <td>keyUp</td> + <td>vaadin=runcomvaadintestscomponentstextfieldTextFieldEagerRepaint::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VTextField[0]</td> + <td>e</td> +</tr> +<tr> + <td>keyDown</td> + <td>vaadin=runcomvaadintestscomponentstextfieldTextFieldEagerRepaint::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VTextField[0]</td> + <td>f</td> +</tr> +<tr> + <td>keyPress</td> + <td>vaadin=runcomvaadintestscomponentstextfieldTextFieldEagerRepaint::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VTextField[0]</td> + <td>f</td> +</tr> +<tr> + <td>keyUp</td> + <td>vaadin=runcomvaadintestscomponentstextfieldTextFieldEagerRepaint::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VTextField[0]</td> + <td>f</td> </tr> <tr> <td>pause</td> <td></td> - <td>100</td> + <td>500</td> </tr> <tr> <td>assertValue</td> @@ -42,14 +127,24 @@ <td>73,15</td> </tr> <tr> - <td>enterCharacter</td> + <td>keyDown</td> + <td>vaadin=runcomvaadintestscomponentstextfieldTextFieldEagerRepaint::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VTextField[0]</td> + <td>a</td> +</tr> +<tr> + <td>keyPress</td> + <td>vaadin=runcomvaadintestscomponentstextfieldTextFieldEagerRepaint::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VTextField[0]</td> + <td>a</td> +</tr> +<tr> + <td>keyUp</td> <td>vaadin=runcomvaadintestscomponentstextfieldTextFieldEagerRepaint::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VTextField[0]</td> <td>a</td> </tr> <tr> <td>pause</td> <td></td> - <td>100</td> + <td>500</td> </tr> <tr> <td>assertElementWidth</td> @@ -57,14 +152,24 @@ <td>150</td> </tr> <tr> - <td>enterCharacter</td> + <td>keyDown</td> <td>vaadin=runcomvaadintestscomponentstextfieldTextFieldEagerRepaint::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VTextField[0]</td> - <td>aB</td> + <td>B</td> +</tr> +<tr> + <td>keyPress</td> + <td>vaadin=runcomvaadintestscomponentstextfieldTextFieldEagerRepaint::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VTextField[0]</td> + <td>B</td> +</tr> +<tr> + <td>keyUp</td> + <td>vaadin=runcomvaadintestscomponentstextfieldTextFieldEagerRepaint::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VTextField[0]</td> + <td>B</td> </tr> <tr> <td>pause</td> <td></td> - <td>100</td> + <td>500</td> </tr> <tr> <td>assertElementWidth</td> |