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/permission-add.html | |
parent | 9645d50912677828515c543d76de50d0f0f05691 (diff) | |
download | freeipa.git-68ff18ed10a957bf022c654c38518915bd68fcc8.tar.gz freeipa.git-68ff18ed10a957bf022c654c38518915bd68fcc8.tar.xz freeipa.git-68ff18ed10a957bf022c654c38518915bd68fcc8.zip |
Updated Selenium tests.
The Selenium tests have been updated to improve robustness.
Diffstat (limited to 'install/ui/test/functional/permission-add.html')
-rw-r--r-- | install/ui/test/functional/permission-add.html | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/install/ui/test/functional/permission-add.html b/install/ui/test/functional/permission-add.html index d8b4afb1..33094e3b 100644 --- a/install/ui/test/functional/permission-add.html +++ b/install/ui/test/functional/permission-add.html @@ -22,6 +22,11 @@ <td></td> </tr> <tr> + <td>verifyElementNotPresent</td> + <td>//div[@id='role']//span[@name='search']//input[@value='testpermission']</td> + <td></td> +</tr> +<tr> <td>click</td> <td>//div[@id='role']/div[@class='action-panel']//a[@title='Add']</td> <td></td> @@ -38,7 +43,7 @@ </tr> <tr> <td>select</td> - <td>//div[@name='target']//select</td> + <td>//span[@name='target']//select</td> <td>label=type</td> </tr> <tr> @@ -53,12 +58,17 @@ </tr> <tr> <td>click</td> - <td>//button[@type='button']</td> + <td>//div[@class='ui-dialog-buttonset']//button[@type='button']</td> + <td></td> +</tr> +<tr> + <td>waitForNotVisible</td> + <td>//span[@id='header-network-activity-indicator']</td> <td></td> </tr> <tr> - <td>waitForElementPresent</td> - <td>//div[@id='role']/span[@name='search']//input[@value='testpermission']</td> + <td>verifyElementPresent</td> + <td>//div[@id='role']//span[@name='search']//input[@value='testpermission']</td> <td></td> </tr> </tbody></table> |