diff options
author | Endi S. Dewata <edewata@redhat.com> | 2011-04-26 01:26:36 -0400 |
---|---|---|
committer | Adam Young <ayoung@redhat.com> | 2011-05-10 14:30:39 -0400 |
commit | fceb579d6e95df9ba5a0efeaf56f76ff3b3b502e (patch) | |
tree | 37a38783a207d9d0d89e39d0b1a5e6223536d65a /install/ui/test/functional/hostgroup-add-member-host.html | |
parent | be0308cf681fbcf02f9663c7c7df877e3a29c431 (diff) | |
download | freeipa.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-add-member-host.html')
-rw-r--r-- | install/ui/test/functional/hostgroup-add-member-host.html | 26 |
1 files changed, 8 insertions, 18 deletions
diff --git a/install/ui/test/functional/hostgroup-add-member-host.html b/install/ui/test/functional/hostgroup-add-member-host.html index 843bdb2e..d8972a7d 100644 --- a/install/ui/test/functional/hostgroup-add-member-host.html +++ b/install/ui/test/functional/hostgroup-add-member-host.html @@ -13,7 +13,7 @@ </thead><tbody> <tr> <td>open</td> - <td>/ipa/ui/#navigation=0&identity=3</td> + <td>/ipa/ui/#navigation=identity&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,13 +32,8 @@ <td></td> </tr> <tr> - <td>waitForTextPresent</td> - <td>testhostgroup:</td> - <td></td> -</tr> -<tr> - <td>click</td> - <td>//div[@id='hostgroup']/div[1]/ul/li[6]</td> + <td>waitForNotVisible</td> + <td>//span[@id='header-network-activity-indicator']</td> <td></td> </tr> <tr> @@ -67,18 +62,13 @@ <td></td> </tr> <tr> - <td>waitForElementPresent</td> - <td>//div[@id='hostgroup']//span[@name='association']//input[@value='test.example.com']</td> - <td></td> -</tr> -<tr> - <td>click</td> - <td>//div[@id='hostgroup']/div[1]/ul/li[1]/span</td> + <td>waitForNotVisible</td> + <td>//span[@id='header-network-activity-indicator']</td> <td></td> </tr> <tr> - <td>waitForNotVisible</td> - <td>//span[@id='header-network-activity-indicator']</td> + <td>verifyElementPresent</td> + <td>css=.entity[name='hostgroup'] .facet[name='member_host'] input[value='test.example.com']</td> <td></td> </tr> </tbody></table> |