summaryrefslogtreecommitdiffstats
path: root/install/ui/test/functional/user-mod.html
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2011-04-26 01:26:36 -0400
committerAdam Young <ayoung@redhat.com>2011-05-10 14:30:39 -0400
commitfceb579d6e95df9ba5a0efeaf56f76ff3b3b502e (patch)
tree37a38783a207d9d0d89e39d0b1a5e6223536d65a /install/ui/test/functional/user-mod.html
parentbe0308cf681fbcf02f9663c7c7df877e3a29c431 (diff)
downloadfreeipa.git-fceb579d6e95df9ba5a0efeaf56f76ff3b3b502e.tar.gz
freeipa.git-fceb579d6e95df9ba5a0efeaf56f76ff3b3b502e.tar.xz
freeipa.git-fceb579d6e95df9ba5a0efeaf56f76ff3b3b502e.zip
Updated Selenium tests.
The following test suites have been updated to use the new DOM structure: user, group, host, hostgroup, netgroup, service, HBAC.
Diffstat (limited to 'install/ui/test/functional/user-mod.html')
-rw-r--r--install/ui/test/functional/user-mod.html25
1 files changed, 10 insertions, 15 deletions
diff --git a/install/ui/test/functional/user-mod.html b/install/ui/test/functional/user-mod.html
index 21868203..347c74e1 100644
--- a/install/ui/test/functional/user-mod.html
+++ b/install/ui/test/functional/user-mod.html
@@ -13,7 +13,7 @@
</thead><tbody>
<tr>
<td>open</td>
- <td>/ipa/ui/#navigation=0&amp;identity=0</td>
+ <td>/ipa/ui/#navigation=identity&amp;identity=user</td>
<td></td>
</tr>
<tr>
@@ -23,7 +23,7 @@
</tr>
<tr>
<td>verifyElementPresent</td>
- <td>//div[@id='user']//span[@name='search']//input[@value='testuser']</td>
+ <td>css=.entity[name='user'] .facet[name='search'] input[value='testuser']</td>
<td></td>
</tr>
<tr>
@@ -32,8 +32,8 @@
<td></td>
</tr>
<tr>
- <td>waitForTextPresent</td>
- <td>testuser:</td>
+ <td>waitForNotVisible</td>
+ <td>//span[@id='header-network-activity-indicator']</td>
<td></td>
</tr>
<tr>
@@ -43,7 +43,7 @@
</tr>
<tr>
<td>click</td>
- <td>link=Add</td>
+ <td>css=span[name=mail] a[name=add]</td>
<td></td>
</tr>
<!--BUG: typeKeys doesn't work with "."-->
@@ -58,18 +58,13 @@
<td>com</td>
</tr>
<tr>
- <td>click</td>
- <td>link=Update</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForTextNotPresent</td>
+ <td>verifyTextPresent</td>
<td>undo</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>css=li.back-to-search span.input_link</td>
+ <td>link=Update</td>
<td></td>
</tr>
<tr>
@@ -78,9 +73,9 @@
<td></td>
</tr>
<tr>
- <td>verifyText</td>
- <td>css=table.search-table tbody tr:nth-child(2) span[name=mail]</td>
- <td>testuser@example.com</td>
+ <td>verifyTextNotPresent</td>
+ <td>undo</td>
+ <td></td>
</tr>
</tbody></table>
</body>