From fceb579d6e95df9ba5a0efeaf56f76ff3b3b502e Mon Sep 17 00:00:00 2001 From: "Endi S. Dewata" Date: Tue, 26 Apr 2011 01:26:36 -0400 Subject: Updated Selenium tests. The following test suites have been updated to use the new DOM structure: user, group, host, hostgroup, netgroup, service, HBAC. --- install/ui/test/functional/host-mod.html | 49 ++++++++++++++++++++++++-------- 1 file changed, 37 insertions(+), 12 deletions(-) (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 index f1f2b2d6..b2d64bef 100644 --- a/install/ui/test/functional/host-mod.html +++ b/install/ui/test/functional/host-mod.html @@ -13,7 +13,7 @@ open - /ipa/ui/#navigation=0&identity=2 + /ipa/ui/#navigation=identity&identity=host @@ -23,7 +23,7 @@ verifyElementPresent - //div[@id='host']//span[@name='search']//input[@value='test.example.com'] + css=.entity[name='host'] .facet[name='search'] input[value='test.example.com'] @@ -32,8 +32,8 @@ - waitForElementPresent - //div[@id='host']//span[@name='fqdn'][label='test.example.com'] + waitForNotVisible + //span[@id='header-network-activity-indicator'] @@ -44,7 +44,12 @@ typeKeys description - Test Host + xxx + + + verifyTextPresent + undo + click @@ -52,24 +57,44 @@ - waitForTextNotPresent + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyTextNotPresent + undo + + + + type + description + + + + typeKeys + description + Test Host + + + verifyTextPresent undo click - //div[@id='host']/div[1]/ul/li[1]/span + link=Update - waitForElementPresent - //div[@id='host']//span[@name='search']//input[@value='test.example.com'] + waitForNotVisible + //span[@id='header-network-activity-indicator'] - verifyText - css=#host table.search-table tbody tr:nth-child(2) span[name=description] - Test Host + verifyTextNotPresent + undo + -- cgit