diff options
author | John Ahlroos <john@vaadin.com> | 2013-08-27 13:13:45 +0300 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2013-08-28 09:19:18 +0000 |
commit | d827a1760da477575294f0105933e868c1bf3ad3 (patch) | |
tree | 4daafb39ac240e8a6368de51d3b0793d61bcf78e | |
parent | e97fb8cbff8ef493860892055508b4db3223f1be (diff) | |
download | vaadin-framework-d827a1760da477575294f0105933e868c1bf3ad3.tar.gz vaadin-framework-d827a1760da477575294f0105933e868c1bf3ad3.zip |
Fixed failing test after accessibility changes in #11827
Previously a tab could be selected by using the enter key. This was
changed in the ticket to use the space key instead due to accessability
reasons.
Fixed test by replacing all enter key presses with space key presses.
Change-Id: I9037785be212bb62835bfb1b17629e115c3fa601
-rw-r--r-- | uitest/src/com/vaadin/tests/components/tabsheet/TabKeyboardNavigation.html | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/uitest/src/com/vaadin/tests/components/tabsheet/TabKeyboardNavigation.html b/uitest/src/com/vaadin/tests/components/tabsheet/TabKeyboardNavigation.html index acf66fb27f..ee9df2a241 100644 --- a/uitest/src/com/vaadin/tests/components/tabsheet/TabKeyboardNavigation.html +++ b/uitest/src/com/vaadin/tests/components/tabsheet/TabKeyboardNavigation.html @@ -3,7 +3,6 @@ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head profile="http://selenium-ide.openqa.org/profiles/test-case"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> -<link rel="selenium.base" href="http://localhost:8080/" /> <title>TabKeyboardNavigation</title> </head> <body> @@ -34,7 +33,7 @@ <tr> <td>pressSpecialKey</td> <td>vaadin=runTabKeyboardNavigation::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[4]/VTabsheet[0]/domChild[0]/domChild[0]/domChild[0]/domChild[0]/domChild[0]</td> - <td>enter</td> + <td>space</td> </tr> <tr> <td>assertText</td> @@ -64,7 +63,7 @@ <tr> <td>pressSpecialKey</td> <td>vaadin=runTabKeyboardNavigation::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[4]/VTabsheet[0]/domChild[0]/domChild[0]/domChild[0]/domChild[0]/domChild[2]</td> - <td>enter</td> + <td>space</td> </tr> <tr> <td>assertText</td> @@ -94,7 +93,7 @@ <tr> <td>pressSpecialKey</td> <td>vaadin=runTabKeyboardNavigation::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[4]/VTabsheet[0]/domChild[0]/domChild[0]/domChild[0]/domChild[0]/domChild[0]</td> - <td>enter</td> + <td>space</td> </tr> <tr> <td>assertText</td> @@ -159,7 +158,7 @@ <tr> <td>pressSpecialKey</td> <td>vaadin=runTabKeyboardNavigation::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[4]/VTabsheet[0]/domChild[0]/domChild[0]/domChild[0]/domChild[0]/domChild[10]</td> - <td>enter</td> + <td>space</td> </tr> <tr> <td>assertText</td> @@ -199,7 +198,7 @@ <tr> <td>pressSpecialKey</td> <td>vaadin=runTabKeyboardNavigation::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[4]/VTabsheet[0]/domChild[0]/domChild[0]/domChild[0]/domChild[0]/domChild[1]</td> - <td>enter</td> + <td>space</td> </tr> <tr> <td>assertText</td> |