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/hostgroup-mod | 44 +++++++++++++++++++++++--------- 1 file changed, 32 insertions(+), 12 deletions(-) (limited to 'install/ui/test/functional/hostgroup-mod') diff --git a/install/ui/test/functional/hostgroup-mod b/install/ui/test/functional/hostgroup-mod index fd31960d..c93fa986 100644 --- a/install/ui/test/functional/hostgroup-mod +++ b/install/ui/test/functional/hostgroup-mod @@ -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,8 +32,18 @@ - waitForTextPresent - testhostgroup: + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + click + link=Settings + + + + waitForNotVisible + //span[@id='header-network-activity-indicator'] @@ -41,13 +51,23 @@ description xxx + + verifyTextPresent + undo + + click link=Update - waitForTextNotPresent + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyTextNotPresent undo @@ -57,18 +77,13 @@ Test Host Group - click - link=Update - - - - waitForTextNotPresent + verifyTextPresent undo click - //div[@id='hostgroup']/div[1]/ul/li[1]/span + link=Update @@ -76,6 +91,11 @@ //span[@id='header-network-activity-indicator'] + + verifyTextNotPresent + undo + + -- cgit