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/hostgroup-add-member-host.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/hostgroup-add-member-host.html')
-rw-r--r-- | install/ui/test/functional/hostgroup-add-member-host.html | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/install/ui/test/functional/hostgroup-add-member-host.html b/install/ui/test/functional/hostgroup-add-member-host.html index 1030d6a53..843bdb2eb 100644 --- a/install/ui/test/functional/hostgroup-add-member-host.html +++ b/install/ui/test/functional/hostgroup-add-member-host.html @@ -17,8 +17,13 @@ <td></td> </tr> <tr> - <td>waitForTextPresent</td> - <td>1 hostgroup matched</td> + <td>waitForNotVisible</td> + <td>//span[@id='header-network-activity-indicator']</td> + <td></td> +</tr> +<tr> + <td>verifyElementPresent</td> + <td>//div[@id='hostgroup']//span[@name='search']//input[@value='testhostgroup']</td> <td></td> </tr> <tr> @@ -63,7 +68,7 @@ </tr> <tr> <td>waitForElementPresent</td> - <td>//div[@id='hostgroup']/span[@name='association']//input[@value='test.example.com']</td> + <td>//div[@id='hostgroup']//span[@name='association']//input[@value='test.example.com']</td> <td></td> </tr> <tr> @@ -72,11 +77,10 @@ <td></td> </tr> <tr> - <td>waitForTextPresent</td> - <td>1 hostgroup matched</td> + <td>waitForNotVisible</td> + <td>//span[@id='header-network-activity-indicator']</td> <td></td> </tr> - </tbody></table> </body> </html> |