From fceb579d6e95df9ba5a0efeaf56f76ff3b3b502e Mon Sep 17 00:00:00 2001 From: "Endi S. Dewata" Date: Tue, 26 Apr 2011 01:26:36 -0400 Subject: Updated Selenium tests. The following test suites have been updated to use the new DOM structure: user, group, host, hostgroup, netgroup, service, HBAC. --- .../test/functional/hostgroup-add-member-host.html | 26 +++++++--------------- 1 file changed, 8 insertions(+), 18 deletions(-) (limited to 'install/ui/test/functional/hostgroup-add-member-host.html') 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 @@ open - /ipa/ui/#navigation=0&identity=3 + /ipa/ui/#navigation=identity&identity=hostgroup @@ -23,7 +23,7 @@ verifyElementPresent - //div[@id='hostgroup']//span[@name='search']//input[@value='testhostgroup'] + css=.entity[name='hostgroup'] .facet[name='search'] input[value='testhostgroup'] @@ -32,13 +32,8 @@ - waitForTextPresent - testhostgroup: - - - - click - //div[@id='hostgroup']/div[1]/ul/li[6] + waitForNotVisible + //span[@id='header-network-activity-indicator'] @@ -67,18 +62,13 @@ - waitForElementPresent - //div[@id='hostgroup']//span[@name='association']//input[@value='test.example.com'] - - - - click - //div[@id='hostgroup']/div[1]/ul/li[1]/span + waitForNotVisible + //span[@id='header-network-activity-indicator'] - waitForNotVisible - //span[@id='header-network-activity-indicator'] + verifyElementPresent + css=.entity[name='hostgroup'] .facet[name='member_host'] input[value='test.example.com'] -- cgit