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/netgroup-mod.html | 137 +++++++++++++++++++++++++++ 1 file changed, 137 insertions(+) create mode 100644 install/ui/test/functional/netgroup-mod.html (limited to 'install/ui/test/functional/netgroup-mod.html') diff --git a/install/ui/test/functional/netgroup-mod.html b/install/ui/test/functional/netgroup-mod.html new file mode 100644 index 00000000..03407d0b --- /dev/null +++ b/install/ui/test/functional/netgroup-mod.html @@ -0,0 +1,137 @@ + + + + + + +Edit Netgroup + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Edit Netgroup
open/ipa/ui/#navigation=0&identity=4
waitForTextPresent1 netgroup matched
clicklink=testnetgroup
waitForTextPresenttestnetgroup:
typedescription
typeKeysdescriptionxxx
typenisdomainname
typeKeysnisdomainnameexample.com
clicklink=Update
waitForTextNotPresentundo
click//div[@id='netgroup']/div[1]/ul/li[1]/span
waitForElementPresent//div[@id='netgroup']//span[@name='search']//input[@value='testnetgroup']
waitForElementPresent//div[@id='netgroup']//span[@name='search']//input[@value='testnetgroup']/ancestor::tr//span[@name='description' and text()='xxx']
clicklink=testnetgroup
waitForTextPresenttestnetgroup:
typedescription
typeKeysdescriptionTest Netgroup
typenisdomainname
typeKeysnisdomainnameidm.lab.bos.redhat.com
clicklink=Update
waitForTextNotPresentundo
click//div[@id='netgroup']/div[1]/ul/li[1]/span
waitForElementPresent//div[@id='netgroup']//span[@name='search']//input[@value='testnetgroup']
waitForElementPresent//div[@id='netgroup']//span[@name='search']//input[@value='testnetgroup']/ancestor::tr//span[@name='description' and text()='Test Netgroup']
+ + -- cgit