summaryrefslogtreecommitdiffstats
path: root/install/ui/test/functional/sudocmdgroup-add.html
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2011-04-08 14:29:08 -0400
committerEndi Sukma Dewata <edewata@people01.fedoraproject.org>2011-04-11 17:21:33 +0000
commit68ff18ed10a957bf022c654c38518915bd68fcc8 (patch)
treec439bbef220b5cbd84d0b688264680cc28959ffd /install/ui/test/functional/sudocmdgroup-add.html
parent9645d50912677828515c543d76de50d0f0f05691 (diff)
downloadfreeipa-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/sudocmdgroup-add.html')
-rw-r--r--install/ui/test/functional/sudocmdgroup-add.html16
1 files changed, 13 insertions, 3 deletions
diff --git a/install/ui/test/functional/sudocmdgroup-add.html b/install/ui/test/functional/sudocmdgroup-add.html
index e467de096..83c403a38 100644
--- a/install/ui/test/functional/sudocmdgroup-add.html
+++ b/install/ui/test/functional/sudocmdgroup-add.html
@@ -17,8 +17,13 @@
<td></td>
</tr>
<tr>
- <td>waitForTextPresent</td>
- <td>0 sudo command groups matched</td>
+ <td>waitForNotVisible</td>
+ <td>//span[@id='header-network-activity-indicator']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>verifyElementNotPresent</td>
+ <td>//div[@id='sudorule']//span[@name='search']//input[@value='testsudocmdgroup']</td>
<td></td>
</tr>
<tr>
@@ -42,7 +47,12 @@
<td></td>
</tr>
<tr>
- <td>waitForElementPresent</td>
+ <td>waitForNotVisible</td>
+ <td>//span[@id='header-network-activity-indicator']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>verifyElementPresent</td>
<td>//div[@id='sudorule']//span[@name='search']//input[@value='testsudocmdgroup']</td>
<td></td>
</tr>