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/hbacsvc-mod.html | 32 +++++++++++++++++++++++------ 1 file changed, 26 insertions(+), 6 deletions(-) (limited to 'install/ui/test/functional/hbacsvc-mod.html') diff --git a/install/ui/test/functional/hbacsvc-mod.html b/install/ui/test/functional/hbacsvc-mod.html index 7b498855..26730124 100644 --- a/install/ui/test/functional/hbacsvc-mod.html +++ b/install/ui/test/functional/hbacsvc-mod.html @@ -13,7 +13,7 @@ open - /ipa/ui/#navigation=1&policy=1&hbacrule-entity=hbacsvc + /ipa/ui/#navigation=policy&policy=hbac&hbac=hbacsvc @@ -23,7 +23,7 @@ verifyElementPresent - //div[@id='hbacrule']//span[@name='search']//input[@value='testhbacsvc'] + css=.entity[name='hbacsvc'] .facet[name='search'] input[value='testhbacsvc'] @@ -32,8 +32,8 @@ - waitForTextPresent - testhbacsvc: + waitForNotVisible + //span[@id='header-network-activity-indicator'] @@ -46,13 +46,23 @@ description xxx + + verifyTextPresent + undo + + click link=Update - waitForTextNotPresent + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyTextNotPresent undo @@ -66,13 +76,23 @@ description Test HBAC Service + + verifyTextPresent + undo + + click link=Update - waitForTextNotPresent + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyTextNotPresent undo -- cgit