summaryrefslogtreecommitdiffstats
path: root/install/ui/test/functional/hostgroup-mod
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/hostgroup-mod
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/hostgroup-mod')
-rw-r--r--install/ui/test/functional/hostgroup-mod44
1 files changed, 32 insertions, 12 deletions
diff --git a/install/ui/test/functional/hostgroup-mod b/install/ui/test/functional/hostgroup-mod
index fd31960d..c93fa986 100644
--- a/install/ui/test/functional/hostgroup-mod
+++ b/install/ui/test/functional/hostgroup-mod
@@ -13,7 +13,7 @@
</thead><tbody>
<tr>
<td>open</td>
- <td>/ipa/ui/#navigation=0&amp;identity=3</td>
+ <td>/ipa/ui/#navigation=identity&amp;identity=hostgroup</td>
<td></td>
</tr>
<tr>
@@ -23,7 +23,7 @@
</tr>
<tr>
<td>verifyElementPresent</td>
- <td>//div[@id='hostgroup']//span[@name='search']//input[@value='testhostgroup']</td>
+ <td>css=.entity[name='hostgroup'] .facet[name='search'] input[value='testhostgroup']</td>
<td></td>
</tr>
<tr>
@@ -32,8 +32,18 @@
<td></td>
</tr>
<tr>
- <td>waitForTextPresent</td>
- <td>testhostgroup:</td>
+ <td>waitForNotVisible</td>
+ <td>//span[@id='header-network-activity-indicator']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>click</td>
+ <td>link=Settings</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForNotVisible</td>
+ <td>//span[@id='header-network-activity-indicator']</td>
<td></td>
</tr>
<tr>
@@ -42,12 +52,22 @@
<td>xxx</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>
@@ -57,18 +77,13 @@
<td>Test Host Group</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>//div[@id='hostgroup']/div[1]/ul/li[1]/span</td>
+ <td>link=Update</td>
<td></td>
</tr>
<tr>
@@ -76,6 +91,11 @@
<td>//span[@id='header-network-activity-indicator']</td>
<td></td>
</tr>
+<tr>
+ <td>verifyTextNotPresent</td>
+ <td>undo</td>
+ <td></td>
+</tr>
</tbody></table>
</body>
</html>