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/user-mod.html | 82 ++++++++++++++++++++++++++++++++ 1 file changed, 82 insertions(+) create mode 100644 install/ui/test/functional/user-mod.html (limited to 'install/ui/test/functional/user-mod.html') diff --git a/install/ui/test/functional/user-mod.html b/install/ui/test/functional/user-mod.html new file mode 100644 index 00000000..25643615 --- /dev/null +++ b/install/ui/test/functional/user-mod.html @@ -0,0 +1,82 @@ + + + + + + +Edit user + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Edit user
open/ipa/ui/#navigation=0&identity=0
waitForTextPresent2 users matched
clicklink=testuser
waitForTextPresenttestuser:
typeKeystitleSoftware Engineer
clicklink=Add
typemailtestuser@example.
typeKeysmailcom
clicklink=Update
waitForTextNotPresentundo
clickcss=li.back-to-search span.input_link
waitForElementPresent//div[@id='user']/span[@name='search']//input[@value='testuser']
verifyTextcss=table.search-table tbody tr:nth-child(2) span[name=mail]testuser@example.com
+ + -- cgit