diff options
author | Endi S. Dewata <edewata@redhat.com> | 2011-04-08 14:29:08 -0400 |
---|---|---|
committer | Endi Sukma Dewata <edewata@people01.fedoraproject.org> | 2011-04-11 17:21:33 +0000 |
commit | 68ff18ed10a957bf022c654c38518915bd68fcc8 (patch) | |
tree | c439bbef220b5cbd84d0b688264680cc28959ffd /install/ui/test/functional/host-find.html | |
parent | 9645d50912677828515c543d76de50d0f0f05691 (diff) | |
download | freeipa-68ff18ed10a957bf022c654c38518915bd68fcc8.tar.gz freeipa-68ff18ed10a957bf022c654c38518915bd68fcc8.tar.xz freeipa-68ff18ed10a957bf022c654c38518915bd68fcc8.zip |
Updated Selenium tests.
The Selenium tests have been updated to improve robustness.
Diffstat (limited to 'install/ui/test/functional/host-find.html')
-rw-r--r-- | install/ui/test/functional/host-find.html | 47 |
1 files changed, 41 insertions, 6 deletions
diff --git a/install/ui/test/functional/host-find.html b/install/ui/test/functional/host-find.html index cb9235d79..7d2c0030d 100644 --- a/install/ui/test/functional/host-find.html +++ b/install/ui/test/functional/host-find.html @@ -17,8 +17,13 @@ <td></td> </tr> <tr> - <td>waitForTextPresent</td> - <td>2 hosts matched</td> + <td>waitForNotVisible</td> + <td>//span[@id='header-network-activity-indicator']</td> + <td></td> +</tr> +<tr> + <td>verifyElementPresent</td> + <td>//div[@id='host']//span[@name='search']//input[@value='test.example.com']</td> <td></td> </tr> <tr> @@ -32,8 +37,33 @@ <td></td> </tr> <tr> - <td>waitForTextPresent</td> - <td>1 host matched</td> + <td>waitForNotVisible</td> + <td>//span[@id='header-network-activity-indicator']</td> + <td></td> +</tr> +<tr> + <td>verifyElementPresent</td> + <td>//div[@id='host']//span[@name='search']//input[@value='test.example.com']</td> + <td></td> +</tr> +<tr> + <td>type</td> + <td>search-host-filter</td> + <td>xxx</td> +</tr> +<tr> + <td>click</td> + <td>link=Find</td> + <td></td> +</tr> +<tr> + <td>waitForNotVisible</td> + <td>//span[@id='header-network-activity-indicator']</td> + <td></td> +</tr> +<tr> + <td>verifyElementNotPresent</td> + <td>//div[@id='host']//span[@name='search']//input[@value='test.example.com']</td> <td></td> </tr> <tr> @@ -47,8 +77,13 @@ <td></td> </tr> <tr> - <td>waitForTextPresent</td> - <td>2 hosts matched</td> + <td>waitForNotVisible</td> + <td>//span[@id='header-network-activity-indicator']</td> + <td></td> +</tr> +<tr> + <td>verifyElementPresent</td> + <td>//div[@id='host']//span[@name='search']//input[@value='test.example.com']</td> <td></td> </tr> </tbody></table> |