From 68ff18ed10a957bf022c654c38518915bd68fcc8 Mon Sep 17 00:00:00 2001 From: "Endi S. Dewata" Date: Fri, 8 Apr 2011 14:29:08 -0400 Subject: Updated Selenium tests. The Selenium tests have been updated to improve robustness. --- .../ui/test/functional/group-add-member-user.html | 15 ++++-- install/ui/test/functional/group-add.html | 18 ++++++-- install/ui/test/functional/group-del.html | 18 ++++++-- install/ui/test/functional/group-find.html | 51 +++++++++++++++++---- install/ui/test/functional/group-mod.html | 13 ++++-- .../test/functional/group-remove-member-user.html | 17 ++++--- .../ui/test/functional/hbacrule-activation.html | 8 +++- install/ui/test/functional/hbacrule-add.html | 16 +++++-- install/ui/test/functional/hbacrule-del.html | 14 +++++- install/ui/test/functional/hbacrule-find.html | 29 ++++++++++-- install/ui/test/functional/hbacrule-host.html | 22 +++++++-- install/ui/test/functional/hbacrule-mod.html | 8 +++- install/ui/test/functional/hbacrule-service.html | 21 +++++++-- .../ui/test/functional/hbacrule-sourcehost.html | 21 +++++++-- install/ui/test/functional/hbacrule-user.html | 21 +++++++-- install/ui/test/functional/hbacsvc-add.html | 16 +++++-- install/ui/test/functional/hbacsvc-del.html | 14 +++++- install/ui/test/functional/hbacsvc-find.html | 29 ++++++++++-- install/ui/test/functional/hbacsvc-mod.html | 8 +++- .../test/functional/hbacsvcgroup-add-member.html | 15 ++++-- install/ui/test/functional/hbacsvcgroup-add.html | 17 +++++-- install/ui/test/functional/hbacsvcgroup-del.html | 15 ++++-- install/ui/test/functional/hbacsvcgroup-find.html | 29 ++++++++++-- install/ui/test/functional/hbacsvcgroup-mod.html | 8 +++- .../functional/hbacsvcgroup-remove-member.html | 15 ++++-- install/ui/test/functional/host-add.html | 18 ++++++-- install/ui/test/functional/host-certificate.html | 9 +++- install/ui/test/functional/host-del.html | 20 ++++++-- install/ui/test/functional/host-find.html | 47 ++++++++++++++++--- install/ui/test/functional/host-mod.html | 9 +++- .../test/functional/hostgroup-add-member-host.html | 16 ++++--- install/ui/test/functional/hostgroup-add.html | 19 ++++++-- install/ui/test/functional/hostgroup-del.html | 20 ++++++-- install/ui/test/functional/hostgroup-find.html | 43 +++++++++++++----- install/ui/test/functional/hostgroup-mod | 14 ++++-- .../functional/hostgroup-remove-member-host.html | 19 +++++--- .../test/functional/netgroup-add-member-user.html | 12 +++-- install/ui/test/functional/netgroup-add.html | 19 ++++++-- install/ui/test/functional/netgroup-del.html | 21 ++++++--- install/ui/test/functional/netgroup-find.html | 37 +++++++++++---- install/ui/test/functional/netgroup-mod.html | 19 ++++++-- .../functional/netgroup-remove-member-user.html | 10 ++-- install/ui/test/functional/permission-add.html | 18 ++++++-- install/ui/test/functional/permission-del.html | 20 ++++++-- install/ui/test/functional/permission-find.html | 37 +++++++++++---- install/ui/test/functional/permission-mod.html | 6 ++- install/ui/test/functional/privilege-add.html | 14 +++++- install/ui/test/functional/privilege-del.html | 20 ++++++-- install/ui/test/functional/privilege-find.html | 36 +++++++++++---- install/ui/test/functional/privilege-mod.html | 5 ++ install/ui/test/functional/pwpolicy-add.html | 12 ++++- install/ui/test/functional/pwpolicy-del.html | 15 ++++-- install/ui/test/functional/pwpolicy-mod.html | 7 ++- install/ui/test/functional/role-add.html | 14 +++++- install/ui/test/functional/role-del.html | 20 ++++++-- install/ui/test/functional/role-find.html | 36 +++++++++++---- install/ui/test/functional/role-mod.html | 6 ++- install/ui/test/functional/service-add.html | 18 ++++++-- .../ui/test/functional/service-certificate.html | 9 +++- install/ui/test/functional/service-del.html | 21 ++++++--- install/ui/test/functional/service-find.html | 48 +++++++++++++++++--- install/ui/test/functional/service-mod.html | 10 ++-- install/ui/test/functional/sudocmd-add.html | 16 +++++-- install/ui/test/functional/sudocmd-del.html | 14 +++++- install/ui/test/functional/sudocmd-find.html | 31 ++++++++++--- install/ui/test/functional/sudocmd-membership.html | 22 +++++++-- install/ui/test/functional/sudocmd-mod.html | 8 +++- install/ui/test/functional/sudocmdgroup-add.html | 16 +++++-- install/ui/test/functional/sudocmdgroup-del.html | 14 +++++- install/ui/test/functional/sudocmdgroup-find.html | 29 ++++++++++-- .../ui/test/functional/sudocmdgroup-member.html | 22 +++++++-- install/ui/test/functional/sudocmdgroup-mod.html | 8 +++- .../ui/test/functional/sudorule-activation.html | 8 +++- install/ui/test/functional/sudorule-add.html | 8 +++- .../ui/test/functional/sudorule-allow-command.html | 22 +++++++-- install/ui/test/functional/sudorule-del.html | 4 +- install/ui/test/functional/sudorule-find.html | 30 ++++++++---- install/ui/test/functional/sudorule-host.html | 21 +++++++-- install/ui/test/functional/sudorule-mod.html | 8 +++- install/ui/test/functional/sudorule-runasuser.html | 21 +++++++-- install/ui/test/functional/sudorule-user.html | 21 +++++++-- install/ui/test/functional/user-activation.html | 13 ++++-- install/ui/test/functional/user-add.html | 18 ++++++-- install/ui/test/functional/user-del.html | 20 ++++++-- install/ui/test/functional/user-find.html | 53 ++++++++++++++++++---- install/ui/test/functional/user-mod.html | 13 ++++-- .../ui/test/functional/user-password-reset.html | 13 ++++-- 87 files changed, 1285 insertions(+), 350 deletions(-) (limited to 'install/ui/test') diff --git a/install/ui/test/functional/group-add-member-user.html b/install/ui/test/functional/group-add-member-user.html index b0b18f35..6477e7df 100644 --- a/install/ui/test/functional/group-add-member-user.html +++ b/install/ui/test/functional/group-add-member-user.html @@ -17,8 +17,13 @@ - waitForTextPresent - 4 groups matched + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent + //div[@id='group']//span[@name='search']//input[@value='testgroup'] @@ -63,7 +68,7 @@ waitForElementPresent - //div[@id='group']/span[@name='association']//input[@value='testuser'] + //div[@id='group']//span[@name='association']//input[@value='testuser'] @@ -72,8 +77,8 @@ - waitForTextPresent - 4 groups matched + waitForNotVisible + //span[@id='header-network-activity-indicator'] diff --git a/install/ui/test/functional/group-add.html b/install/ui/test/functional/group-add.html index 6d59588d..738136ea 100644 --- a/install/ui/test/functional/group-add.html +++ b/install/ui/test/functional/group-add.html @@ -17,8 +17,13 @@ - waitForTextPresent - 3 groups matched + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementNotPresent + //div[@id='group']//span[@name='search']//input[@value='testgroup'] @@ -42,8 +47,13 @@ - waitForElementPresent - //div[@id='group']/span[@name='search']//input[@value='testgroup'] + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent + //div[@id='group']//span[@name='search']//input[@value='testgroup'] diff --git a/install/ui/test/functional/group-del.html b/install/ui/test/functional/group-del.html index a05f52cf..84074cd8 100644 --- a/install/ui/test/functional/group-del.html +++ b/install/ui/test/functional/group-del.html @@ -17,8 +17,13 @@ - waitForTextPresent - 4 groups matched + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent + //div[@id='group']//span[@name='search']//input[@value='testgroup'] @@ -37,8 +42,13 @@ - waitForTextPresent - 3 groups matched + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementNotPresent + //div[@id='group']//span[@name='search']//input[@value='testgroup'] diff --git a/install/ui/test/functional/group-find.html b/install/ui/test/functional/group-find.html index ebc5624d..1f9c3482 100644 --- a/install/ui/test/functional/group-find.html +++ b/install/ui/test/functional/group-find.html @@ -17,14 +17,19 @@ - waitForTextPresent - 4 groups matched + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent + //div[@id='group']//span[@name='search']//input[@value='testgroup'] type search-group-filter - testgroup + test click @@ -32,8 +37,33 @@ - waitForTextPresent - 1 group matched + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent + //div[@id='group']//span[@name='search']//input[@value='testgroup'] + + + + type + search-group-filter + xxx + + + click + link=Find + + + + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementNotPresent + //div[@id='group']//span[@name='search']//input[@value='testgroup'] @@ -43,12 +73,17 @@ click - //div[@id='group']/span/div[1]/span[1]/a/span + link=Find + + + + waitForNotVisible + //span[@id='header-network-activity-indicator'] - waitForTextPresent - 4 groups matched + verifyElementPresent + //div[@id='group']//span[@name='search']//input[@value='testgroup'] diff --git a/install/ui/test/functional/group-mod.html b/install/ui/test/functional/group-mod.html index bc810408..092bc921 100644 --- a/install/ui/test/functional/group-mod.html +++ b/install/ui/test/functional/group-mod.html @@ -17,8 +17,13 @@ - waitForTextPresent - 4 groups matched + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent + //div[@id='group']//span[@name='search']//input[@value='testgroup'] @@ -77,8 +82,8 @@ - waitForTextPresent - 4 groups matched + waitForNotVisible + //span[@id='header-network-activity-indicator'] diff --git a/install/ui/test/functional/group-remove-member-user.html b/install/ui/test/functional/group-remove-member-user.html index 9b37afcb..bd44e643 100644 --- a/install/ui/test/functional/group-remove-member-user.html +++ b/install/ui/test/functional/group-remove-member-user.html @@ -17,8 +17,13 @@ - waitForTextPresent - 4 groups matched + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent + //div[@id='group']//span[@name='search']//input[@value='testgroup'] @@ -38,12 +43,12 @@ waitForElementPresent - //div[@id='group']/span[@name='association']//input[@value='testuser'] + //div[@id='group']//span[@name='association']//input[@value='testuser'] click - //div[@id='group']/span[@name='association']//input[@value='testuser'] + //div[@id='group']//span[@name='association']//input[@value='testuser'] @@ -67,8 +72,8 @@ - waitForTextPresent - 4 groups matched + waitForNotVisible + //span[@id='header-network-activity-indicator'] diff --git a/install/ui/test/functional/hbacrule-activation.html b/install/ui/test/functional/hbacrule-activation.html index b5397eb0..30f7d608 100644 --- a/install/ui/test/functional/hbacrule-activation.html +++ b/install/ui/test/functional/hbacrule-activation.html @@ -17,7 +17,12 @@ - waitForElementPresent + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent //div[@id='hbacrule']//span[@name='search']//input[@value='testhbacrule'] @@ -61,7 +66,6 @@ undo - diff --git a/install/ui/test/functional/hbacrule-add.html b/install/ui/test/functional/hbacrule-add.html index 2dd46b66..74e43b5a 100644 --- a/install/ui/test/functional/hbacrule-add.html +++ b/install/ui/test/functional/hbacrule-add.html @@ -17,8 +17,13 @@ - waitForTextPresent - 1 HBAC rule matched + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementNotPresent + //div[@id='hbacrule']//span[@name='search']//input[@value='testhbacrule'] @@ -42,7 +47,12 @@ - waitForElementPresent + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent //div[@id='hbacrule']//span[@name='search']//input[@value='testhbacrule'] diff --git a/install/ui/test/functional/hbacrule-del.html b/install/ui/test/functional/hbacrule-del.html index ca6d0b8e..c513aff9 100644 --- a/install/ui/test/functional/hbacrule-del.html +++ b/install/ui/test/functional/hbacrule-del.html @@ -17,7 +17,12 @@ - waitForElementPresent + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent //div[@id='hbacrule']//span[@name='search']//input[@value='testhbacrule'] @@ -37,7 +42,12 @@ - waitForElementNotPresent + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementNotPresent //div[@id='hbacrule']//span[@name='search']//input[@value='testhbacrule'] diff --git a/install/ui/test/functional/hbacrule-find.html b/install/ui/test/functional/hbacrule-find.html index 9fcec8a6..236fb1ff 100644 --- a/install/ui/test/functional/hbacrule-find.html +++ b/install/ui/test/functional/hbacrule-find.html @@ -17,7 +17,12 @@ - waitForElementPresent + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent //div[@id='hbacrule']//span[@name='search']//input[@value='testhbacrule'] @@ -32,7 +37,12 @@ - waitForElementPresent + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent //div[@id='hbacrule']//span[@name='search']//input[@value='testhbacrule'] @@ -47,7 +57,12 @@ - waitForElementNotPresent + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementNotPresent //div[@id='hbacrule']//span[@name='search']//input[@value='testhbacrule'] @@ -62,11 +77,15 @@ - waitForElementPresent + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent //div[@id='hbacrule']//span[@name='search']//input[@value='testhbacrule'] - diff --git a/install/ui/test/functional/hbacrule-host.html b/install/ui/test/functional/hbacrule-host.html index bcaff872..01dbb777 100644 --- a/install/ui/test/functional/hbacrule-host.html +++ b/install/ui/test/functional/hbacrule-host.html @@ -17,7 +17,12 @@ - waitForElementPresent + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent //div[@id='hbacrule']//span[@name='search']//input[@value='testhbacrule'] @@ -57,7 +62,12 @@ - waitForElementPresent + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent //div[@id='hbacrule']//span[@name='hostcategory']//span[@name='memberhost_host']//input[@value='test.example.com'] @@ -77,11 +87,15 @@ - waitForElementNotPresent + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementNotPresent //div[@id='hbacrule']//span[@name='hostcategory']//span[@name='memberhost_host']//input[@value='test.example.com'] - diff --git a/install/ui/test/functional/hbacrule-mod.html b/install/ui/test/functional/hbacrule-mod.html index 18c2be91..22d46c8f 100644 --- a/install/ui/test/functional/hbacrule-mod.html +++ b/install/ui/test/functional/hbacrule-mod.html @@ -17,7 +17,12 @@ - waitForElementPresent + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent //div[@id='hbacrule']//span[@name='search']//input[@value='testhbacrule'] @@ -81,7 +86,6 @@ undo - diff --git a/install/ui/test/functional/hbacrule-service.html b/install/ui/test/functional/hbacrule-service.html index 98090486..7e777ea3 100644 --- a/install/ui/test/functional/hbacrule-service.html +++ b/install/ui/test/functional/hbacrule-service.html @@ -17,7 +17,12 @@ - waitForElementPresent + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent //div[@id='hbacrule']//span[@name='search']//input[@value='testhbacrule'] @@ -57,7 +62,12 @@ - waitForElementPresent + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent //div[@id='hbacrule']//span[@name='servicecategory']//span[@name='memberservice_hbacsvc']//input[@value='testhbacsvc'] @@ -77,7 +87,12 @@ - waitForElementNotPresent + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementNotPresent //div[@id='hbacrule']//span[@name='servicecategory']//span[@name='memberservice_hbacsvc']//input[@value='testhbacsvc'] diff --git a/install/ui/test/functional/hbacrule-sourcehost.html b/install/ui/test/functional/hbacrule-sourcehost.html index ae998b80..ac213f5d 100644 --- a/install/ui/test/functional/hbacrule-sourcehost.html +++ b/install/ui/test/functional/hbacrule-sourcehost.html @@ -17,7 +17,12 @@ - waitForElementPresent + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent //div[@id='hbacrule']//span[@name='search']//input[@value='testhbacrule'] @@ -57,7 +62,12 @@ - waitForElementPresent + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent //div[@id='hbacrule']//span[@name='sourcehostcategory']//span[@name='sourcehost_host']//input[@value='test.example.com'] @@ -77,7 +87,12 @@ - waitForElementNotPresent + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementNotPresent //div[@id='hbacrule']//span[@name='sourcehostcategory']//span[@name='sourcehost_host']//input[@value='test.example.com'] diff --git a/install/ui/test/functional/hbacrule-user.html b/install/ui/test/functional/hbacrule-user.html index 35d0a52e..59abc848 100644 --- a/install/ui/test/functional/hbacrule-user.html +++ b/install/ui/test/functional/hbacrule-user.html @@ -17,7 +17,12 @@ - waitForElementPresent + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent //div[@id='hbacrule']//span[@name='search']//input[@value='testhbacrule'] @@ -57,7 +62,12 @@ - waitForElementPresent + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent //div[@id='hbacrule']//span[@name='usercategory']//span[@name='memberuser_user']//input[@value='testuser'] @@ -77,7 +87,12 @@ - waitForElementNotPresent + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementNotPresent //div[@id='hbacrule']//span[@name='usercategory']//span[@name='memberuser_user']//input[@value='testuser'] diff --git a/install/ui/test/functional/hbacsvc-add.html b/install/ui/test/functional/hbacsvc-add.html index b9a1d890..98503e6e 100644 --- a/install/ui/test/functional/hbacsvc-add.html +++ b/install/ui/test/functional/hbacsvc-add.html @@ -17,8 +17,13 @@ - waitForTextPresent - 10 HBAC services matched + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementNotPresent + //div[@id='hbacrule']//span[@name='search']//input[@value='testhbacsvc'] @@ -42,7 +47,12 @@ - waitForElementPresent + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent //div[@id='hbacrule']//span[@name='search']//input[@value='testhbacsvc'] diff --git a/install/ui/test/functional/hbacsvc-del.html b/install/ui/test/functional/hbacsvc-del.html index 030aa972..50bac348 100644 --- a/install/ui/test/functional/hbacsvc-del.html +++ b/install/ui/test/functional/hbacsvc-del.html @@ -17,7 +17,12 @@ - waitForElementPresent + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent //div[@id='hbacrule']//span[@name='search']//input[@value='testhbacsvc'] @@ -37,7 +42,12 @@ - waitForElementNotPresent + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementNotPresent //div[@id='hbacrule']//span[@name='search']//input[@value='testhbacsvc'] diff --git a/install/ui/test/functional/hbacsvc-find.html b/install/ui/test/functional/hbacsvc-find.html index 77ae0ab5..71a09f5f 100644 --- a/install/ui/test/functional/hbacsvc-find.html +++ b/install/ui/test/functional/hbacsvc-find.html @@ -17,7 +17,12 @@ - waitForElementPresent + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent //div[@id='hbacrule']//span[@name='search']//input[@value='testhbacsvc'] @@ -32,7 +37,12 @@ - waitForElementPresent + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent //div[@id='hbacrule']//span[@name='search']//input[@value='testhbacsvc'] @@ -47,7 +57,12 @@ - waitForElementNotPresent + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementNotPresent //div[@id='hbacrule']//span[@name='search']//input[@value='testhbacsvc'] @@ -62,11 +77,15 @@ - waitForElementPresent + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent //div[@id='hbacrule']//span[@name='search']//input[@value='testhbacsvc'] - diff --git a/install/ui/test/functional/hbacsvc-mod.html b/install/ui/test/functional/hbacsvc-mod.html index 0de96ca2..7b498855 100644 --- a/install/ui/test/functional/hbacsvc-mod.html +++ b/install/ui/test/functional/hbacsvc-mod.html @@ -17,7 +17,12 @@ - waitForElementPresent + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent //div[@id='hbacrule']//span[@name='search']//input[@value='testhbacsvc'] @@ -71,7 +76,6 @@ undo - diff --git a/install/ui/test/functional/hbacsvcgroup-add-member.html b/install/ui/test/functional/hbacsvcgroup-add-member.html index 9574d396..a92d2a21 100644 --- a/install/ui/test/functional/hbacsvcgroup-add-member.html +++ b/install/ui/test/functional/hbacsvcgroup-add-member.html @@ -17,7 +17,12 @@ - waitForElementPresent + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent //div[@id='hbacrule']//span[@name='search']//input[@value='testhbacsvcgroup'] @@ -57,11 +62,15 @@ - waitForElementPresent + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent //div[@id='hbacrule']//span[@name='member_hbacsvc']//input[@value='testhbacsvc'] - diff --git a/install/ui/test/functional/hbacsvcgroup-add.html b/install/ui/test/functional/hbacsvcgroup-add.html index 71c84df6..b174fad3 100644 --- a/install/ui/test/functional/hbacsvcgroup-add.html +++ b/install/ui/test/functional/hbacsvcgroup-add.html @@ -17,8 +17,13 @@ - waitForTextPresent - 1 HBAC service group matched + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementNotPresent + //div[@id='hbacrule']//span[@name='search']//input[@value='testhbacsvcgroup'] @@ -42,11 +47,15 @@ - waitForElementPresent + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent //div[@id='hbacrule']//span[@name='search']//input[@value='testhbacsvcgroup'] - diff --git a/install/ui/test/functional/hbacsvcgroup-del.html b/install/ui/test/functional/hbacsvcgroup-del.html index 3027ca39..bc7ade30 100644 --- a/install/ui/test/functional/hbacsvcgroup-del.html +++ b/install/ui/test/functional/hbacsvcgroup-del.html @@ -17,7 +17,12 @@ - waitForElementPresent + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent //div[@id='hbacrule']//span[@name='search']//input[@value='testhbacsvcgroup'] @@ -37,11 +42,15 @@ - waitForElementNotPresent + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementNotPresent //div[@id='hbacrule']//span[@name='search']//input[@value='testhbacsvcgroup'] - diff --git a/install/ui/test/functional/hbacsvcgroup-find.html b/install/ui/test/functional/hbacsvcgroup-find.html index 2203d142..78d21ccb 100644 --- a/install/ui/test/functional/hbacsvcgroup-find.html +++ b/install/ui/test/functional/hbacsvcgroup-find.html @@ -17,7 +17,12 @@ - waitForElementPresent + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent //div[@id='hbacrule']//span[@name='search']//input[@value='testhbacsvcgroup'] @@ -32,7 +37,12 @@ - waitForElementPresent + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent //div[@id='hbacrule']//span[@name='search']//input[@value='testhbacsvcgroup'] @@ -47,7 +57,12 @@ - waitForElementNotPresent + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementNotPresent //div[@id='hbacrule']//span[@name='search']//input[@value='testhbacsvcgroup'] @@ -62,11 +77,15 @@ - waitForElementPresent + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent //div[@id='hbacrule']//span[@name='search']//input[@value='testhbacsvcgroup'] - diff --git a/install/ui/test/functional/hbacsvcgroup-mod.html b/install/ui/test/functional/hbacsvcgroup-mod.html index 68561404..4ad29009 100644 --- a/install/ui/test/functional/hbacsvcgroup-mod.html +++ b/install/ui/test/functional/hbacsvcgroup-mod.html @@ -17,7 +17,12 @@ - waitForElementPresent + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent //div[@id='hbacrule']//span[@name='search']//input[@value='testhbacsvcgroup'] @@ -71,7 +76,6 @@ undo - diff --git a/install/ui/test/functional/hbacsvcgroup-remove-member.html b/install/ui/test/functional/hbacsvcgroup-remove-member.html index 4fc73123..b48e9bd6 100644 --- a/install/ui/test/functional/hbacsvcgroup-remove-member.html +++ b/install/ui/test/functional/hbacsvcgroup-remove-member.html @@ -17,7 +17,12 @@ - waitForElementPresent + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent //div[@id='hbacrule']//span[@name='search']//input[@value='testhbacsvcgroup'] @@ -52,11 +57,15 @@ - waitForElementNotPresent + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementNotPresent //div[@id='hbacrule']//span[@name='member_hbacsvc']//input[@value='testhbacsvc'] - diff --git a/install/ui/test/functional/host-add.html b/install/ui/test/functional/host-add.html index 9ea659b1..92657a23 100644 --- a/install/ui/test/functional/host-add.html +++ b/install/ui/test/functional/host-add.html @@ -17,8 +17,13 @@ - waitForTextPresent - 1 host matched + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementNotPresent + //div[@id='host']//span[@name='search']//input[@value='test.example.com'] @@ -42,8 +47,13 @@ - waitForElementPresent - //div[@id='host']/span[@name='search']//input[@value='test.example.com'] + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent + //div[@id='host']//span[@name='search']//input[@value='test.example.com'] diff --git a/install/ui/test/functional/host-certificate.html b/install/ui/test/functional/host-certificate.html index 3931204e..47f3709a 100644 --- a/install/ui/test/functional/host-certificate.html +++ b/install/ui/test/functional/host-certificate.html @@ -17,8 +17,13 @@ - waitForTextPresent - 2 hosts matched + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent + //div[@id='host']//span[@name='search']//input[@value='test.example.com'] diff --git a/install/ui/test/functional/host-del.html b/install/ui/test/functional/host-del.html index 38554bac..4516fa24 100644 --- a/install/ui/test/functional/host-del.html +++ b/install/ui/test/functional/host-del.html @@ -17,13 +17,18 @@ - waitForTextPresent - 2 hosts matched + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent + //div[@id='host']//span[@name='search']//input[@value='test.example.com'] click - //input[@name='select' and @value='test.example.com'] + //div[@id='host']//span[@name='search']//input[@value='test.example.com'] @@ -37,8 +42,13 @@ - waitForTextPresent - 1 host matched + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementNotPresent + //div[@id='host']//span[@name='search']//input[@value='test.example.com'] diff --git a/install/ui/test/functional/host-find.html b/install/ui/test/functional/host-find.html index cb9235d7..7d2c0030 100644 --- a/install/ui/test/functional/host-find.html +++ b/install/ui/test/functional/host-find.html @@ -17,8 +17,13 @@ - waitForTextPresent - 2 hosts matched + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent + //div[@id='host']//span[@name='search']//input[@value='test.example.com'] @@ -32,8 +37,33 @@ - waitForTextPresent - 1 host matched + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent + //div[@id='host']//span[@name='search']//input[@value='test.example.com'] + + + + type + search-host-filter + xxx + + + click + link=Find + + + + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementNotPresent + //div[@id='host']//span[@name='search']//input[@value='test.example.com'] @@ -47,8 +77,13 @@ - waitForTextPresent - 2 hosts matched + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent + //div[@id='host']//span[@name='search']//input[@value='test.example.com'] diff --git a/install/ui/test/functional/host-mod.html b/install/ui/test/functional/host-mod.html index 773a9e82..f1f2b2d6 100644 --- a/install/ui/test/functional/host-mod.html +++ b/install/ui/test/functional/host-mod.html @@ -17,8 +17,13 @@ - waitForTextPresent - 2 hosts matched + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent + //div[@id='host']//span[@name='search']//input[@value='test.example.com'] diff --git a/install/ui/test/functional/hostgroup-add-member-host.html b/install/ui/test/functional/hostgroup-add-member-host.html index 1030d6a5..843bdb2e 100644 --- a/install/ui/test/functional/hostgroup-add-member-host.html +++ b/install/ui/test/functional/hostgroup-add-member-host.html @@ -17,8 +17,13 @@ - waitForTextPresent - 1 hostgroup matched + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent + //div[@id='hostgroup']//span[@name='search']//input[@value='testhostgroup'] @@ -63,7 +68,7 @@ waitForElementPresent - //div[@id='hostgroup']/span[@name='association']//input[@value='test.example.com'] + //div[@id='hostgroup']//span[@name='association']//input[@value='test.example.com'] @@ -72,11 +77,10 @@ - waitForTextPresent - 1 hostgroup matched + waitForNotVisible + //span[@id='header-network-activity-indicator'] - diff --git a/install/ui/test/functional/hostgroup-add.html b/install/ui/test/functional/hostgroup-add.html index 116c4725..8188adb4 100644 --- a/install/ui/test/functional/hostgroup-add.html +++ b/install/ui/test/functional/hostgroup-add.html @@ -17,8 +17,13 @@ - waitForTextPresent - 0 hostgroups matched + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementNotPresent + //div[@id='hostgroup']//span[@name='search']//input[@value='testhostgroup'] @@ -42,11 +47,15 @@ - waitForTextPresent - 1 hostgroup matched + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent + //div[@id='hostgroup']//span[@name='search']//input[@value='testhostgroup'] - diff --git a/install/ui/test/functional/hostgroup-del.html b/install/ui/test/functional/hostgroup-del.html index e062f647..6faa4c39 100644 --- a/install/ui/test/functional/hostgroup-del.html +++ b/install/ui/test/functional/hostgroup-del.html @@ -17,13 +17,18 @@ - waitForTextPresent - 1 hostgroup matched + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent + //div[@id='hostgroup']//span[@name='search']//input[@value='testhostgroup'] click - //input[@name='select' and @value='testhostgroup'] + //div[@id='hostgroup']//span[@name='search']//input[@value='testhostgroup'] @@ -37,8 +42,13 @@ - waitForTextPresent - 0 hostgroups matched + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementNotPresent + //div[@id='hostgroup']//span[@name='search']//input[@value='testhostgroup'] diff --git a/install/ui/test/functional/hostgroup-find.html b/install/ui/test/functional/hostgroup-find.html index 08476f5c..13a34328 100644 --- a/install/ui/test/functional/hostgroup-find.html +++ b/install/ui/test/functional/hostgroup-find.html @@ -17,8 +17,13 @@ - waitForTextPresent - 1 hostgroup matched + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent + //div[@id='hostgroup']//span[@name='search']//input[@value='testhostgroup'] @@ -28,12 +33,17 @@ click - //div[@id='hostgroup']/span/div[1]/span[1]/a/span + link=Find + + + + waitForNotVisible + //span[@id='header-network-activity-indicator'] - waitForTextPresent - 1 hostgroup matched + verifyElementPresent + //div[@id='hostgroup']//span[@name='search']//input[@value='testhostgroup'] @@ -43,12 +53,17 @@ click - //div[@id='hostgroup']/span/div[1]/span[1]/a/span + link=Find - waitForTextPresent - 0 hostgroups matched + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementNotPresent + //div[@id='hostgroup']//span[@name='search']//input[@value='testhostgroup'] @@ -58,15 +73,19 @@ click - //div[@id='hostgroup']/span/div[1]/span[1]/a/span + link=Find + + + + waitForNotVisible + //span[@id='header-network-activity-indicator'] - waitForTextPresent - 1 hostgroup matched + verifyElementPresent + //div[@id='hostgroup']//span[@name='search']//input[@value='testhostgroup'] - diff --git a/install/ui/test/functional/hostgroup-mod b/install/ui/test/functional/hostgroup-mod index a14029f9..fd31960d 100644 --- a/install/ui/test/functional/hostgroup-mod +++ b/install/ui/test/functional/hostgroup-mod @@ -17,8 +17,13 @@ - waitForTextPresent - 1 hostgroup matched + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent + //div[@id='hostgroup']//span[@name='search']//input[@value='testhostgroup'] @@ -67,11 +72,10 @@ - waitForTextPresent - 1 hostgroup matched + waitForNotVisible + //span[@id='header-network-activity-indicator'] - diff --git a/install/ui/test/functional/hostgroup-remove-member-host.html b/install/ui/test/functional/hostgroup-remove-member-host.html index 7fd1ad58..2ad4f4e8 100644 --- a/install/ui/test/functional/hostgroup-remove-member-host.html +++ b/install/ui/test/functional/hostgroup-remove-member-host.html @@ -17,8 +17,13 @@ - waitForTextPresent - 1 hostgroup matched + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent + //div[@id='hostgroup']//span[@name='search']//input[@value='testhostgroup'] @@ -38,12 +43,12 @@ waitForElementPresent - //div[@id='hostgroup']/span[@name='association']//input[@value='test.example.com'] + //div[@id='hostgroup']//span[@name='association']//input[@value='test.example.com'] click - //div[@id='hostgroup']/span[@name='association']//input[@value='test.example.com'] + //div[@id='hostgroup']//span[@name='association']//input[@value='test.example.com'] @@ -58,7 +63,7 @@ waitForElementNotPresent - //div[@id='hostgroup']/span[@name='association']//input[@value='test.example.com'] + //div[@id='hostgroup']//span[@name='association']//input[@value='test.example.com'] @@ -67,8 +72,8 @@ - waitForTextPresent - 1 hostgroup matched + waitForNotVisible + //span[@id='header-network-activity-indicator'] diff --git a/install/ui/test/functional/netgroup-add-member-user.html b/install/ui/test/functional/netgroup-add-member-user.html index e985f2b1..24718fe0 100644 --- a/install/ui/test/functional/netgroup-add-member-user.html +++ b/install/ui/test/functional/netgroup-add-member-user.html @@ -17,8 +17,13 @@ - waitForTextPresent - 1 netgroup matched + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent + //div[@id='netgroup']//span[@name='search']//input[@value='testnetgroup'] @@ -63,10 +68,9 @@ waitForElementPresent - //div[@id='netgroup']/span[@name='association']//input[@value='testuser'] + //div[@id='netgroup']//span[@name='association']//input[@value='testuser'] - diff --git a/install/ui/test/functional/netgroup-add.html b/install/ui/test/functional/netgroup-add.html index d4935ce5..f0e3be72 100644 --- a/install/ui/test/functional/netgroup-add.html +++ b/install/ui/test/functional/netgroup-add.html @@ -17,8 +17,13 @@ - waitForTextPresent - 0 netgroups matched + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementNotPresent + //div[@id='netgroup']//span[@name='search']//input[@value='testnetgroup'] @@ -42,11 +47,15 @@ - waitForTextPresent - 1 netgroup matched + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent + //div[@id='netgroup']//span[@name='search']//input[@value='testnetgroup'] - diff --git a/install/ui/test/functional/netgroup-del.html b/install/ui/test/functional/netgroup-del.html index 226c0c1f..b949fe01 100644 --- a/install/ui/test/functional/netgroup-del.html +++ b/install/ui/test/functional/netgroup-del.html @@ -17,13 +17,18 @@ - waitForTextPresent - 1 netgroup matched + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent + //div[@id='netgroup']//span[@name='search']//input[@value='testnetgroup'] click - //input[@name='select' and @value='testnetgroup'] + //div[@id='netgroup']//span[@name='search']//input[@value='testnetgroup'] @@ -37,11 +42,15 @@ - waitForTextPresent - 0 netgroups matched + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementNotPresent + //div[@id='netgroup']//span[@name='search']//input[@value='testnetgroup'] - diff --git a/install/ui/test/functional/netgroup-find.html b/install/ui/test/functional/netgroup-find.html index ac2a0f06..02b4e3e4 100644 --- a/install/ui/test/functional/netgroup-find.html +++ b/install/ui/test/functional/netgroup-find.html @@ -17,8 +17,13 @@ - waitForTextPresent - 1 netgroup matched + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent + //div[@id='netgroup']//span[@name='search']//input[@value='testnetgroup'] @@ -32,8 +37,13 @@ - waitForTextPresent - 1 netgroup matched + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent + //div[@id='netgroup']//span[@name='search']//input[@value='testnetgroup'] @@ -47,8 +57,13 @@ - waitForTextPresent - 0 netgroups matched + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementNotPresent + //div[@id='netgroup']//span[@name='search']//input[@value='testnetgroup'] @@ -62,11 +77,15 @@ - waitForTextPresent - 1 netgroup matched + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent + //div[@id='netgroup']//span[@name='search']//input[@value='testnetgroup'] - diff --git a/install/ui/test/functional/netgroup-mod.html b/install/ui/test/functional/netgroup-mod.html index 03407d0b..e61c16ab 100644 --- a/install/ui/test/functional/netgroup-mod.html +++ b/install/ui/test/functional/netgroup-mod.html @@ -17,8 +17,13 @@ - waitForTextPresent - 1 netgroup matched + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent + //div[@id='netgroup']//span[@name='search']//input[@value='testnetgroup'] @@ -122,16 +127,20 @@ - waitForElementPresent + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent //div[@id='netgroup']//span[@name='search']//input[@value='testnetgroup'] - waitForElementPresent + verifyElementPresent //div[@id='netgroup']//span[@name='search']//input[@value='testnetgroup']/ancestor::tr//span[@name='description' and text()='Test Netgroup'] - diff --git a/install/ui/test/functional/netgroup-remove-member-user.html b/install/ui/test/functional/netgroup-remove-member-user.html index beb3939c..d9c1c315 100644 --- a/install/ui/test/functional/netgroup-remove-member-user.html +++ b/install/ui/test/functional/netgroup-remove-member-user.html @@ -17,8 +17,13 @@ - waitForTextPresent - 1 netgroup matched + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent + //div[@id='netgroup']//span[@name='search']//input[@value='testnetgroup'] @@ -61,7 +66,6 @@ //div[@id='netgroup']//span[@name='association']//input[@value='testuser'] - diff --git a/install/ui/test/functional/permission-add.html b/install/ui/test/functional/permission-add.html index d8b4afb1..33094e3b 100644 --- a/install/ui/test/functional/permission-add.html +++ b/install/ui/test/functional/permission-add.html @@ -21,6 +21,11 @@ //span[@id='header-network-activity-indicator'] + + verifyElementNotPresent + //div[@id='role']//span[@name='search']//input[@value='testpermission'] + + click //div[@id='role']/div[@class='action-panel']//a[@title='Add'] @@ -38,7 +43,7 @@ select - //div[@name='target']//select + //span[@name='target']//select label=type @@ -53,12 +58,17 @@ click - //button[@type='button'] + //div[@class='ui-dialog-buttonset']//button[@type='button'] + + + + waitForNotVisible + //span[@id='header-network-activity-indicator'] - waitForElementPresent - //div[@id='role']/span[@name='search']//input[@value='testpermission'] + verifyElementPresent + //div[@id='role']//span[@name='search']//input[@value='testpermission'] diff --git a/install/ui/test/functional/permission-del.html b/install/ui/test/functional/permission-del.html index 77f7b4df..5822d3e2 100644 --- a/install/ui/test/functional/permission-del.html +++ b/install/ui/test/functional/permission-del.html @@ -17,13 +17,18 @@ - waitForElementPresent - //div[@id='role']/span[@name='search']//input[@value='testpermission'] + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent + //div[@id='role']//span[@name='search']//input[@value='testpermission'] click - //div[@id='role']/span[@name='search']//input[@value='testpermission'] + //div[@id='role']//span[@name='search']//input[@value='testpermission'] @@ -37,8 +42,13 @@ - waitForElementNotPresent - //div[@id='role']/span[@name='search']//input[@value='testpermission'] + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementNotPresent + //div[@id='role']//span[@name='search']//input[@value='testpermission'] diff --git a/install/ui/test/functional/permission-find.html b/install/ui/test/functional/permission-find.html index 1b250838..d9330a48 100644 --- a/install/ui/test/functional/permission-find.html +++ b/install/ui/test/functional/permission-find.html @@ -17,8 +17,13 @@ - waitForElementPresent - //div[@id='role']/span[@name='search']//input[@value='testpermission'] + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent + //div[@id='role']//span[@name='search']//input[@value='testpermission'] @@ -32,8 +37,13 @@ - waitForElementPresent - //div[@id='role']/span[@name='search']//input[@value='testpermission'] + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent + //div[@id='role']//span[@name='search']//input[@value='testpermission'] @@ -47,8 +57,13 @@ - waitForElementNotPresent - //div[@id='role']/span[@name='search']//input[@value='testpermission'] + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementNotPresent + //div[@id='role']//span[@name='search']//input[@value='testpermission'] @@ -62,11 +77,15 @@ - waitForElementPresent - //div[@id='role']/span[@name='search']//input[@value='testpermission'] + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent + //div[@id='role']//span[@name='search']//input[@value='testpermission'] - diff --git a/install/ui/test/functional/permission-mod.html b/install/ui/test/functional/permission-mod.html index ae8489b2..24022a19 100644 --- a/install/ui/test/functional/permission-mod.html +++ b/install/ui/test/functional/permission-mod.html @@ -21,6 +21,11 @@ //span[@id='header-network-activity-indicator'] + + verifyElementPresent + //div[@id='role']//span[@name='search']//input[@value='testpermission'] + + click link=testpermission @@ -101,7 +106,6 @@ undo - diff --git a/install/ui/test/functional/privilege-add.html b/install/ui/test/functional/privilege-add.html index 2cc27694..7d68046f 100644 --- a/install/ui/test/functional/privilege-add.html +++ b/install/ui/test/functional/privilege-add.html @@ -21,6 +21,11 @@ //span[@id='header-network-activity-indicator'] + + verifyElementNotPresent + //div[@id='role']//span[@name='search']//input[@value='testprivilege'] + + click //div[@id='role']/div[@class='action-panel']//a[@title='Add'] @@ -42,8 +47,13 @@ - waitForElementPresent - //div[@id='role']/span[@name='search']//input[@value='testprivilege'] + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent + //div[@id='role']//span[@name='search']//input[@value='testprivilege'] diff --git a/install/ui/test/functional/privilege-del.html b/install/ui/test/functional/privilege-del.html index d206eb4b..7a069eff 100644 --- a/install/ui/test/functional/privilege-del.html +++ b/install/ui/test/functional/privilege-del.html @@ -17,13 +17,18 @@ - waitForElementPresent - //div[@id='role']/span[@name='search']//input[@value='testprivilege'] + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent + //div[@id='role']//span[@name='search']//input[@value='testprivilege'] click - //div[@id='role']/span[@name='search']//input[@value='testprivilege'] + //div[@id='role']//span[@name='search']//input[@value='testprivilege'] @@ -37,8 +42,13 @@ - waitForElementNotPresent - //div[@id='role']/span[@name='search']//input[@value='testprivilege'] + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementNotPresent + //div[@id='role']//span[@name='search']//input[@value='testprivilege'] diff --git a/install/ui/test/functional/privilege-find.html b/install/ui/test/functional/privilege-find.html index f7bda6bd..8161b769 100644 --- a/install/ui/test/functional/privilege-find.html +++ b/install/ui/test/functional/privilege-find.html @@ -17,8 +17,13 @@ - waitForElementPresent - //div[@id='role']/span[@name='search']//input[@value='testprivilege'] + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent + //div[@id='role']//span[@name='search']//input[@value='testprivilege'] @@ -32,8 +37,13 @@ - waitForElementPresent - //div[@id='role']/span[@name='search']//input[@value='testprivilege'] + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent + //div[@id='role']//span[@name='search']//input[@value='testprivilege'] @@ -47,8 +57,13 @@ - waitForElementNotPresent - //div[@id='role']/span[@name='search']//input[@value='testprivilege'] + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementNotPresent + //div[@id='role']//span[@name='search']//input[@value='testprivilege'] @@ -62,8 +77,13 @@ - waitForElementPresent - //div[@id='role']/span[@name='search']//input[@value='testprivilege'] + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent + //div[@id='role']//span[@name='search']//input[@value='testprivilege'] diff --git a/install/ui/test/functional/privilege-mod.html b/install/ui/test/functional/privilege-mod.html index 92a33d82..b2972876 100644 --- a/install/ui/test/functional/privilege-mod.html +++ b/install/ui/test/functional/privilege-mod.html @@ -21,6 +21,11 @@ //span[@id='header-network-activity-indicator'] + + verifyElementPresent + //div[@id='role']//span[@name='search']//input[@value='testprivilege'] + + click link=testprivilege diff --git a/install/ui/test/functional/pwpolicy-add.html b/install/ui/test/functional/pwpolicy-add.html index c53df39e..b18261e5 100644 --- a/install/ui/test/functional/pwpolicy-add.html +++ b/install/ui/test/functional/pwpolicy-add.html @@ -21,6 +21,11 @@ //span[@id='header-network-activity-indicator'] + + verifyElementNotPresent + //div[@id='pwpolicy']//span[@name='search']//input[@value='testgroup'] + + click //div[@id='pwpolicy']//div[@class='action-panel']//a[@title='Add'] @@ -42,7 +47,12 @@ - waitForElementPresent + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent //div[@id='pwpolicy']//span[@name='search']//input[@value='testgroup'] diff --git a/install/ui/test/functional/pwpolicy-del.html b/install/ui/test/functional/pwpolicy-del.html index d9dd0fa7..29dfa092 100644 --- a/install/ui/test/functional/pwpolicy-del.html +++ b/install/ui/test/functional/pwpolicy-del.html @@ -17,7 +17,12 @@ - waitForElementPresent + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent //div[@id='pwpolicy']//span[@name='search']//input[@value='testgroup'] @@ -37,11 +42,15 @@ - waitForElementNotPresent + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementNotPresent //div[@id='pwpolicy']//span[@name='search']//input[@value='testgroup'] - diff --git a/install/ui/test/functional/pwpolicy-mod.html b/install/ui/test/functional/pwpolicy-mod.html index 5e85a38d..6fab27fa 100644 --- a/install/ui/test/functional/pwpolicy-mod.html +++ b/install/ui/test/functional/pwpolicy-mod.html @@ -17,7 +17,12 @@ - waitForElementPresent + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent //div[@id='pwpolicy']//span[@name='search']//input[@value='testgroup'] diff --git a/install/ui/test/functional/role-add.html b/install/ui/test/functional/role-add.html index 9d6bc56a..4da53f7f 100644 --- a/install/ui/test/functional/role-add.html +++ b/install/ui/test/functional/role-add.html @@ -21,6 +21,11 @@ //span[@id='header-network-activity-indicator'] + + verifyElementNotPresent + //div[@id='role']//span[@name='search']//input[@value='testrole'] + + click //div[@id='role']/div[@class='action-panel']//a[@title='Add'] @@ -42,8 +47,13 @@ - waitForElementPresent - //div[@id='role']/span[@name='search']//input[@value='testrole'] + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent + //div[@id='role']//span[@name='search']//input[@value='testrole'] diff --git a/install/ui/test/functional/role-del.html b/install/ui/test/functional/role-del.html index 0f7dcedc..8a05cf76 100644 --- a/install/ui/test/functional/role-del.html +++ b/install/ui/test/functional/role-del.html @@ -17,13 +17,18 @@ - waitForElementPresent - //div[@id='role']/span[@name='search']//input[@value='testrole'] + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent + //div[@id='role']//span[@name='search']//input[@value='testrole'] click - //div[@id='role']/span[@name='search']//input[@value='testrole'] + //div[@id='role']//span[@name='search']//input[@value='testrole'] @@ -37,8 +42,13 @@ - waitForElementNotPresent - //div[@id='role']/span[@name='search']//input[@value='testrole'] + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementNotPresent + //div[@id='role']//span[@name='search']//input[@value='testrole'] diff --git a/install/ui/test/functional/role-find.html b/install/ui/test/functional/role-find.html index f8c21b4f..0757707c 100644 --- a/install/ui/test/functional/role-find.html +++ b/install/ui/test/functional/role-find.html @@ -17,8 +17,13 @@ - waitForElementPresent - //div[@id='role']/span[@name='search']//input[@value='testrole'] + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent + //div[@id='role']//span[@name='search']//input[@value='testrole'] @@ -32,8 +37,13 @@ - waitForElementPresent - //div[@id='role']/span[@name='search']//input[@value='testrole'] + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent + //div[@id='role']//span[@name='search']//input[@value='testrole'] @@ -47,8 +57,13 @@ - waitForElementNotPresent - //div[@id='role']/span[@name='search']//input[@value='testrole'] + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementNotPresent + //div[@id='role']//span[@name='search']//input[@value='testrole'] @@ -62,8 +77,13 @@ - waitForElementPresent - //div[@id='role']/span[@name='search']//input[@value='testrole'] + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent + //div[@id='role']//span[@name='search']//input[@value='testrole'] diff --git a/install/ui/test/functional/role-mod.html b/install/ui/test/functional/role-mod.html index aa499fda..343b6810 100644 --- a/install/ui/test/functional/role-mod.html +++ b/install/ui/test/functional/role-mod.html @@ -21,6 +21,11 @@ //span[@id='header-network-activity-indicator'] + + verifyElementPresent + //div[@id='role']//span[@name='search']//input[@value='testrole'] + + click link=testrole @@ -71,7 +76,6 @@ //span[@id='header-network-activity-indicator'] - diff --git a/install/ui/test/functional/service-add.html b/install/ui/test/functional/service-add.html index 65bf199b..42594ef2 100644 --- a/install/ui/test/functional/service-add.html +++ b/install/ui/test/functional/service-add.html @@ -17,8 +17,13 @@ - waitForTextPresent - 4 services matched + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementNotPresent + //div[@id='service']//span[@name='search']//input[@value='testservice//test.example.com@IDM.LAB.BOS.REDHAT.COM'] @@ -47,8 +52,13 @@ - waitForElementPresent - //div[@id='service']/span[@name='search']//input[@value='testservice/test.example.com@IDM.LAB.BOS.REDHAT.COM'] + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent + //div[@id='service']//span[@name='search']//input[@value='testservice/test.example.com@IDM.LAB.BOS.REDHAT.COM'] diff --git a/install/ui/test/functional/service-certificate.html b/install/ui/test/functional/service-certificate.html index 64e18bf1..bcfce1fa 100644 --- a/install/ui/test/functional/service-certificate.html +++ b/install/ui/test/functional/service-certificate.html @@ -17,8 +17,13 @@ - waitForElementPresent - //div[@id='service']/span[@name='search']//input[@value='testservice/test.example.com@IDM.LAB.BOS.REDHAT.COM'] + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent + //div[@id='service']//span[@name='search']//input[@value='testservice/test.example.com@IDM.LAB.BOS.REDHAT.COM'] diff --git a/install/ui/test/functional/service-del.html b/install/ui/test/functional/service-del.html index da68b89b..48848e4c 100644 --- a/install/ui/test/functional/service-del.html +++ b/install/ui/test/functional/service-del.html @@ -17,13 +17,18 @@ - waitForElementPresent - //div[@id='service']/span[@name='search']//input[@value='testservice/test.example.com@IDM.LAB.BOS.REDHAT.COM'] + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent + //div[@id='service']//span[@name='search']//input[@value='testservice/test.example.com@IDM.LAB.BOS.REDHAT.COM'] click - //div[@id='service']/span[@name='search']//input[@value='testservice/test.example.com@IDM.LAB.BOS.REDHAT.COM'] + //div[@id='service']//span[@name='search']//input[@value='testservice/test.example.com@IDM.LAB.BOS.REDHAT.COM'] @@ -37,11 +42,15 @@ - waitForElementNotPresent - //div[@id='service']/span[@name='search']//input[@value='testservice//test.example.com@IDM.LAB.BOS.REDHAT.COM'] + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementNotPresent + //div[@id='service']//span[@name='search']//input[@value='testservice//test.example.com@IDM.LAB.BOS.REDHAT.COM'] - diff --git a/install/ui/test/functional/service-find.html b/install/ui/test/functional/service-find.html index f704b5d9..27fc58fd 100644 --- a/install/ui/test/functional/service-find.html +++ b/install/ui/test/functional/service-find.html @@ -17,8 +17,13 @@ - waitForElementPresent - //div[@id='service']/span[@name='search']//input[@value='testservice/test.example.com@IDM.LAB.BOS.REDHAT.COM'] + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent + //div[@id='service']//span[@name='search']//input[@value='testservice/test.example.com@IDM.LAB.BOS.REDHAT.COM'] @@ -32,8 +37,33 @@ - waitForTextPresent - 1 service matched + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent + //div[@id='service']//span[@name='search']//input[@value='testservice/test.example.com@IDM.LAB.BOS.REDHAT.COM'] + + + + type + search-service-filter + xxx + + + click + link=Find + + + + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementNotPresent + //div[@id='service']//span[@name='search']//input[@value='testservice/test.example.com@IDM.LAB.BOS.REDHAT.COM'] @@ -47,11 +77,15 @@ - waitForTextPresent - 5 services matched + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent + //div[@id='service']//span[@name='search']//input[@value='testservice/test.example.com@IDM.LAB.BOS.REDHAT.COM'] - diff --git a/install/ui/test/functional/service-mod.html b/install/ui/test/functional/service-mod.html index f6a98c93..54ed8914 100644 --- a/install/ui/test/functional/service-mod.html +++ b/install/ui/test/functional/service-mod.html @@ -17,8 +17,13 @@ - waitForElementPresent - //div[@id='service']/span[@name='search']//input[@value='testservice/test.example.com@IDM.LAB.BOS.REDHAT.COM'] + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent + //div[@id='service']//span[@name='search']//input[@value='testservice/test.example.com@IDM.LAB.BOS.REDHAT.COM'] @@ -31,7 +36,6 @@ testservice/test.example.com@IDM.LAB.BOS.REDHAT.COM: - diff --git a/install/ui/test/functional/sudocmd-add.html b/install/ui/test/functional/sudocmd-add.html index b47f1456..8b32c783 100644 --- a/install/ui/test/functional/sudocmd-add.html +++ b/install/ui/test/functional/sudocmd-add.html @@ -17,8 +17,13 @@ - waitForTextPresent - 0 sudo command matched + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementNotPresent + //div[@id='sudorule']//span[@name='search']//input[@value='testsudocmd'] @@ -42,7 +47,12 @@ - waitForElementPresent + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent //div[@id='sudorule']//span[@name='search']//input[@value='testsudocmd'] diff --git a/install/ui/test/functional/sudocmd-del.html b/install/ui/test/functional/sudocmd-del.html index 2d41ee84..b3fa7790 100644 --- a/install/ui/test/functional/sudocmd-del.html +++ b/install/ui/test/functional/sudocmd-del.html @@ -17,7 +17,12 @@ - waitForElementPresent + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent //div[@id='sudorule']//span[@name='search']//input[@value='testsudocmd'] @@ -37,7 +42,12 @@ - waitForElementNotPresent + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementNotPresent //div[@id='sudorule']//span[@name='search']//input[@value='testsudocmd'] diff --git a/install/ui/test/functional/sudocmd-find.html b/install/ui/test/functional/sudocmd-find.html index 358e34bd..02b099c0 100644 --- a/install/ui/test/functional/sudocmd-find.html +++ b/install/ui/test/functional/sudocmd-find.html @@ -17,7 +17,12 @@ - waitForElementPresent + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent //div[@id='sudorule']//span[@name='search']//input[@value='testsudocmd'] @@ -32,7 +37,12 @@ - waitForElementPresent + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent //div[@id='sudorule']//span[@name='search']//input[@value='testsudocmd'] @@ -47,7 +57,12 @@ - waitForElementNotPresent + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementNotPresent //div[@id='sudorule']//span[@name='search']//input[@value='testsudocmd'] @@ -58,15 +73,19 @@ click - //div[@id='sudorule']/span/div[1]/span[1]/a/span + link=Find + + + + waitForNotVisible + //span[@id='header-network-activity-indicator'] - waitForElementPresent + verifyElementPresent //div[@id='sudorule']//span[@name='search']//input[@value='testsudocmd'] - diff --git a/install/ui/test/functional/sudocmd-membership.html b/install/ui/test/functional/sudocmd-membership.html index db0c9103..7742a450 100644 --- a/install/ui/test/functional/sudocmd-membership.html +++ b/install/ui/test/functional/sudocmd-membership.html @@ -17,7 +17,12 @@ - waitForElementPresent + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent //div[@id='sudorule']//span[@name='search']//input[@value='testsudocmd'] @@ -57,7 +62,12 @@ - waitForElementPresent + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent //div[@id='sudorule']//span[@name='memberof_sudocmdgroup']//input[@value='testsudocmdgroup'] @@ -77,11 +87,15 @@ - waitForElementNotPresent + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementNotPresent //div[@id='sudorule']//span[@name='memberof_sudocmdgroup']//input[@value='testsudocmdgroup'] - diff --git a/install/ui/test/functional/sudocmd-mod.html b/install/ui/test/functional/sudocmd-mod.html index 69d4a953..de2cfd88 100644 --- a/install/ui/test/functional/sudocmd-mod.html +++ b/install/ui/test/functional/sudocmd-mod.html @@ -17,7 +17,12 @@ - waitForElementPresent + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent //div[@id='sudorule']//span[@name='search']//input[@value='testsudocmd'] @@ -71,7 +76,6 @@ undo - diff --git a/install/ui/test/functional/sudocmdgroup-add.html b/install/ui/test/functional/sudocmdgroup-add.html index e467de09..83c403a3 100644 --- a/install/ui/test/functional/sudocmdgroup-add.html +++ b/install/ui/test/functional/sudocmdgroup-add.html @@ -17,8 +17,13 @@ - waitForTextPresent - 0 sudo command groups matched + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementNotPresent + //div[@id='sudorule']//span[@name='search']//input[@value='testsudocmdgroup'] @@ -42,7 +47,12 @@ - waitForElementPresent + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent //div[@id='sudorule']//span[@name='search']//input[@value='testsudocmdgroup'] diff --git a/install/ui/test/functional/sudocmdgroup-del.html b/install/ui/test/functional/sudocmdgroup-del.html index b74ea646..1905e4c7 100644 --- a/install/ui/test/functional/sudocmdgroup-del.html +++ b/install/ui/test/functional/sudocmdgroup-del.html @@ -17,7 +17,12 @@ - waitForElementPresent + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent //div[@id='sudorule']//span[@name='search']//input[@value='testsudocmdgroup'] @@ -37,7 +42,12 @@ - waitForElementNotPresent + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementNotPresent //div[@id='sudorule']//span[@name='search']//input[@value='testsudocmdgroup'] diff --git a/install/ui/test/functional/sudocmdgroup-find.html b/install/ui/test/functional/sudocmdgroup-find.html index 585d2af3..44bfe9c4 100644 --- a/install/ui/test/functional/sudocmdgroup-find.html +++ b/install/ui/test/functional/sudocmdgroup-find.html @@ -17,7 +17,12 @@ - waitForElementPresent + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent //div[@id='sudorule']//span[@name='search']//input[@value='testsudocmdgroup'] @@ -32,7 +37,12 @@ - waitForElementPresent + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent //div[@id='sudorule']//span[@name='search']//input[@value='testsudocmdgroup'] @@ -47,7 +57,12 @@ - waitForElementNotPresent + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementNotPresent //div[@id='sudorule']//span[@name='search']//input[@value='testsudocmdgroup'] @@ -62,11 +77,15 @@ - waitForElementPresent + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent //div[@id='sudorule']//span[@name='search']//input[@value='testsudocmdgroup'] - diff --git a/install/ui/test/functional/sudocmdgroup-member.html b/install/ui/test/functional/sudocmdgroup-member.html index 38115813..06e9ca58 100644 --- a/install/ui/test/functional/sudocmdgroup-member.html +++ b/install/ui/test/functional/sudocmdgroup-member.html @@ -17,7 +17,12 @@ - waitForElementPresent + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent //div[@id='sudorule']//span[@name='search']//input[@value='testsudocmdgroup'] @@ -57,7 +62,12 @@ - waitForElementPresent + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent //div[@id='sudorule']//span[@name='member_sudocmd']//input[@value='testsudocmd'] @@ -77,11 +87,15 @@ - waitForElementNotPresent + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementNotPresent //div[@id='sudorule']//span[@name='member_sudocmd']//input[@value='testsudocmd'] - diff --git a/install/ui/test/functional/sudocmdgroup-mod.html b/install/ui/test/functional/sudocmdgroup-mod.html index c4d87a1c..0be7c20c 100644 --- a/install/ui/test/functional/sudocmdgroup-mod.html +++ b/install/ui/test/functional/sudocmdgroup-mod.html @@ -17,7 +17,12 @@ - waitForElementPresent + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent //div[@id='sudorule']//span[@name='search']//input[@value='testsudocmdgroup'] @@ -71,7 +76,6 @@ undo - diff --git a/install/ui/test/functional/sudorule-activation.html b/install/ui/test/functional/sudorule-activation.html index e5ecc423..99c18050 100644 --- a/install/ui/test/functional/sudorule-activation.html +++ b/install/ui/test/functional/sudorule-activation.html @@ -17,7 +17,12 @@ - waitForElementPresent + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent //div[@id='sudorule']//span[@name='search']//input[@value='testsudorule'] @@ -61,7 +66,6 @@ undo - diff --git a/install/ui/test/functional/sudorule-add.html b/install/ui/test/functional/sudorule-add.html index 4770d7de..20dc9b09 100644 --- a/install/ui/test/functional/sudorule-add.html +++ b/install/ui/test/functional/sudorule-add.html @@ -21,6 +21,11 @@ //span[@id='header-network-activity-indicator'] + + verifyElementNotPresent + //div[@id='sudorule']//span[@name='search']//input[@value='testsudorule'] + + click //div[@id='sudorule']/div[@class='action-panel']//a[@title='Add'] @@ -42,11 +47,10 @@ - waitForElementPresent + verifyElementPresent //div[@id='sudorule']//span[@name='search']//input[@value='testsudorule'] - diff --git a/install/ui/test/functional/sudorule-allow-command.html b/install/ui/test/functional/sudorule-allow-command.html index b1bf7197..03f25ff8 100644 --- a/install/ui/test/functional/sudorule-allow-command.html +++ b/install/ui/test/functional/sudorule-allow-command.html @@ -17,7 +17,12 @@ - waitForElementPresent + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent //div[@id='sudorule']//span[@name='search']//input[@value='testsudorule'] @@ -57,7 +62,12 @@ - waitForElementPresent + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent //div[@id='sudorule']//span[@name='cmdcategory']//span[@name='memberallowcmd_sudocmd']//input[@value='testsudocmd'] @@ -77,11 +87,15 @@ - waitForElementNotPresent + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementNotPresent //div[@id='sudorule']//span[@name='cmdcategory']//span[@name='memberallowcmd_sudocmd']//input[@value='testsudocmd'] - diff --git a/install/ui/test/functional/sudorule-del.html b/install/ui/test/functional/sudorule-del.html index fff437bc..d265bbab 100644 --- a/install/ui/test/functional/sudorule-del.html +++ b/install/ui/test/functional/sudorule-del.html @@ -22,7 +22,7 @@ - waitForElementPresent + verifyElementPresent //div[@id='sudorule']//span[@name='search']//input[@value='testsudorule'] @@ -47,7 +47,7 @@ - waitForElementNotPresent + verifyElementNotPresent //div[@id='sudorule']//span[@name='search']//input[@value='testsudorule'] diff --git a/install/ui/test/functional/sudorule-find.html b/install/ui/test/functional/sudorule-find.html index 20d8db88..cab6bca0 100644 --- a/install/ui/test/functional/sudorule-find.html +++ b/install/ui/test/functional/sudorule-find.html @@ -22,7 +22,7 @@ - waitForElementPresent + verifyElementPresent //div[@id='sudorule']//span[@name='search']//input[@value='testsudorule'] @@ -33,11 +33,16 @@ click - //div[@id='sudorule']/span/div[1]/span[1]/a/span + link=Find - waitForElementPresent + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent //div[@id='sudorule']//span[@name='search']//input[@value='testsudorule'] @@ -48,11 +53,16 @@ click - //div[@id='sudorule']/span/div[1]/span[1]/a/span + link=Find - waitForElementNotPresent + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementNotPresent //div[@id='sudorule']//span[@name='search']//input[@value='testsudorule'] @@ -63,15 +73,19 @@ click - //div[@id='sudorule']/span/div[1]/span[1]/a/span + link=Find + + + + waitForNotVisible + //span[@id='header-network-activity-indicator'] - waitForElementPresent + verifyElementPresent //div[@id='sudorule']//span[@name='search']//input[@value='testsudorule'] - diff --git a/install/ui/test/functional/sudorule-host.html b/install/ui/test/functional/sudorule-host.html index 8b552d6a..c0e0e7b0 100644 --- a/install/ui/test/functional/sudorule-host.html +++ b/install/ui/test/functional/sudorule-host.html @@ -17,7 +17,12 @@ - waitForElementPresent + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent //div[@id='sudorule']//span[@name='search']//input[@value='testsudorule'] @@ -57,7 +62,12 @@ - waitForElementPresent + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent //div[@id='sudorule']//span[@name='hostcategory']//span[@name='memberhost_host']//input[@value='test.example.com'] @@ -77,7 +87,12 @@ - waitForElementNotPresent + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementNotPresent //div[@id='sudorule']//span[@name='hostcategory']//span[@name='memberhost_host']//input[@value='test.example.com'] diff --git a/install/ui/test/functional/sudorule-mod.html b/install/ui/test/functional/sudorule-mod.html index 1e869eda..adddb65b 100644 --- a/install/ui/test/functional/sudorule-mod.html +++ b/install/ui/test/functional/sudorule-mod.html @@ -17,7 +17,12 @@ - waitForElementPresent + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent //div[@id='sudorule']//span[@name='search']//input[@value='testsudorule'] @@ -71,7 +76,6 @@ undo - diff --git a/install/ui/test/functional/sudorule-runasuser.html b/install/ui/test/functional/sudorule-runasuser.html index d78a9fcb..7119f53d 100644 --- a/install/ui/test/functional/sudorule-runasuser.html +++ b/install/ui/test/functional/sudorule-runasuser.html @@ -17,7 +17,12 @@ - waitForElementPresent + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent //div[@id='sudorule']//span[@name='search']//input[@value='testsudorule'] @@ -57,7 +62,12 @@ - waitForElementPresent + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent //div[@id='sudorule']//span[@name='ipasudorunasusercategory']//span[@name='ipasudorunas_user']//input[@value='testuser'] @@ -77,7 +87,12 @@ - waitForElementNotPresent + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementNotPresent //div[@id='sudorule']//span[@name='ipasudorunasusercategory']//span[@name='ipasudorunas_user']//input[@value='testuser'] diff --git a/install/ui/test/functional/sudorule-user.html b/install/ui/test/functional/sudorule-user.html index 5846b293..153fd441 100644 --- a/install/ui/test/functional/sudorule-user.html +++ b/install/ui/test/functional/sudorule-user.html @@ -17,7 +17,12 @@ - waitForElementPresent + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent //div[@id='sudorule']//span[@name='search']//input[@value='testsudorule'] @@ -57,7 +62,12 @@ - waitForElementPresent + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent //div[@id='sudorule']//span[@name='usercategory']//span[@name='memberuser_user']//input[@value='testuser'] @@ -77,7 +87,12 @@ - waitForElementNotPresent + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementNotPresent //div[@id='sudorule']//span[@name='usercategory']//span[@name='memberuser_user']//input[@value='testuser'] diff --git a/install/ui/test/functional/user-activation.html b/install/ui/test/functional/user-activation.html index 6110311f..f75616d2 100644 --- a/install/ui/test/functional/user-activation.html +++ b/install/ui/test/functional/user-activation.html @@ -17,8 +17,13 @@ - waitForTextPresent - 2 users matched + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent + //div[@id='user']//span[@name='search']//input[@value='testuser'] @@ -72,8 +77,8 @@ - waitForTextPresent - 2 users matched + waitForNotVisible + //span[@id='header-network-activity-indicator'] diff --git a/install/ui/test/functional/user-add.html b/install/ui/test/functional/user-add.html index d5a22679..28e65b53 100644 --- a/install/ui/test/functional/user-add.html +++ b/install/ui/test/functional/user-add.html @@ -17,8 +17,13 @@ - waitForTextPresent - 1 user matched + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementNotPresent + //div[@id='user']//span[@name='search']//input[@value='testuser'] @@ -47,8 +52,13 @@ - waitForElementPresent - //div[@id='user']/span[@name='search']//input[@value='testuser'] + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent + //div[@id='user']//span[@name='search']//input[@value='testuser'] diff --git a/install/ui/test/functional/user-del.html b/install/ui/test/functional/user-del.html index 3d126760..21e62245 100644 --- a/install/ui/test/functional/user-del.html +++ b/install/ui/test/functional/user-del.html @@ -17,13 +17,18 @@ - waitForTextPresent - 2 users matched + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent + //div[@id='user']//span[@name='search']//input[@value='testuser'] click - //input[@name='select' and @value='testuser'] + //div[@id='user']//span[@name='search']//input[@value='testuser'] @@ -37,8 +42,13 @@ - waitForTextPresent - 1 user matched + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementNotPresent + //div[@id='user']//span[@name='search']//input[@value='testuser'] diff --git a/install/ui/test/functional/user-find.html b/install/ui/test/functional/user-find.html index 8d4b588a..0b065baa 100644 --- a/install/ui/test/functional/user-find.html +++ b/install/ui/test/functional/user-find.html @@ -17,23 +17,53 @@ - waitForTextPresent - 2 users matched + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent + //div[@id='user']//span[@name='search']//input[@value='testuser'] type search-user-filter - testuser + test click - //div[@id='user']/span/div[1]/span[1]/a/span + link=Find + + + + waitForNotVisible + //span[@id='header-network-activity-indicator'] - waitForTextPresent - 1 user matched + verifyElementPresent + //div[@id='user']//span[@name='search']//input[@value='testuser'] + + + + type + search-user-filter + xxx + + + click + link=Find + + + + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementNotPresent + //div[@id='user']//span[@name='search']//input[@value='testuser'] @@ -43,12 +73,17 @@ click - //div[@id='user']/span/div[1]/span[1]/a/span + link=Find + + + + waitForNotVisible + //span[@id='header-network-activity-indicator'] - waitForTextPresent - 2 users matched + verifyElementPresent + //div[@id='user']//span[@name='search']//input[@value='testuser'] diff --git a/install/ui/test/functional/user-mod.html b/install/ui/test/functional/user-mod.html index 25643615..21868203 100644 --- a/install/ui/test/functional/user-mod.html +++ b/install/ui/test/functional/user-mod.html @@ -17,8 +17,13 @@ - waitForTextPresent - 2 users matched + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent + //div[@id='user']//span[@name='search']//input[@value='testuser'] @@ -68,8 +73,8 @@ - waitForElementPresent - //div[@id='user']/span[@name='search']//input[@value='testuser'] + waitForNotVisible + //span[@id='header-network-activity-indicator'] diff --git a/install/ui/test/functional/user-password-reset.html b/install/ui/test/functional/user-password-reset.html index 4ca6891a..b4f1de1a 100644 --- a/install/ui/test/functional/user-password-reset.html +++ b/install/ui/test/functional/user-password-reset.html @@ -17,8 +17,13 @@ - waitForTextPresent - 2 users matched + waitForNotVisible + //span[@id='header-network-activity-indicator'] + + + + verifyElementPresent + //div[@id='user']//span[@name='search']//input[@value='testuser'] @@ -67,8 +72,8 @@ - waitForTextPresent - 2 users matched + waitForNotVisible + //span[@id='header-network-activity-indicator'] -- cgit