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/privilege-add.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/privilege-add.html')
-rw-r--r-- | install/ui/test/functional/privilege-add.html | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/install/ui/test/functional/privilege-add.html b/install/ui/test/functional/privilege-add.html index 2cc276940..7d68046fa 100644 --- a/install/ui/test/functional/privilege-add.html +++ b/install/ui/test/functional/privilege-add.html @@ -22,6 +22,11 @@ <td></td> </tr> <tr> + <td>verifyElementNotPresent</td> + <td>//div[@id='role']//span[@name='search']//input[@value='testprivilege']</td> + <td></td> +</tr> +<tr> <td>click</td> <td>//div[@id='role']/div[@class='action-panel']//a[@title='Add']</td> <td></td> @@ -42,8 +47,13 @@ <td></td> </tr> <tr> - <td>waitForElementPresent</td> - <td>//div[@id='role']/span[@name='search']//input[@value='testprivilege']</td> + <td>waitForNotVisible</td> + <td>//span[@id='header-network-activity-indicator']</td> + <td></td> +</tr> +<tr> + <td>verifyElementPresent</td> + <td>//div[@id='role']//span[@name='search']//input[@value='testprivilege']</td> <td></td> </tr> </tbody></table> |