summaryrefslogtreecommitdiffstats
path: root/install/ui/test/functional/pwpolicy-mod.html
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2011-05-06 16:26:53 -0400
committerAdam Young <ayoung@redhat.com>2011-05-11 11:17:30 -0400
commit90fb4ca00a26d8509ee22721474b09d080c6ce93 (patch)
tree42278d308557b8c497a14d7375c5d57148cf7bf3 /install/ui/test/functional/pwpolicy-mod.html
parent3edb8ed5451772506489d4763d193730de1d022c (diff)
downloadfreeipa.git-90fb4ca00a26d8509ee22721474b09d080c6ce93.tar.gz
freeipa.git-90fb4ca00a26d8509ee22721474b09d080c6ce93.tar.xz
freeipa.git-90fb4ca00a26d8509ee22721474b09d080c6ce93.zip
Updated Selenium tests.
The following test suites have been updated to use the new DOM structure: SUDO, password policy, Kerberos Ticket policy, ACI.
Diffstat (limited to 'install/ui/test/functional/pwpolicy-mod.html')
-rw-r--r--install/ui/test/functional/pwpolicy-mod.html20
1 files changed, 15 insertions, 5 deletions
diff --git a/install/ui/test/functional/pwpolicy-mod.html b/install/ui/test/functional/pwpolicy-mod.html
index 6fab27fa..0925c70b 100644
--- a/install/ui/test/functional/pwpolicy-mod.html
+++ b/install/ui/test/functional/pwpolicy-mod.html
@@ -13,7 +13,7 @@
</thead><tbody>
<tr>
<td>open</td>
- <td>/ipa/ui/#navigation=1&amp;policy=3</td>
+ <td>/ipa/ui/#navigation=policy&amp;policy=pwpolicy</td>
<td></td>
</tr>
<tr>
@@ -23,7 +23,7 @@
</tr>
<tr>
<td>verifyElementPresent</td>
- <td>//div[@id='pwpolicy']//span[@name='search']//input[@value='testgroup']</td>
+ <td>css=.entity[name='pwpolicy'] .facet[name='search'] input[value='testgroup']</td>
<td></td>
</tr>
<tr>
@@ -32,8 +32,8 @@
<td></td>
</tr>
<tr>
- <td>waitForTextPresent</td>
- <td>testgroup:</td>
+ <td>waitForNotVisible</td>
+ <td>//span[@id='header-network-activity-indicator']</td>
<td></td>
</tr>
<tr>
@@ -77,12 +77,22 @@
<td>5</td>
</tr>
<tr>
+ <td>verifyTextPresent</td>
+ <td>undo</td>
+ <td></td>
+</tr>
+<tr>
<td>click</td>
<td>link=Update</td>
<td></td>
</tr>
<tr>
- <td>waitForTextNotPresent</td>
+ <td>waitForNotVisible</td>
+ <td>//span[@id='header-network-activity-indicator']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>verifyTextNotPresent</td>
<td>undo</td>
<td></td>
</tr>