From 1fccdfccddf1c785b43102690b827b51bd827fb7 Mon Sep 17 00:00:00 2001 From: "Endi S. Dewata" Date: Wed, 16 Mar 2011 21:54:38 -0400 Subject: Added sudo rule test cases. --- install/ui/test/functional/sudorule-host.html | 86 +++++++++++++++++++++++++++ 1 file changed, 86 insertions(+) create mode 100644 install/ui/test/functional/sudorule-host.html (limited to 'install/ui/test/functional/sudorule-host.html') diff --git a/install/ui/test/functional/sudorule-host.html b/install/ui/test/functional/sudorule-host.html new file mode 100644 index 00000000..8b552d6a --- /dev/null +++ b/install/ui/test/functional/sudorule-host.html @@ -0,0 +1,86 @@ + + + + + + +Sudo Rule Host + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Sudo Rule Host
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='hostcategory']//span[@name='memberhost_host']//a[@title='Add']
waitForElementPresent//div[@name='available']//input[@value='test.example.com']
click//div[@name='available']//input[@value='test.example.com']
clicklink=>>
click//button[@type='button']
waitForElementPresent//div[@id='sudorule']//span[@name='hostcategory']//span[@name='memberhost_host']//input[@value='test.example.com']
click//div[@id='sudorule']//span[@name='hostcategory']//span[@name='memberhost_host']//input[@value='test.example.com']
click//div[@id='sudorule']//span[@name='hostcategory']//span[@name='memberhost_host']//a[@title='Delete']
click//button[@type='button']
waitForElementNotPresent//div[@id='sudorule']//span[@name='hostcategory']//span[@name='memberhost_host']//input[@value='test.example.com']
+ + -- cgit