From 90fb4ca00a26d8509ee22721474b09d080c6ce93 Mon Sep 17 00:00:00 2001 From: "Endi S. Dewata" Date: Fri, 6 May 2011 16:26:53 -0400 Subject: Updated Selenium tests. The following test suites have been updated to use the new DOM structure: SUDO, password policy, Kerberos Ticket policy, ACI. --- install/ui/test/functional/privilege-mod.html | 34 +++++++++++++++++++++++++-- 1 file changed, 32 insertions(+), 2 deletions(-) (limited to 'install/ui/test/functional/privilege-mod.html') diff --git a/install/ui/test/functional/privilege-mod.html b/install/ui/test/functional/privilege-mod.html index b2972876..54894a10 100644 --- a/install/ui/test/functional/privilege-mod.html +++ b/install/ui/test/functional/privilege-mod.html @@ -13,7 +13,7 @@ open - /ipa/ui/#navigation=2&role-entity=privilege + /ipa/ui/#navigation=ipaserver&ipaserver=rolebased&rolebased=privilege @@ -23,7 +23,7 @@ verifyElementPresent - //div[@id='role']//span[@name='search']//input[@value='testprivilege'] + css=.entity[name='privilege'] .facet[name='search'] input[value='testprivilege'] @@ -36,6 +36,16 @@ //span[@id='header-network-activity-indicator'] + + click + details + + + + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + type description @@ -46,6 +56,11 @@ description xxx + + verifyTextPresent + undo + + click link=Update @@ -56,6 +71,11 @@ //span[@id='header-network-activity-indicator'] + + verifyTextNotPresent + undo + + type description @@ -66,6 +86,11 @@ description Test Privilege + + verifyTextPresent + undo + + click link=Update @@ -76,6 +101,11 @@ //span[@id='header-network-activity-indicator'] + + verifyTextNotPresent + undo + + -- cgit