From e3a76d435e5ff312f503afb899ef6b505621d48a Mon Sep 17 00:00:00 2001 From: "Endi S. Dewata" Date: Wed, 30 Mar 2011 22:52:28 -0400 Subject: Initial Selenium test cases. http://www.freeipa.org/page/Selenium --- install/ui/test/functional/host-mod.html | 71 ++++++++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) create mode 100644 install/ui/test/functional/host-mod.html (limited to 'install/ui/test/functional/host-mod.html') diff --git a/install/ui/test/functional/host-mod.html b/install/ui/test/functional/host-mod.html new file mode 100644 index 00000000..773a9e82 --- /dev/null +++ b/install/ui/test/functional/host-mod.html @@ -0,0 +1,71 @@ + + + + + + +Edit Host + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Edit Host
open/ipa/ui/#navigation=0&identity=2
waitForTextPresent2 hosts matched
clicklink=test.example.com
waitForElementPresent//div[@id='host']//span[@name='fqdn'][label='test.example.com']
typedescription
typeKeysdescriptionTest Host
clicklink=Update
waitForTextNotPresentundo
click//div[@id='host']/div[1]/ul/li[1]/span
waitForElementPresent//div[@id='host']//span[@name='search']//input[@value='test.example.com']
verifyTextcss=#host table.search-table tbody tr:nth-child(2) span[name=description]Test Host
+ + -- cgit