From dc4ded411b1388d7cced96949c3911987bbd2206 Mon Sep 17 00:00:00 2001 From: "Endi S. Dewata" Date: Thu, 17 Mar 2011 15:40:57 -0400 Subject: Added sudo rule allow command test cases. --- .../ui/test/functional/sudorule-allow-command.html | 87 ++++++++++++++++++++++ 1 file changed, 87 insertions(+) create mode 100644 install/ui/test/functional/sudorule-allow-command.html (limited to 'install/ui/test/functional/sudorule-allow-command.html') diff --git a/install/ui/test/functional/sudorule-allow-command.html b/install/ui/test/functional/sudorule-allow-command.html new file mode 100644 index 00000000..b1bf7197 --- /dev/null +++ b/install/ui/test/functional/sudorule-allow-command.html @@ -0,0 +1,87 @@ + + + + + + +Sudo Rule Allow Command + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Sudo Rule Allow Command
open/ipa/ui/#navigation=1&policy=2
waitForElementPresent//div[@id='sudorule']//span[@name='search']//input[@value='testsudorule']
clicklink=testsudorule
waitForTextPresenttestsudorule:
click//div[@id='sudorule']//span[@name='cmdcategory']//span[@name='memberallowcmd_sudocmd']//a[@title='Add']
waitForElementPresent//div[@name='available']//input[@value='testsudocmd']
click//div[@name='available']//input[@value='testsudocmd']
clicklink=>>
click//button[@type='button']
waitForElementPresent//div[@id='sudorule']//span[@name='cmdcategory']//span[@name='memberallowcmd_sudocmd']//input[@value='testsudocmd']
click//div[@id='sudorule']//span[@name='cmdcategory']//span[@name='memberallowcmd_sudocmd']//input[@value='testsudocmd']
click//div[@id='sudorule']//span[@name='cmdcategory']//span[@name='memberallowcmd_sudocmd']//a[@title='Delete']
click//button[@type='button']
waitForElementNotPresent//div[@id='sudorule']//span[@name='cmdcategory']//span[@name='memberallowcmd_sudocmd']//input[@value='testsudocmd']
+ + -- cgit