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. --- install/ui/test/functional/hbacrule-sourcehost.html | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'install/ui/test/functional/hbacrule-sourcehost.html') diff --git a/install/ui/test/functional/hbacrule-sourcehost.html b/install/ui/test/functional/hbacrule-sourcehost.html index ac213f5d..f998bad3 100644 --- a/install/ui/test/functional/hbacrule-sourcehost.html +++ b/install/ui/test/functional/hbacrule-sourcehost.html @@ -13,7 +13,7 @@ open - /ipa/ui/#navigation=1&policy=1 + /ipa/ui/#navigation=policy&policy=hbac @@ -23,7 +23,7 @@ verifyElementPresent - //div[@id='hbacrule']//span[@name='search']//input[@value='testhbacrule'] + css=.entity[name='hbacrule'] .facet[name='search'] input[value='testhbacrule'] @@ -32,13 +32,13 @@ - waitForTextPresent - testhbacrule: + waitForNotVisible + //span[@id='header-network-activity-indicator'] click - //div[@id='hbacrule']//span[@name='sourcehostcategory']//span[@name='sourcehost_host']//a[@title='Add'] + css=.entity[name='hbacrule'] .facet[name='details'] span[name='sourcehost_host'] a[title='Add'] @@ -68,17 +68,17 @@ verifyElementPresent - //div[@id='hbacrule']//span[@name='sourcehostcategory']//span[@name='sourcehost_host']//input[@value='test.example.com'] + css=.entity[name='hbacrule'] .facet[name='details'] span[name='sourcehost_host'] input[value='test.example.com'] click - //div[@id='hbacrule']//span[@name='sourcehostcategory']//span[@name='sourcehost_host']//input[@value='test.example.com'] + css=.entity[name='hbacrule'] .facet[name='details'] span[name='sourcehost_host'] input[value='test.example.com'] click - //div[@id='hbacrule']//span[@name='sourcehostcategory']//span[@name='sourcehost_host']//a[@title='Delete'] + css=.entity[name='hbacrule'] .facet[name='details'] span[name='sourcehost_host'] a[title='Delete'] @@ -93,7 +93,7 @@ verifyElementNotPresent - //div[@id='hbacrule']//span[@name='sourcehostcategory']//span[@name='sourcehost_host']//input[@value='test.example.com'] + css=.entity[name='hbacrule'] .facet[name='details'] span[name='sourcehost_host'] input[value='test.example.com'] -- cgit