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/group-mod.html | 44 ++++++++++++++++++++++--------- 1 file changed, 32 insertions(+), 12 deletions(-) (limited to 'install/ui/test/functional/group-mod.html') diff --git a/install/ui/test/functional/group-mod.html b/install/ui/test/functional/group-mod.html index 092bc921..09ebc17f 100644 --- a/install/ui/test/functional/group-mod.html +++ b/install/ui/test/functional/group-mod.html @@ -13,7 +13,7 @@ open - /ipa/ui/#navigation=0&identity=1 + /ipa/ui/#navigation=identity&identity=group @@ -23,7 +23,7 @@ verifyElementPresent - //div[@id='group']//span[@name='search']//input[@value='testgroup'] + css=.entity[name='group'] .facet[name='search'] input[value='testgroup'] @@ -32,8 +32,18 @@ - waitForTextPresent - testgroup: + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + click + details + + + + waitForNotVisible + //span[@id='header-network-activity-indicator'] @@ -46,13 +56,23 @@ description Test Group 123 + + verifyTextPresent + undo + + click link=Update - waitForTextNotPresent + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyTextNotPresent undo @@ -67,18 +87,13 @@ Test Group - click - link=Update - - - - waitForTextNotPresent + verifyTextPresent undo click - //div[@id='group']/div[1]/ul/li[1]/span + link=Update @@ -86,6 +101,11 @@ //span[@id='header-network-activity-indicator'] + + verifyTextNotPresent + undo + + -- cgit