summaryrefslogtreecommitdiffstats
path: root/install/ui/test/functional/hostgroup-find.html
diff options
context:
space:
mode:
Diffstat (limited to 'install/ui/test/functional/hostgroup-find.html')
-rw-r--r--install/ui/test/functional/hostgroup-find.html43
1 files changed, 31 insertions, 12 deletions
diff --git a/install/ui/test/functional/hostgroup-find.html b/install/ui/test/functional/hostgroup-find.html
index 08476f5ca..13a343289 100644
--- a/install/ui/test/functional/hostgroup-find.html
+++ b/install/ui/test/functional/hostgroup-find.html
@@ -17,8 +17,13 @@
<td></td>
</tr>
<tr>
- <td>waitForTextPresent</td>
- <td>1 hostgroup matched</td>
+ <td>waitForNotVisible</td>
+ <td>//span[@id='header-network-activity-indicator']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>verifyElementPresent</td>
+ <td>//div[@id='hostgroup']//span[@name='search']//input[@value='testhostgroup']</td>
<td></td>
</tr>
<tr>
@@ -28,12 +33,17 @@
</tr>
<tr>
<td>click</td>
- <td>//div[@id='hostgroup']/span/div[1]/span[1]/a/span</td>
+ <td>link=Find</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForNotVisible</td>
+ <td>//span[@id='header-network-activity-indicator']</td>
<td></td>
</tr>
<tr>
- <td>waitForTextPresent</td>
- <td>1 hostgroup matched</td>
+ <td>verifyElementPresent</td>
+ <td>//div[@id='hostgroup']//span[@name='search']//input[@value='testhostgroup']</td>
<td></td>
</tr>
<tr>
@@ -43,12 +53,17 @@
</tr>
<tr>
<td>click</td>
- <td>//div[@id='hostgroup']/span/div[1]/span[1]/a/span</td>
+ <td>link=Find</td>
<td></td>
</tr>
<tr>
- <td>waitForTextPresent</td>
- <td>0 hostgroups matched</td>
+ <td>waitForNotVisible</td>
+ <td>//span[@id='header-network-activity-indicator']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>verifyElementNotPresent</td>
+ <td>//div[@id='hostgroup']//span[@name='search']//input[@value='testhostgroup']</td>
<td></td>
</tr>
<tr>
@@ -58,15 +73,19 @@
</tr>
<tr>
<td>click</td>
- <td>//div[@id='hostgroup']/span/div[1]/span[1]/a/span</td>
+ <td>link=Find</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForNotVisible</td>
+ <td>//span[@id='header-network-activity-indicator']</td>
<td></td>
</tr>
<tr>
- <td>waitForTextPresent</td>
- <td>1 hostgroup matched</td>
+ <td>verifyElementPresent</td>
+ <td>//div[@id='hostgroup']//span[@name='search']//input[@value='testhostgroup']</td>
<td></td>
</tr>
-
</tbody></table>
</body>
</html>