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/bin/selenium.sh | 26 ++++ .../ui/test/functional/group-add-member-user.html | 81 ++++++++++++ install/ui/test/functional/group-add.html | 51 ++++++++ install/ui/test/functional/group-del.html | 46 +++++++ install/ui/test/functional/group-find.html | 56 +++++++++ install/ui/test/functional/group-mod.html | 86 +++++++++++++ .../test/functional/group-remove-member-user.html | 76 ++++++++++++ install/ui/test/functional/group-suite.html | 21 ++++ .../ui/test/functional/hbacrule-activation.html | 67 ++++++++++ install/ui/test/functional/hbacrule-add.html | 51 ++++++++ install/ui/test/functional/hbacrule-del.html | 46 +++++++ install/ui/test/functional/hbacrule-find.html | 72 +++++++++++ install/ui/test/functional/hbacrule-host.html | 87 +++++++++++++ install/ui/test/functional/hbacrule-mod.html | 87 +++++++++++++ install/ui/test/functional/hbacrule-service.html | 86 +++++++++++++ .../ui/test/functional/hbacrule-sourcehost.html | 86 +++++++++++++ install/ui/test/functional/hbacrule-suite.html | 30 +++++ install/ui/test/functional/hbacrule-user.html | 86 +++++++++++++ install/ui/test/functional/hbacsvc-add.html | 51 ++++++++ install/ui/test/functional/hbacsvc-del.html | 46 +++++++ install/ui/test/functional/hbacsvc-find.html | 72 +++++++++++ install/ui/test/functional/hbacsvc-mod.html | 77 ++++++++++++ install/ui/test/functional/hbacsvc-suite.html | 17 +++ .../test/functional/hbacsvcgroup-add-member.html | 67 ++++++++++ install/ui/test/functional/hbacsvcgroup-add.html | 52 ++++++++ install/ui/test/functional/hbacsvcgroup-del.html | 47 +++++++ install/ui/test/functional/hbacsvcgroup-find.html | 72 +++++++++++ install/ui/test/functional/hbacsvcgroup-mod.html | 77 ++++++++++++ .../functional/hbacsvcgroup-remove-member.html | 62 ++++++++++ install/ui/test/functional/hbacsvcgroup-suite.html | 21 ++++ install/ui/test/functional/host-add.html | 51 ++++++++ install/ui/test/functional/host-certificate.html | 121 ++++++++++++++++++ install/ui/test/functional/host-del.html | 46 +++++++ install/ui/test/functional/host-find.html | 56 +++++++++ install/ui/test/functional/host-mod.html | 71 +++++++++++ install/ui/test/functional/host-suite.html | 18 +++ .../test/functional/hostgroup-add-member-host.html | 82 ++++++++++++ install/ui/test/functional/hostgroup-add.html | 52 ++++++++ install/ui/test/functional/hostgroup-del.html | 46 +++++++ install/ui/test/functional/hostgroup-find.html | 72 +++++++++++ install/ui/test/functional/hostgroup-mod | 77 ++++++++++++ .../functional/hostgroup-remove-member-host.html | 76 ++++++++++++ install/ui/test/functional/hostgroup-suite.html | 21 ++++ install/ui/test/functional/krbtpolicy-mod.html | 66 ++++++++++ install/ui/test/functional/krbtpolicy-suite.html | 14 +++ .../test/functional/netgroup-add-member-user.html | 72 +++++++++++ install/ui/test/functional/netgroup-add.html | 52 ++++++++ install/ui/test/functional/netgroup-del.html | 47 +++++++ install/ui/test/functional/netgroup-find.html | 72 +++++++++++ install/ui/test/functional/netgroup-mod.html | 137 +++++++++++++++++++++ .../functional/netgroup-remove-member-user.html | 67 ++++++++++ install/ui/test/functional/netgroup-suite.html | 21 ++++ install/ui/test/functional/permission-add.html | 66 ++++++++++ install/ui/test/functional/permission-del.html | 46 +++++++ install/ui/test/functional/permission-find.html | 72 +++++++++++ install/ui/test/functional/permission-mod.html | 107 ++++++++++++++++ install/ui/test/functional/permission-suite.html | 17 +++ install/ui/test/functional/privilege-add.html | 51 ++++++++ install/ui/test/functional/privilege-del.html | 46 +++++++ install/ui/test/functional/privilege-find.html | 71 +++++++++++ install/ui/test/functional/privilege-mod.html | 76 ++++++++++++ install/ui/test/functional/privilege-suite.html | 17 +++ install/ui/test/functional/pwpolicy-add.html | 51 ++++++++ install/ui/test/functional/pwpolicy-del.html | 47 +++++++ install/ui/test/functional/pwpolicy-mod.html | 86 +++++++++++++ install/ui/test/functional/pwpolicy-suite.html | 18 +++ install/ui/test/functional/role-add.html | 51 ++++++++ install/ui/test/functional/role-del.html | 46 +++++++ install/ui/test/functional/role-find.html | 71 +++++++++++ install/ui/test/functional/role-mod.html | 77 ++++++++++++ install/ui/test/functional/role-suite.html | 17 +++ install/ui/test/functional/service-add.html | 56 +++++++++ .../ui/test/functional/service-certificate.html | 111 +++++++++++++++++ install/ui/test/functional/service-del.html | 47 +++++++ install/ui/test/functional/service-find.html | 57 +++++++++ install/ui/test/functional/service-mod.html | 37 ++++++ install/ui/test/functional/service-suite.html | 20 +++ install/ui/test/functional/sudocmd-add.html | 51 ++++++++ install/ui/test/functional/sudocmd-del.html | 46 +++++++ install/ui/test/functional/sudocmd-find.html | 72 +++++++++++ install/ui/test/functional/sudocmd-membership.html | 87 +++++++++++++ install/ui/test/functional/sudocmd-mod.html | 77 ++++++++++++ install/ui/test/functional/sudocmd-suite.html | 20 +++ install/ui/test/functional/sudocmdgroup-add.html | 51 ++++++++ install/ui/test/functional/sudocmdgroup-del.html | 46 +++++++ install/ui/test/functional/sudocmdgroup-find.html | 72 +++++++++++ .../ui/test/functional/sudocmdgroup-member.html | 87 +++++++++++++ install/ui/test/functional/sudocmdgroup-mod.html | 77 ++++++++++++ install/ui/test/functional/sudocmdgroup-suite.html | 20 +++ .../ui/test/functional/sudorule-activation.html | 67 ++++++++++ install/ui/test/functional/sudorule-add.html | 52 ++++++++ .../ui/test/functional/sudorule-allow-command.html | 87 +++++++++++++ install/ui/test/functional/sudorule-del.html | 56 +++++++++ install/ui/test/functional/sudorule-find.html | 77 ++++++++++++ install/ui/test/functional/sudorule-host.html | 86 +++++++++++++ install/ui/test/functional/sudorule-mod.html | 77 ++++++++++++ install/ui/test/functional/sudorule-runasuser.html | 86 +++++++++++++ install/ui/test/functional/sudorule-suite.html | 28 +++++ install/ui/test/functional/sudorule-user.html | 86 +++++++++++++ install/ui/test/functional/user-activation.html | 81 ++++++++++++ install/ui/test/functional/user-add.html | 56 +++++++++ install/ui/test/functional/user-del.html | 46 +++++++ install/ui/test/functional/user-find.html | 56 +++++++++ install/ui/test/functional/user-mod.html | 82 ++++++++++++ .../ui/test/functional/user-password-reset.html | 76 ++++++++++++ install/ui/test/functional/user-suite.html | 19 +++ 106 files changed, 6324 insertions(+) create mode 100755 install/ui/test/bin/selenium.sh create mode 100644 install/ui/test/functional/group-add-member-user.html create mode 100644 install/ui/test/functional/group-add.html create mode 100644 install/ui/test/functional/group-del.html create mode 100644 install/ui/test/functional/group-find.html create mode 100644 install/ui/test/functional/group-mod.html create mode 100644 install/ui/test/functional/group-remove-member-user.html create mode 100644 install/ui/test/functional/group-suite.html create mode 100644 install/ui/test/functional/hbacrule-activation.html create mode 100644 install/ui/test/functional/hbacrule-add.html create mode 100644 install/ui/test/functional/hbacrule-del.html create mode 100644 install/ui/test/functional/hbacrule-find.html create mode 100644 install/ui/test/functional/hbacrule-host.html create mode 100644 install/ui/test/functional/hbacrule-mod.html create mode 100644 install/ui/test/functional/hbacrule-service.html create mode 100644 install/ui/test/functional/hbacrule-sourcehost.html create mode 100644 install/ui/test/functional/hbacrule-suite.html create mode 100644 install/ui/test/functional/hbacrule-user.html create mode 100644 install/ui/test/functional/hbacsvc-add.html create mode 100644 install/ui/test/functional/hbacsvc-del.html create mode 100644 install/ui/test/functional/hbacsvc-find.html create mode 100644 install/ui/test/functional/hbacsvc-mod.html create mode 100644 install/ui/test/functional/hbacsvc-suite.html create mode 100644 install/ui/test/functional/hbacsvcgroup-add-member.html create mode 100644 install/ui/test/functional/hbacsvcgroup-add.html create mode 100644 install/ui/test/functional/hbacsvcgroup-del.html create mode 100644 install/ui/test/functional/hbacsvcgroup-find.html create mode 100644 install/ui/test/functional/hbacsvcgroup-mod.html create mode 100644 install/ui/test/functional/hbacsvcgroup-remove-member.html create mode 100644 install/ui/test/functional/hbacsvcgroup-suite.html create mode 100644 install/ui/test/functional/host-add.html create mode 100644 install/ui/test/functional/host-certificate.html create mode 100644 install/ui/test/functional/host-del.html create mode 100644 install/ui/test/functional/host-find.html create mode 100644 install/ui/test/functional/host-mod.html create mode 100644 install/ui/test/functional/host-suite.html create mode 100644 install/ui/test/functional/hostgroup-add-member-host.html create mode 100644 install/ui/test/functional/hostgroup-add.html create mode 100644 install/ui/test/functional/hostgroup-del.html create mode 100644 install/ui/test/functional/hostgroup-find.html create mode 100644 install/ui/test/functional/hostgroup-mod create mode 100644 install/ui/test/functional/hostgroup-remove-member-host.html create mode 100644 install/ui/test/functional/hostgroup-suite.html create mode 100644 install/ui/test/functional/krbtpolicy-mod.html create mode 100644 install/ui/test/functional/krbtpolicy-suite.html create mode 100644 install/ui/test/functional/netgroup-add-member-user.html create mode 100644 install/ui/test/functional/netgroup-add.html create mode 100644 install/ui/test/functional/netgroup-del.html create mode 100644 install/ui/test/functional/netgroup-find.html create mode 100644 install/ui/test/functional/netgroup-mod.html create mode 100644 install/ui/test/functional/netgroup-remove-member-user.html create mode 100644 install/ui/test/functional/netgroup-suite.html create mode 100644 install/ui/test/functional/permission-add.html create mode 100644 install/ui/test/functional/permission-del.html create mode 100644 install/ui/test/functional/permission-find.html create mode 100644 install/ui/test/functional/permission-mod.html create mode 100644 install/ui/test/functional/permission-suite.html create mode 100644 install/ui/test/functional/privilege-add.html create mode 100644 install/ui/test/functional/privilege-del.html create mode 100644 install/ui/test/functional/privilege-find.html create mode 100644 install/ui/test/functional/privilege-mod.html create mode 100644 install/ui/test/functional/privilege-suite.html create mode 100644 install/ui/test/functional/pwpolicy-add.html create mode 100644 install/ui/test/functional/pwpolicy-del.html create mode 100644 install/ui/test/functional/pwpolicy-mod.html create mode 100644 install/ui/test/functional/pwpolicy-suite.html create mode 100644 install/ui/test/functional/role-add.html create mode 100644 install/ui/test/functional/role-del.html create mode 100644 install/ui/test/functional/role-find.html create mode 100644 install/ui/test/functional/role-mod.html create mode 100644 install/ui/test/functional/role-suite.html create mode 100644 install/ui/test/functional/service-add.html create mode 100644 install/ui/test/functional/service-certificate.html create mode 100644 install/ui/test/functional/service-del.html create mode 100644 install/ui/test/functional/service-find.html create mode 100644 install/ui/test/functional/service-mod.html create mode 100644 install/ui/test/functional/service-suite.html create mode 100644 install/ui/test/functional/sudocmd-add.html create mode 100644 install/ui/test/functional/sudocmd-del.html create mode 100644 install/ui/test/functional/sudocmd-find.html create mode 100644 install/ui/test/functional/sudocmd-membership.html create mode 100644 install/ui/test/functional/sudocmd-mod.html create mode 100644 install/ui/test/functional/sudocmd-suite.html create mode 100644 install/ui/test/functional/sudocmdgroup-add.html create mode 100644 install/ui/test/functional/sudocmdgroup-del.html create mode 100644 install/ui/test/functional/sudocmdgroup-find.html create mode 100644 install/ui/test/functional/sudocmdgroup-member.html create mode 100644 install/ui/test/functional/sudocmdgroup-mod.html create mode 100644 install/ui/test/functional/sudocmdgroup-suite.html create mode 100644 install/ui/test/functional/sudorule-activation.html create mode 100644 install/ui/test/functional/sudorule-add.html create mode 100644 install/ui/test/functional/sudorule-allow-command.html create mode 100644 install/ui/test/functional/sudorule-del.html create mode 100644 install/ui/test/functional/sudorule-find.html create mode 100644 install/ui/test/functional/sudorule-host.html create mode 100644 install/ui/test/functional/sudorule-mod.html create mode 100644 install/ui/test/functional/sudorule-runasuser.html create mode 100644 install/ui/test/functional/sudorule-suite.html create mode 100644 install/ui/test/functional/sudorule-user.html create mode 100644 install/ui/test/functional/user-activation.html create mode 100644 install/ui/test/functional/user-add.html create mode 100644 install/ui/test/functional/user-del.html create mode 100644 install/ui/test/functional/user-find.html create mode 100644 install/ui/test/functional/user-mod.html create mode 100644 install/ui/test/functional/user-password-reset.html create mode 100644 install/ui/test/functional/user-suite.html diff --git a/install/ui/test/bin/selenium.sh b/install/ui/test/bin/selenium.sh new file mode 100755 index 000000000..034b1df6f --- /dev/null +++ b/install/ui/test/bin/selenium.sh @@ -0,0 +1,26 @@ +#!/bin/sh + + +TEST_SUITE=$1 +TEST_RESULTS=$2 + +if [ "$TEST_SUITE" = "" -o "$TEST_RESULTS" = "" ] +then + echo "Usage: $0 " + exit 1 +fi + +if [ ! -f $TEST_SUITE ] +then + echo "Error: Test suite $TEST_SUITE not found." + exit 1 +fi + +PROFILE_DIR=$HOME/.mozilla/firefox +PROFILE=`ls $PROFILE_DIR | grep .default` +PROFILE_TEMPLATE=$PROFILE_DIR/$PROFILE + +java -jar /usr/share/java/selenium-server-standalone.jar -firefoxProfileTemplate $PROFILE_TEMPLATE -htmlSuite "*firefox" "http://localhost" $TEST_SUITE $TEST_RESULTS + +# Kill Firefox +ps -ef|grep -i firefox|grep '\-profile'|awk '{print $2;}'|xargs kill -9 diff --git a/install/ui/test/functional/group-add-member-user.html b/install/ui/test/functional/group-add-member-user.html new file mode 100644 index 000000000..b0b18f350 --- /dev/null +++ b/install/ui/test/functional/group-add-member-user.html @@ -0,0 +1,81 @@ + + + + + + +Add Member User + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Add Member User
open/ipa/ui/#navigation=0&identity=1
waitForTextPresent4 groups matched
clicklink=testgroup
waitForTextPresenttestgroup:
click//div[@id='group']/div[1]/ul/li[4]
clicklink=Enroll
waitForElementPresent//div[1]/table/tbody/tr[2]/td[1]/input
click//div[1]/table/tbody/tr[2]/td[1]/input
clicklink=>>
click//button[@type='button']
waitForElementPresent//div[@id='group']/span[@name='association']//input[@value='testuser']
click//div[@id='group']/div[1]/ul/li[1]/span
waitForTextPresent4 groups matched
+ + diff --git a/install/ui/test/functional/group-add.html b/install/ui/test/functional/group-add.html new file mode 100644 index 000000000..6d59588df --- /dev/null +++ b/install/ui/test/functional/group-add.html @@ -0,0 +1,51 @@ + + + + + + +Add Group + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Add Group
open/ipa/ui/#navigation=0&identity=1
waitForTextPresent3 groups matched
click//div[@id='group']/div/ul/li[1]/span/span/a[2]
typecntestgroup
typedescriptionTest Group
click//button[@type='button']
waitForElementPresent//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 new file mode 100644 index 000000000..a05f52cfe --- /dev/null +++ b/install/ui/test/functional/group-del.html @@ -0,0 +1,46 @@ + + + + + + +Delete Group + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Delete Group
open/ipa/ui/#navigation=0&identity=1
waitForTextPresent4 groups matched
click//input[@name='select' and @value='testgroup']
click//div[@id='group']/div/ul/li[1]/span/span/a[1]
click//button[@type='button']
waitForTextPresent3 groups matched
+ + diff --git a/install/ui/test/functional/group-find.html b/install/ui/test/functional/group-find.html new file mode 100644 index 000000000..ebc5624d5 --- /dev/null +++ b/install/ui/test/functional/group-find.html @@ -0,0 +1,56 @@ + + + + + + +View Users + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
View Users
open/ipa/ui/#navigation=0&identity=1
waitForTextPresent4 groups matched
typesearch-group-filtertestgroup
clicklink=Find
waitForTextPresent1 group matched
typesearch-group-filter
click//div[@id='group']/span/div[1]/span[1]/a/span
waitForTextPresent4 groups matched
+ + diff --git a/install/ui/test/functional/group-mod.html b/install/ui/test/functional/group-mod.html new file mode 100644 index 000000000..bc8104080 --- /dev/null +++ b/install/ui/test/functional/group-mod.html @@ -0,0 +1,86 @@ + + + + + + +Edit Group + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Edit Group
open/ipa/ui/#navigation=0&identity=1
waitForTextPresent4 groups matched
clicklink=testgroup
waitForTextPresenttestgroup:
typedescription
typeKeysdescriptionTest Group 123
clicklink=Update
waitForTextNotPresentundo
typedescription
typeKeysdescriptionTest Group
clicklink=Update
waitForTextNotPresentundo
click//div[@id='group']/div[1]/ul/li[1]/span
waitForTextPresent4 groups matched
+ + diff --git a/install/ui/test/functional/group-remove-member-user.html b/install/ui/test/functional/group-remove-member-user.html new file mode 100644 index 000000000..9b37afcbe --- /dev/null +++ b/install/ui/test/functional/group-remove-member-user.html @@ -0,0 +1,76 @@ + + + + + + +Delete Member User + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Delete Member User
open/ipa/ui/#navigation=0&identity=1
waitForTextPresent4 groups matched
clicklink=testgroup
waitForTextPresenttestgroup:
click//div[@id='group']/div[1]/ul/li[@title='member_user']
waitForElementPresent//div[@id='group']/span[@name='association']//input[@value='testuser']
click//div[@id='group']/span[@name='association']//input[@value='testuser']
click//div[@id='group']/div[1]/ul/li[4]/ul/li[2]/span/a[1]
click//button[@type='button']
waitForElementNotPresent//div[@id='group']/span/table/tbody/tr
click//div[@id='group']/div[1]/ul/li[1]/span
waitForTextPresent4 groups matched
+ + diff --git a/install/ui/test/functional/group-suite.html b/install/ui/test/functional/group-suite.html new file mode 100644 index 000000000..493d90911 --- /dev/null +++ b/install/ui/test/functional/group-suite.html @@ -0,0 +1,21 @@ + + + + + + Test Suite + + + + + + + + + + + + +
Test Suite
Add Group
Search Group
Edit Group
Add User
Add Member User
Delete Member User
Delete User
Delete Group
+ + diff --git a/install/ui/test/functional/hbacrule-activation.html b/install/ui/test/functional/hbacrule-activation.html new file mode 100644 index 000000000..b5397eb02 --- /dev/null +++ b/install/ui/test/functional/hbacrule-activation.html @@ -0,0 +1,67 @@ + + + + + + +HBAC Rule Activation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
HBAC Rule Activation
open/ipa/ui/#navigation=1&policy=1
waitForElementPresent//div[@id='hbacrule']//span[@name='search']//input[@value='testhbacrule']
clicklink=testhbacrule
waitForTextPresenttesthbacrule:
click//input[@name='ipaenabledflag' and @value='FALSE']
clicklink=Update
waitForTextNotPresentundo
clickipaenabledflag
clicklink=Update
waitForTextNotPresentundo
+ + diff --git a/install/ui/test/functional/hbacrule-add.html b/install/ui/test/functional/hbacrule-add.html new file mode 100644 index 000000000..2dd46b665 --- /dev/null +++ b/install/ui/test/functional/hbacrule-add.html @@ -0,0 +1,51 @@ + + + + + + +Add HBAC Rule + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Add HBAC Rule
open/ipa/ui/#navigation=1&policy=1
waitForTextPresent1 HBAC rule matched
click//div[@id='hbacrule']//div[@class='action-panel']//a[@title='Add']
typecntesthbacrule
clickaccessruletype
click//button[@type='button']
waitForElementPresent//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 new file mode 100644 index 000000000..ca6d0b8e7 --- /dev/null +++ b/install/ui/test/functional/hbacrule-del.html @@ -0,0 +1,46 @@ + + + + + + +Delete HBAC Rule + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Delete HBAC Rule
open/ipa/ui/#navigation=1&policy=1
waitForElementPresent//div[@id='hbacrule']//span[@name='search']//input[@value='testhbacrule']
click//div[@id='hbacrule']//span[@name='search']//input[@value='testhbacrule']
click//div[@id='hbacrule']//div[@class='action-panel']//a[@title='Delete']
click//button[@type='button']
waitForElementNotPresent//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 new file mode 100644 index 000000000..9fcec8a61 --- /dev/null +++ b/install/ui/test/functional/hbacrule-find.html @@ -0,0 +1,72 @@ + + + + + + +Search HBAC Rule + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Search HBAC Rule
open/ipa/ui/#navigation=1&policy=1
waitForElementPresent//div[@id='hbacrule']//span[@name='search']//input[@value='testhbacrule']
typesearch-hbacrule-filtertest
clicklink=Find
waitForElementPresent//div[@id='hbacrule']//span[@name='search']//input[@value='testhbacrule']
typesearch-hbacrule-filterxxx
clicklink=Find
waitForElementNotPresent//div[@id='hbacrule']//span[@name='search']//input[@value='testhbacrule']
typesearch-hbacrule-filter
clicklink=Find
waitForElementPresent//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 new file mode 100644 index 000000000..bcaff8728 --- /dev/null +++ b/install/ui/test/functional/hbacrule-host.html @@ -0,0 +1,87 @@ + + + + + + +HBAC Rule Host + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
HBAC Rule Host
open/ipa/ui/#navigation=1&policy=1
waitForElementPresent//div[@id='hbacrule']//span[@name='search']//input[@value='testhbacrule']
clicklink=testhbacrule
waitForTextPresenttesthbacrule:
click//div[@id='hbacrule']//span[@name='hostcategory']//span[@name='memberhost_host']//a[@title='Add']
waitForElementPresent//div[@name='available']//input[@value='test.example.com']
click//div[@name='available']//input[@value='test.example.com']
clicklink=>>
click//button[@type='button']
waitForElementPresent//div[@id='hbacrule']//span[@name='hostcategory']//span[@name='memberhost_host']//input[@value='test.example.com']
click//div[@id='hbacrule']//span[@name='hostcategory']//span[@name='memberhost_host']//input[@value='test.example.com']
click//div[@id='hbacrule']//span[@name='hostcategory']//span[@name='memberhost_host']//a[@title='Delete']
click//button[@type='button']
waitForElementNotPresent//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 new file mode 100644 index 000000000..18c2be91c --- /dev/null +++ b/install/ui/test/functional/hbacrule-mod.html @@ -0,0 +1,87 @@ + + + + + + +Edit HBAC Rule + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Edit HBAC Rule
open/ipa/ui/#navigation=1&policy=1
waitForElementPresent//div[@id='hbacrule']//span[@name='search']//input[@value='testhbacrule']
clicklink=testhbacrule
waitForTextPresenttesthbacrule:
typedescription
typeKeysdescriptionTest HBAC Rule
click//input[@name='accessruletype' and @value='deny']
clicklink=Update
waitForTextNotPresentundo
typeKeysdescriptionxxx
typedescription
clickaccessruletype
clicklink=Update
waitForTextNotPresentundo
+ + diff --git a/install/ui/test/functional/hbacrule-service.html b/install/ui/test/functional/hbacrule-service.html new file mode 100644 index 000000000..980904865 --- /dev/null +++ b/install/ui/test/functional/hbacrule-service.html @@ -0,0 +1,86 @@ + + + + + + +HBAC Rule Service + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
HBAC Rule Service
open/ipa/ui/#navigation=1&policy=1
waitForElementPresent//div[@id='hbacrule']//span[@name='search']//input[@value='testhbacrule']
clicklink=testhbacrule
waitForTextPresenttesthbacrule:
click//div[@id='hbacrule']//span[@name='servicecategory']//span[@name='memberservice_hbacsvc']//a[@title='Add']
waitForElementPresent//div[@name='available']//input[@value='testhbacsvc']
click//div[@name='available']//input[@value='testhbacsvc']
clicklink=>>
click//button[@type='button']
waitForElementPresent//div[@id='hbacrule']//span[@name='servicecategory']//span[@name='memberservice_hbacsvc']//input[@value='testhbacsvc']
click//div[@id='hbacrule']//span[@name='servicecategory']//span[@name='memberservice_hbacsvc']//input[@value='testhbacsvc']
click//div[@id='hbacrule']//span[@name='servicecategory']//span[@name='memberservice_hbacsvc']//a[@title='Delete']
click//button[@type='button']
waitForElementNotPresent//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 new file mode 100644 index 000000000..ae998b803 --- /dev/null +++ b/install/ui/test/functional/hbacrule-sourcehost.html @@ -0,0 +1,86 @@ + + + + + + +HBAC Rule Host + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
HBAC Rule Host
open/ipa/ui/#navigation=1&policy=1
waitForElementPresent//div[@id='hbacrule']//span[@name='search']//input[@value='testhbacrule']
clicklink=testhbacrule
waitForTextPresenttesthbacrule:
click//div[@id='hbacrule']//span[@name='sourcehostcategory']//span[@name='sourcehost_host']//a[@title='Add']
waitForElementPresent//div[@name='available']//input[@value='test.example.com']
click//div[@name='available']//input[@value='test.example.com']
clicklink=>>
click//button[@type='button']
waitForElementPresent//div[@id='hbacrule']//span[@name='sourcehostcategory']//span[@name='sourcehost_host']//input[@value='test.example.com']
click//div[@id='hbacrule']//span[@name='sourcehostcategory']//span[@name='sourcehost_host']//input[@value='test.example.com']
click//div[@id='hbacrule']//span[@name='sourcehostcategory']//span[@name='sourcehost_host']//a[@title='Delete']
click//button[@type='button']
waitForElementNotPresent//div[@id='hbacrule']//span[@name='sourcehostcategory']//span[@name='sourcehost_host']//input[@value='test.example.com']
+ + diff --git a/install/ui/test/functional/hbacrule-suite.html b/install/ui/test/functional/hbacrule-suite.html new file mode 100644 index 000000000..d52cecebc --- /dev/null +++ b/install/ui/test/functional/hbacrule-suite.html @@ -0,0 +1,30 @@ + + + + + + Test Suite + + + + + + + + + + + + + + + + + + + + + +
Test Suite
Add HBAC Rule
Search HBAC Rule
Edit HBAC Rule
HBAC Rule Activation
Add User
HBAC Rule User
Delete User
Add Host
HBAC Rule Host
Delete Host
Add HBAC Service
HBAC Rule Service
Delete HBAC Service
Add Source Host
HBAC Rule Source Host
Delete Source Host
Delete HBAC Rule
+ + diff --git a/install/ui/test/functional/hbacrule-user.html b/install/ui/test/functional/hbacrule-user.html new file mode 100644 index 000000000..35d0a52e6 --- /dev/null +++ b/install/ui/test/functional/hbacrule-user.html @@ -0,0 +1,86 @@ + + + + + + +HBAC Rule User + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
HBAC Rule User
open/ipa/ui/#navigation=1&policy=1
waitForElementPresent//div[@id='hbacrule']//span[@name='search']//input[@value='testhbacrule']
clicklink=testhbacrule
waitForTextPresenttesthbacrule:
clicklink=Add
waitForElementPresent//div[@name='available']//input[@value='testuser']
click//div[@name='available']//input[@value='testuser']
clicklink=>>
click//button[@type='button']
waitForElementPresent//div[@id='hbacrule']//span[@name='usercategory']//span[@name='memberuser_user']//input[@value='testuser']
click//div[@id='hbacrule']//span[@name='usercategory']//span[@name='memberuser_user']//input[@value='testuser']
clicklink=Delete
click//button[@type='button']
waitForElementNotPresent//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 new file mode 100644 index 000000000..b9a1d890b --- /dev/null +++ b/install/ui/test/functional/hbacsvc-add.html @@ -0,0 +1,51 @@ + + + + + + +Add HBAC Service + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Add HBAC Service
open/ipa/ui/#navigation=1&policy=1&hbacrule-entity=hbacsvc
waitForTextPresent10 HBAC services matched
click//div[@id='hbacrule']//div[@class='action-panel']//a[@title='Add']
typecntesthbacsvc
typedescriptionTest HBAC Service
click//button[@type='button']
waitForElementPresent//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 new file mode 100644 index 000000000..030aa9723 --- /dev/null +++ b/install/ui/test/functional/hbacsvc-del.html @@ -0,0 +1,46 @@ + + + + + + +Delete HBAC Service + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Delete HBAC Service
open/ipa/ui/#navigation=1&policy=1&hbacrule-entity=hbacsvc
waitForElementPresent//div[@id='hbacrule']//span[@name='search']//input[@value='testhbacsvc']
click//div[@id='hbacrule']//span[@name='search']//input[@value='testhbacsvc']
click//div[@id='hbacrule']//div[@class='action-panel']//a[@title='Delete']
click//button[@type='button']
waitForElementNotPresent//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 new file mode 100644 index 000000000..77ae0ab5c --- /dev/null +++ b/install/ui/test/functional/hbacsvc-find.html @@ -0,0 +1,72 @@ + + + + + + +Search HBAC Service + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Search HBAC Service
open/ipa/ui/#navigation=1&policy=1&hbacrule-entity=hbacsvc
waitForElementPresent//div[@id='hbacrule']//span[@name='search']//input[@value='testhbacsvc']
typesearch-hbacsvc-filtertest
clicklink=Find
waitForElementPresent//div[@id='hbacrule']//span[@name='search']//input[@value='testhbacsvc']
typesearch-hbacsvc-filterxxx
clicklink=Find
waitForElementNotPresent//div[@id='hbacrule']//span[@name='search']//input[@value='testhbacsvc']
typesearch-hbacsvc-filter
clicklink=Find
waitForElementPresent//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 new file mode 100644 index 000000000..0de96ca22 --- /dev/null +++ b/install/ui/test/functional/hbacsvc-mod.html @@ -0,0 +1,77 @@ + + + + + + +Edit HBAC Service + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Edit HBAC Service
open/ipa/ui/#navigation=1&policy=1&hbacrule-entity=hbacsvc
waitForElementPresent//div[@id='hbacrule']//span[@name='search']//input[@value='testhbacsvc']
clicklink=testhbacsvc
waitForTextPresenttesthbacsvc:
typedescription
typeKeysdescriptionxxx
clicklink=Update
waitForTextNotPresentundo
typedescription
typeKeysdescriptionTest HBAC Service
clicklink=Update
waitForTextNotPresentundo
+ + diff --git a/install/ui/test/functional/hbacsvc-suite.html b/install/ui/test/functional/hbacsvc-suite.html new file mode 100644 index 000000000..381ed6327 --- /dev/null +++ b/install/ui/test/functional/hbacsvc-suite.html @@ -0,0 +1,17 @@ + + + + + + Test Suite + + + + + + + + +
Test Suite
Add HBAC Service
Search HBAC Service
Edit HBAC Service
Delete HBAC Service
+ + diff --git a/install/ui/test/functional/hbacsvcgroup-add-member.html b/install/ui/test/functional/hbacsvcgroup-add-member.html new file mode 100644 index 000000000..9574d396b --- /dev/null +++ b/install/ui/test/functional/hbacsvcgroup-add-member.html @@ -0,0 +1,67 @@ + + + + + + +Add Member HBAC Service + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Add Member HBAC Service
open/ipa/ui/#navigation=1&policy=1&hbacrule-entity=hbacsvcgroup
waitForElementPresent//div[@id='hbacrule']//span[@name='search']//input[@value='testhbacsvcgroup']
clicklink=testhbacsvcgroup
waitForTextPresenttesthbacsvcgroup:
clicklink=Add
waitForElementPresent//div[@name='available']//input[@value='testhbacsvc']
click//div[@name='available']//input[@value='testhbacsvc']
clicklink=>>
click//button[@type='button']
waitForElementPresent//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 new file mode 100644 index 000000000..71c84df66 --- /dev/null +++ b/install/ui/test/functional/hbacsvcgroup-add.html @@ -0,0 +1,52 @@ + + + + + + +Add HBAC Service Group + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Add HBAC Service Group
open/ipa/ui/#navigation=1&policy=1&hbacrule-entity=hbacsvcgroup
waitForTextPresent1 HBAC service group matched
click//div[@id='hbacrule']//div[@class='action-panel']//a[@title='Add']
typecntesthbacsvcgroup
typedescriptionTest HBAC Service Group
click//button[@type='button']
waitForElementPresent//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 new file mode 100644 index 000000000..3027ca399 --- /dev/null +++ b/install/ui/test/functional/hbacsvcgroup-del.html @@ -0,0 +1,47 @@ + + + + + + +Delete HBAC Service Group + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Delete HBAC Service Group
open/ipa/ui/#navigation=1&policy=1&hbacrule-entity=hbacsvcgroup
waitForElementPresent//div[@id='hbacrule']//span[@name='search']//input[@value='testhbacsvcgroup']
click//div[@id='hbacrule']//span[@name='search']//input[@value='testhbacsvcgroup']
click//div[@id='hbacrule']//div[@class='action-panel']//a[@title='Delete']
click//button[@type='button']
waitForElementNotPresent//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 new file mode 100644 index 000000000..2203d1425 --- /dev/null +++ b/install/ui/test/functional/hbacsvcgroup-find.html @@ -0,0 +1,72 @@ + + + + + + +Search HBAC Service Group + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Search HBAC Service Group
open/ipa/ui/#navigation=1&policy=1&hbacrule-entity=hbacsvcgroup
waitForElementPresent//div[@id='hbacrule']//span[@name='search']//input[@value='testhbacsvcgroup']
typesearch-hbacsvcgroup-filtertest
clicklink=Find
waitForElementPresent//div[@id='hbacrule']//span[@name='search']//input[@value='testhbacsvcgroup']
typesearch-hbacsvcgroup-filterxxx
clicklink=Find
waitForElementNotPresent//div[@id='hbacrule']//span[@name='search']//input[@value='testhbacsvcgroup']
typesearch-hbacsvcgroup-filter
clicklink=Find
waitForElementPresent//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 new file mode 100644 index 000000000..68561404f --- /dev/null +++ b/install/ui/test/functional/hbacsvcgroup-mod.html @@ -0,0 +1,77 @@ + + + + + + +Edit HBAC Service Group + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Edit HBAC Service Group
open/ipa/ui/#navigation=1&policy=1&hbacrule-entity=hbacsvcgroup
waitForElementPresent//div[@id='hbacrule']//span[@name='search']//input[@value='testhbacsvcgroup']
clicklink=testhbacsvcgroup
waitForTextPresenttesthbacsvcgroup:
typedescription
typeKeysdescriptionxxx
clicklink=Update
waitForTextNotPresentundo
typedescription
typeKeysdescriptionTest HBAC Service Group
clicklink=Update
waitForTextNotPresentundo
+ + diff --git a/install/ui/test/functional/hbacsvcgroup-remove-member.html b/install/ui/test/functional/hbacsvcgroup-remove-member.html new file mode 100644 index 000000000..4fc731237 --- /dev/null +++ b/install/ui/test/functional/hbacsvcgroup-remove-member.html @@ -0,0 +1,62 @@ + + + + + + +Delete Member HBAC Service + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Delete Member HBAC Service
open/ipa/ui/#navigation=1&policy=1&hbacrule-entity=hbacsvcgroup
waitForElementPresent//div[@id='hbacrule']//span[@name='search']//input[@value='testhbacsvcgroup']
clicklink=testhbacsvcgroup
waitForTextPresenttesthbacsvcgroup:
waitForElementPresent//div[@id='hbacrule']//span[@name='member_hbacsvc']//input[@value='testhbacsvc']
click//div[@id='hbacrule']//span[@name='member_hbacsvc']//input[@value='testhbacsvc']
clicklink=Delete
click//button[@type='button']
waitForElementNotPresent//div[@id='hbacrule']//span[@name='member_hbacsvc']//input[@value='testhbacsvc']
+ + diff --git a/install/ui/test/functional/hbacsvcgroup-suite.html b/install/ui/test/functional/hbacsvcgroup-suite.html new file mode 100644 index 000000000..2b9763965 --- /dev/null +++ b/install/ui/test/functional/hbacsvcgroup-suite.html @@ -0,0 +1,21 @@ + + + + + + Test Suite + + + + + + + + + + + + +
Test Suite
Add HBAC Service Group
Search HBAC Service Group
Edit HBAC Service Group
Add HBAC Service
Add Member HBAC Service
Delete Member HBAC Service
Delete HBAC Service
Delete HBAC Service Group
+ + diff --git a/install/ui/test/functional/host-add.html b/install/ui/test/functional/host-add.html new file mode 100644 index 000000000..9ea659b18 --- /dev/null +++ b/install/ui/test/functional/host-add.html @@ -0,0 +1,51 @@ + + + + + + +Add Host + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Add Host
open/ipa/ui/#navigation=0&identity=2
waitForTextPresent1 host matched
click//div[@id='host']/div/ul/li[1]/span/span/a[2]
typefqdntest.example.com
clickforce
click//button[@type='button']
waitForElementPresent//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 new file mode 100644 index 000000000..3931204ec --- /dev/null +++ b/install/ui/test/functional/host-certificate.html @@ -0,0 +1,121 @@ + + + + + + +Host Certificate + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Host Certificate
open/ipa/ui/#navigation=0&identity=2
waitForTextPresent2 hosts matched
clicklink=test.example.com
waitForVisible//div[@id='host']//span[@name='certificate_status']//div[@name='certificate-missing']
click//dl[@id='certificate']/dd/span/div[3]/div/a
waitForElementPresentcss=div.ui-dialog
type//textareaMIIBezCB5QIBADA8MR8wHQYDVQQKDBZJRE0uTEFCLkJPUy5SRURIQVQuQ09NMRkw
FwYDVQQDDBB0ZXN0LmV4YW1wbGUuY29tMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCB
iQKBgQDYOFeE6Y16kQ1gSvlnUU/LOaQlbsYnkfOCZ9UOaeg1RbKXFIJYB0s1DAa8
biI8gb6ZpzDjcAtNZHchOBtXnl0BBPOhkF6nD444SImz6eUBCmcCNeF4lgmNTxUS
W2AkWl4vgXGwWSlxSrBIcylIqsIMMdYg71mUeTyuJLit8bGQdwIDAQABoAAwDQYJ
KoZIhvcNAQEFBQADgYEAKb3/9gkJuOf3wRGe2n+FAfqBzStq8r5SLyVa5JyOxBhJ
nKGrTcv95X+2ch8RPqvOg8lgn12Js/Rm3ipb0MlCkBYeq8b0RQv4N0sG2dqJG8a1
yxhxxIjovisey6F09cOyZljAhpJ6Qeqd7GHr7HFCPTDWrYDIb8QpiRrgNFvBtIQ=
click//button[@type='button']
waitForElementNotPresentcss=div.ui-dialog
waitForVisible//div[@id='host']//span[@name='certificate_status']//div[@name='certificate-valid']
click//div[@id='host']//span[@name='certificate_status']//div[@name='certificate-valid']//a[@title='Get']
waitForElementPresentcss=div.ui-dialog
click//button[@type='button']
waitForElementNotPresentcss=div.ui-dialog
pause1000
clicklink=View
waitForElementPresentcss=div.ui-dialog
click//button[@type='button']
waitForElementNotPresentcss=div.ui-dialog
click//div[@id='host']/div[1]/ul/li[1]/span
waitForElementPresent//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 new file mode 100644 index 000000000..38554bac6 --- /dev/null +++ b/install/ui/test/functional/host-del.html @@ -0,0 +1,46 @@ + + + + + + +Delete Host + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Delete Host
open/ipa/ui/#navigation=0&identity=2
waitForTextPresent2 hosts matched
click//input[@name='select' and @value='test.example.com']
click//div[@id='host']/div/ul/li[1]/span/span/a[1]
click//button[@type='button']
waitForTextPresent1 host matched
+ + diff --git a/install/ui/test/functional/host-find.html b/install/ui/test/functional/host-find.html new file mode 100644 index 000000000..cb9235d79 --- /dev/null +++ b/install/ui/test/functional/host-find.html @@ -0,0 +1,56 @@ + + + + + + +View Hosts + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
View Hosts
open/ipa/ui/#navigation=0&identity=2
waitForTextPresent2 hosts matched
typesearch-host-filtertest
clicklink=Find
waitForTextPresent1 host matched
typesearch-host-filter
clicklink=Find
waitForTextPresent2 hosts matched
+ + diff --git a/install/ui/test/functional/host-mod.html b/install/ui/test/functional/host-mod.html new file mode 100644 index 000000000..773a9e826 --- /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
+ + diff --git a/install/ui/test/functional/host-suite.html b/install/ui/test/functional/host-suite.html new file mode 100644 index 000000000..c58a751cf --- /dev/null +++ b/install/ui/test/functional/host-suite.html @@ -0,0 +1,18 @@ + + + + + + Test Suite + + + + + + + + + +
Test Suite
Add Host
Search Host
Edit Host
Host Certificate
Delete Host
+ + diff --git a/install/ui/test/functional/hostgroup-add-member-host.html b/install/ui/test/functional/hostgroup-add-member-host.html new file mode 100644 index 000000000..1030d6a53 --- /dev/null +++ b/install/ui/test/functional/hostgroup-add-member-host.html @@ -0,0 +1,82 @@ + + + + + + +Add Member Host + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Add Member Host
open/ipa/ui/#navigation=0&identity=3
waitForTextPresent1 hostgroup matched
clicklink=testhostgroup
waitForTextPresenttesthostgroup:
click//div[@id='hostgroup']/div[1]/ul/li[6]
clicklink=Enroll
waitForElementPresent//div[1]//input[@name='select' and @value='test.example.com']
click//div[1]//input[@name='select' and @value='test.example.com']
clicklink=>>
click//button[@type='button']
waitForElementPresent//div[@id='hostgroup']/span[@name='association']//input[@value='test.example.com']
click//div[@id='hostgroup']/div[1]/ul/li[1]/span
waitForTextPresent1 hostgroup matched
+ + diff --git a/install/ui/test/functional/hostgroup-add.html b/install/ui/test/functional/hostgroup-add.html new file mode 100644 index 000000000..116c47254 --- /dev/null +++ b/install/ui/test/functional/hostgroup-add.html @@ -0,0 +1,52 @@ + + + + + + +Add Host Group + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Add Host Group
open/ipa/ui/#navigation=0&identity=3
waitForTextPresent0 hostgroups matched
click//div[@id='hostgroup']/div/ul/li[1]/span/span/a[2]
typecntesthostgroup
typedescriptionTest Host Group
click//button[@type='button']
waitForTextPresent1 hostgroup matched
+ + diff --git a/install/ui/test/functional/hostgroup-del.html b/install/ui/test/functional/hostgroup-del.html new file mode 100644 index 000000000..e062f6479 --- /dev/null +++ b/install/ui/test/functional/hostgroup-del.html @@ -0,0 +1,46 @@ + + + + + + +Delete Host Group + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Delete Host Group
open/ipa/ui/#navigation=0&identity=3
waitForTextPresent1 hostgroup matched
click//input[@name='select' and @value='testhostgroup']
click//div[@id='hostgroup']/div/ul/li[1]/span/span/a[1]
click//button[@type='button']
waitForTextPresent0 hostgroups matched
+ + diff --git a/install/ui/test/functional/hostgroup-find.html b/install/ui/test/functional/hostgroup-find.html new file mode 100644 index 000000000..08476f5ca --- /dev/null +++ b/install/ui/test/functional/hostgroup-find.html @@ -0,0 +1,72 @@ + + + + + + +Search Host Group + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Search Host Group
open/ipa/ui/#navigation=0&identity=3
waitForTextPresent1 hostgroup matched
typesearch-hostgroup-filtertest
click//div[@id='hostgroup']/span/div[1]/span[1]/a/span
waitForTextPresent1 hostgroup matched
typesearch-hostgroup-filterxxx
click//div[@id='hostgroup']/span/div[1]/span[1]/a/span
waitForTextPresent0 hostgroups matched
typesearch-hostgroup-filter
click//div[@id='hostgroup']/span/div[1]/span[1]/a/span
waitForTextPresent1 hostgroup matched
+ + diff --git a/install/ui/test/functional/hostgroup-mod b/install/ui/test/functional/hostgroup-mod new file mode 100644 index 000000000..a14029f93 --- /dev/null +++ b/install/ui/test/functional/hostgroup-mod @@ -0,0 +1,77 @@ + + + + + + +Edit Host Group + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Edit Host Group
open/ipa/ui/#navigation=0&identity=3
waitForTextPresent1 hostgroup matched
clicklink=testhostgroup
waitForTextPresenttesthostgroup:
typeKeysdescriptionxxx
clicklink=Update
waitForTextNotPresentundo
typeKeysdescriptionTest Host Group
clicklink=Update
waitForTextNotPresentundo
click//div[@id='hostgroup']/div[1]/ul/li[1]/span
waitForTextPresent1 hostgroup matched
+ + diff --git a/install/ui/test/functional/hostgroup-remove-member-host.html b/install/ui/test/functional/hostgroup-remove-member-host.html new file mode 100644 index 000000000..7fd1ad582 --- /dev/null +++ b/install/ui/test/functional/hostgroup-remove-member-host.html @@ -0,0 +1,76 @@ + + + + + + +Delete Member Host + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Delete Member Host
open/ipa/ui/#navigation=0&identity=3
waitForTextPresent1 hostgroup matched
clicklink=testhostgroup
waitForTextPresenttesthostgroup:
click//div[@id='hostgroup']/div[1]/ul/li[6]
waitForElementPresent//div[@id='hostgroup']/span[@name='association']//input[@value='test.example.com']
click//div[@id='hostgroup']/span[@name='association']//input[@value='test.example.com']
click//div[@id='hostgroup']/div[1]/ul/li[6]/ul/li[2]/span/a[1]
click//button[@type='button']
waitForElementNotPresent//div[@id='hostgroup']/span[@name='association']//input[@value='test.example.com']
click//div[@id='hostgroup']/div[1]/ul/li[1]/span
waitForTextPresent1 hostgroup matched
+ + diff --git a/install/ui/test/functional/hostgroup-suite.html b/install/ui/test/functional/hostgroup-suite.html new file mode 100644 index 000000000..0f681c1c5 --- /dev/null +++ b/install/ui/test/functional/hostgroup-suite.html @@ -0,0 +1,21 @@ + + + + + + Test Suite + + + + + + + + + + + + +
Test Suite
Add Host Group
Search Host Group
Edit Host Group
Add Host
Add Member Host
Delete Member Host
Delete Host
Delete Host Group
+ + diff --git a/install/ui/test/functional/krbtpolicy-mod.html b/install/ui/test/functional/krbtpolicy-mod.html new file mode 100644 index 000000000..e10406701 --- /dev/null +++ b/install/ui/test/functional/krbtpolicy-mod.html @@ -0,0 +1,66 @@ + + + + + + +Edit Kerberos Ticket Policy + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Edit Kerberos Ticket Policy
open/ipa/ui/#navigation=1&identity=1&policy=4
waitForNotVisible//span[@id='header-network-activity-indicator']
typekrbmaxrenewableage100
typekrbmaxticketlife100
clicklink=Update
waitForTextNotPresentundo
typekrbmaxrenewableage604800
typekrbmaxticketlife86400
clicklink=Update
waitForTextNotPresentundo
+ + diff --git a/install/ui/test/functional/krbtpolicy-suite.html b/install/ui/test/functional/krbtpolicy-suite.html new file mode 100644 index 000000000..9eccf04f2 --- /dev/null +++ b/install/ui/test/functional/krbtpolicy-suite.html @@ -0,0 +1,14 @@ + + + + + + Test Suite + + + + + +
Test Suite
Edit Kerberos Ticket Policy
+ + diff --git a/install/ui/test/functional/netgroup-add-member-user.html b/install/ui/test/functional/netgroup-add-member-user.html new file mode 100644 index 000000000..e985f2b13 --- /dev/null +++ b/install/ui/test/functional/netgroup-add-member-user.html @@ -0,0 +1,72 @@ + + + + + + +Add Member User + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Add Member User
open/ipa/ui/#navigation=0&identity=4
waitForTextPresent1 netgroup matched
clicklink=testnetgroup
waitForTextPresenttestnetgroup:
click//div[@id='netgroup']/div[1]/ul/li[9]
clicklink=Enroll
waitForElementPresent//input[@name='select' and @value='testuser']
click//input[@name='select' and @value='testuser']
clicklink=>>
click//button[@type='button']
waitForElementPresent//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 new file mode 100644 index 000000000..d4935ce58 --- /dev/null +++ b/install/ui/test/functional/netgroup-add.html @@ -0,0 +1,52 @@ + + + + + + +Add Netgroup + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Add Netgroup
open/ipa/ui/#navigation=0&identity=4
waitForTextPresent0 netgroups matched
click//div[@id='netgroup']/div/ul/li[1]/span/span/a[2]
typecntestnetgroup
typedescriptionTest Netgroup
click//button[@type='button']
waitForTextPresent1 netgroup matched
+ + diff --git a/install/ui/test/functional/netgroup-del.html b/install/ui/test/functional/netgroup-del.html new file mode 100644 index 000000000..226c0c1fe --- /dev/null +++ b/install/ui/test/functional/netgroup-del.html @@ -0,0 +1,47 @@ + + + + + + +Delete Netgroup + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Delete Netgroup
open/ipa/ui/#navigation=0&identity=4
waitForTextPresent1 netgroup matched
click//input[@name='select' and @value='testnetgroup']
click//div[@id='netgroup']/div/ul/li[1]/span/span/a[1]
click//button[@type='button']
waitForTextPresent0 netgroups matched
+ + diff --git a/install/ui/test/functional/netgroup-find.html b/install/ui/test/functional/netgroup-find.html new file mode 100644 index 000000000..ac2a0f061 --- /dev/null +++ b/install/ui/test/functional/netgroup-find.html @@ -0,0 +1,72 @@ + + + + + + +Search Netgroup + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Search Netgroup
open/ipa/ui/#navigation=0&identity=4
waitForTextPresent1 netgroup matched
typesearch-netgroup-filtertest
clicklink=Find
waitForTextPresent1 netgroup matched
typesearch-netgroup-filterxxx
clicklink=Find
waitForTextPresent0 netgroups matched
typesearch-netgroup-filter
clicklink=Find
waitForTextPresent1 netgroup matched
+ + diff --git a/install/ui/test/functional/netgroup-mod.html b/install/ui/test/functional/netgroup-mod.html new file mode 100644 index 000000000..03407d0ba --- /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']
+ + diff --git a/install/ui/test/functional/netgroup-remove-member-user.html b/install/ui/test/functional/netgroup-remove-member-user.html new file mode 100644 index 000000000..beb3939cd --- /dev/null +++ b/install/ui/test/functional/netgroup-remove-member-user.html @@ -0,0 +1,67 @@ + + + + + + +Delete Member User + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Delete Member User
open/ipa/ui/#navigation=0&identity=4
waitForTextPresent1 netgroup matched
clicklink=testnetgroup
waitForTextPresenttestnetgroup:
click//div[@id='netgroup']/div[1]/ul/li[9]
waitForElementPresent//div[@id='netgroup']//span[@name='association']//input[@value='testuser']
click//div[@id='netgroup']//span[@name='association']//input[@value='testuser']
clicklink=Delete
click//button[@type='button']
waitForElementNotPresent//div[@id='netgroup']//span[@name='association']//input[@value='testuser']
+ + diff --git a/install/ui/test/functional/netgroup-suite.html b/install/ui/test/functional/netgroup-suite.html new file mode 100644 index 000000000..5fe3fc107 --- /dev/null +++ b/install/ui/test/functional/netgroup-suite.html @@ -0,0 +1,21 @@ + + + + + + Test Suite + + + + + + + + + + + + +
Test Suite
Add Netgroup
Search Netgroup
Edit Netgroup
Add User
Add Member User
Delete Member User
Delete User
Delete Netgroup
+ + diff --git a/install/ui/test/functional/permission-add.html b/install/ui/test/functional/permission-add.html new file mode 100644 index 000000000..d8b4afb1f --- /dev/null +++ b/install/ui/test/functional/permission-add.html @@ -0,0 +1,66 @@ + + + + + + +Add Permission + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Add Permission
open/ipa/ui/#navigation=2&role-entity=permission
waitForNotVisible//span[@id='header-network-activity-indicator']
click//div[@id='role']/div[@class='action-panel']//a[@title='Add']
typecntestpermission
click//span[@name='permissions']//input[@value='write']
select//div[@name='target']//selectlabel=type
select//span[@name='type']//select[@name='type']label=user
click//dd[@name='attrs']//input[@value='description']
click//button[@type='button']
waitForElementPresent//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 new file mode 100644 index 000000000..77f7b4df1 --- /dev/null +++ b/install/ui/test/functional/permission-del.html @@ -0,0 +1,46 @@ + + + + + + +Delete Permission + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Delete Permission
open/ipa/ui/#navigation=2&role-entity=permission
waitForElementPresent//div[@id='role']/span[@name='search']//input[@value='testpermission']
click//div[@id='role']/span[@name='search']//input[@value='testpermission']
click//div[@id='role']/div[@class='action-panel']//a[@title='Delete']
click//button[@type='button']
waitForElementNotPresent//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 new file mode 100644 index 000000000..1b250838c --- /dev/null +++ b/install/ui/test/functional/permission-find.html @@ -0,0 +1,72 @@ + + + + + + +Search Permission + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Search Permission
open/ipa/ui/#navigation=2&role-entity=permission
waitForElementPresent//div[@id='role']/span[@name='search']//input[@value='testpermission']
typesearch-permission-filtertest
clicklink=Find
waitForElementPresent//div[@id='role']/span[@name='search']//input[@value='testpermission']
typesearch-permission-filterxxx
clicklink=Find
waitForElementNotPresent//div[@id='role']/span[@name='search']//input[@value='testpermission']
typesearch-permission-filter
clicklink=Find
waitForElementPresent//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 new file mode 100644 index 000000000..ae8489b2c --- /dev/null +++ b/install/ui/test/functional/permission-mod.html @@ -0,0 +1,107 @@ + + + + + + +Edit Permission + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Edit Permission
open/ipa/ui/#navigation=2&role-entity=permission
waitForNotVisible//span[@id='header-network-activity-indicator']
clicklink=testpermission
waitForNotVisible//span[@id='header-network-activity-indicator']
click//div[@id='role']//span[@name='permissions']//input[@value='add']
click//div[@id='role']//span[@name='permissions']//input[@value='delete']
click//div[@id='role']//span[@name='permissions']//input[@value='write']
click//div[@id='role']//dd[@name='attrs']//input[@value='cn']
click//div[@id='role']//dd[@name='attrs']//input[@value='description']
clicklink=Update
waitForTextNotPresentundo
click//div[@id='role']//span[@name='permissions']//input[@value='write']
click//div[@id='role']//span[@name='permissions']//input[@value='add']
click//div[@id='role']//span[@name='permissions']//input[@value='delete']
click//div[@id='role']//dd[@name='attrs']//input[@value='cn']
click//div[@id='role']//dd[@name='attrs']//input[@value='description']
clicklink=Update
waitForTextNotPresentundo
+ + diff --git a/install/ui/test/functional/permission-suite.html b/install/ui/test/functional/permission-suite.html new file mode 100644 index 000000000..6f50bb7a5 --- /dev/null +++ b/install/ui/test/functional/permission-suite.html @@ -0,0 +1,17 @@ + + + + + + Test Suite + + + + + + + + +
Test Suite
Add Permission
Search Permission
Edit Permission
Delete Permission
+ + diff --git a/install/ui/test/functional/privilege-add.html b/install/ui/test/functional/privilege-add.html new file mode 100644 index 000000000..2cc276940 --- /dev/null +++ b/install/ui/test/functional/privilege-add.html @@ -0,0 +1,51 @@ + + + + + + +Add Permission + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Add Permission
open/ipa/ui/#navigation=2&role-entity=privilege
waitForNotVisible//span[@id='header-network-activity-indicator']
click//div[@id='role']/div[@class='action-panel']//a[@title='Add']
typecntestprivilege
typedescriptionTest Privilege
click//button[@type='button']
waitForElementPresent//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 new file mode 100644 index 000000000..d206eb4bc --- /dev/null +++ b/install/ui/test/functional/privilege-del.html @@ -0,0 +1,46 @@ + + + + + + +Delete Permission + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Delete Permission
open/ipa/ui/#navigation=2&role-entity=privilege
waitForElementPresent//div[@id='role']/span[@name='search']//input[@value='testprivilege']
click//div[@id='role']/span[@name='search']//input[@value='testprivilege']
click//div[@id='role']/div[@class='action-panel']//a[@title='Delete']
click//button[@type='button']
waitForElementNotPresent//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 new file mode 100644 index 000000000..f7bda6bdf --- /dev/null +++ b/install/ui/test/functional/privilege-find.html @@ -0,0 +1,71 @@ + + + + + + +Search Permission + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Search Permission
open/ipa/ui/#navigation=2&role-entity=privilege
waitForElementPresent//div[@id='role']/span[@name='search']//input[@value='testprivilege']
typesearch-privilege-filtertest
clicklink=Find
waitForElementPresent//div[@id='role']/span[@name='search']//input[@value='testprivilege']
typesearch-privilege-filterxxx
clicklink=Find
waitForElementNotPresent//div[@id='role']/span[@name='search']//input[@value='testprivilege']
typesearch-privilege-filter
clicklink=Find
waitForElementPresent//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 new file mode 100644 index 000000000..92a33d820 --- /dev/null +++ b/install/ui/test/functional/privilege-mod.html @@ -0,0 +1,76 @@ + + + + + + +Edit Privilege + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Edit Privilege
open/ipa/ui/#navigation=2&role-entity=privilege
waitForNotVisible//span[@id='header-network-activity-indicator']
clicklink=testprivilege
waitForNotVisible//span[@id='header-network-activity-indicator']
typedescription
typeKeysdescriptionxxx
clicklink=Update
waitForNotVisible//span[@id='header-network-activity-indicator']
typedescription
typeKeysdescriptionTest Privilege
clicklink=Update
waitForNotVisible//span[@id='header-network-activity-indicator']
+ + diff --git a/install/ui/test/functional/privilege-suite.html b/install/ui/test/functional/privilege-suite.html new file mode 100644 index 000000000..ff165696f --- /dev/null +++ b/install/ui/test/functional/privilege-suite.html @@ -0,0 +1,17 @@ + + + + + + Test Suite + + + + + + + + +
Test Suite
Add Privilege
Search Privilege
Edit Privilege
Delete Privilege
+ + diff --git a/install/ui/test/functional/pwpolicy-add.html b/install/ui/test/functional/pwpolicy-add.html new file mode 100644 index 000000000..c53df39ed --- /dev/null +++ b/install/ui/test/functional/pwpolicy-add.html @@ -0,0 +1,51 @@ + + + + + + +Add Password Policy + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Add Password Policy
open/ipa/ui/#navigation=1&policy=3
waitForNotVisible//span[@id='header-network-activity-indicator']
click//div[@id='pwpolicy']//div[@class='action-panel']//a[@title='Add']
typecntestgroup
typecospriority1
click//button[@type='button']
waitForElementPresent//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 new file mode 100644 index 000000000..d9dd0fa75 --- /dev/null +++ b/install/ui/test/functional/pwpolicy-del.html @@ -0,0 +1,47 @@ + + + + + + +Delete Password Policy + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Delete Password Policy
open/ipa/ui/#navigation=1&policy=3
waitForElementPresent//div[@id='pwpolicy']//span[@name='search']//input[@value='testgroup']
click//div[@id='pwpolicy']//span[@name='search']//input[@value='testgroup']
click//div[@id='pwpolicy']//div[@class='action-panel']//a[@title='Delete']
click//button[@type='button']
waitForElementNotPresent//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 new file mode 100644 index 000000000..5e85a38d2 --- /dev/null +++ b/install/ui/test/functional/pwpolicy-mod.html @@ -0,0 +1,86 @@ + + + + + + +Edit Password Policy + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Edit Password Policy
open/ipa/ui/#navigation=1&policy=3
waitForElementPresent//div[@id='pwpolicy']//span[@name='search']//input[@value='testgroup']
clicklink=testgroup
waitForTextPresenttestgroup:
typekrbmaxpwdlife
typeKeyskrbmaxpwdlife30
typekrbminpwdlife
typeKeyskrbminpwdlife1
typekrbpwdhistorylength
typeKeyskrbpwdhistorylength10
typekrbpwdminlength
typeKeyskrbpwdminlength5
clicklink=Update
waitForTextNotPresentundo
+ + diff --git a/install/ui/test/functional/pwpolicy-suite.html b/install/ui/test/functional/pwpolicy-suite.html new file mode 100644 index 000000000..2ce33acec --- /dev/null +++ b/install/ui/test/functional/pwpolicy-suite.html @@ -0,0 +1,18 @@ + + + + + + Test Suite + + + + + + + + + +
Test Suite
Add Group
Add Password Policy
Edit Password Policy
Delete Password Policy
Delete Group
+ + diff --git a/install/ui/test/functional/role-add.html b/install/ui/test/functional/role-add.html new file mode 100644 index 000000000..9d6bc56aa --- /dev/null +++ b/install/ui/test/functional/role-add.html @@ -0,0 +1,51 @@ + + + + + + +Add Permission + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Add Permission
open/ipa/ui/#navigation=2&role-entity=role
waitForNotVisible//span[@id='header-network-activity-indicator']
click//div[@id='role']/div[@class='action-panel']//a[@title='Add']
typecntestrole
typedescriptionTest Role
click//button[@type='button']
waitForElementPresent//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 new file mode 100644 index 000000000..0f7dcedc1 --- /dev/null +++ b/install/ui/test/functional/role-del.html @@ -0,0 +1,46 @@ + + + + + + +Delete Permission + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Delete Permission
open/ipa/ui/#navigation=2&role-entity=role
waitForElementPresent//div[@id='role']/span[@name='search']//input[@value='testrole']
click//div[@id='role']/span[@name='search']//input[@value='testrole']
click//div[@id='role']/div[@class='action-panel']//a[@title='Delete']
click//button[@type='button']
waitForElementNotPresent//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 new file mode 100644 index 000000000..f8c21b4f3 --- /dev/null +++ b/install/ui/test/functional/role-find.html @@ -0,0 +1,71 @@ + + + + + + +Search Permission + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Search Permission
open/ipa/ui/#navigation=2&role-entity=role
waitForElementPresent//div[@id='role']/span[@name='search']//input[@value='testrole']
typesearch-role-filtertest
clicklink=Find
waitForElementPresent//div[@id='role']/span[@name='search']//input[@value='testrole']
typesearch-role-filterxxx
clicklink=Find
waitForElementNotPresent//div[@id='role']/span[@name='search']//input[@value='testrole']
typesearch-role-filter
clicklink=Find
waitForElementPresent//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 new file mode 100644 index 000000000..aa499fda3 --- /dev/null +++ b/install/ui/test/functional/role-mod.html @@ -0,0 +1,77 @@ + + + + + + +Edit Role + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Edit Role
open/ipa/ui/#navigation=2&role-entity=role
waitForNotVisible//span[@id='header-network-activity-indicator']
clicklink=testrole
waitForNotVisible//span[@id='header-network-activity-indicator']
typedescription
typeKeysdescriptionxxx
clicklink=Update
waitForNotVisible//span[@id='header-network-activity-indicator']
typedescription
typeKeysdescriptionTest Role
clicklink=Update
waitForNotVisible//span[@id='header-network-activity-indicator']
+ + diff --git a/install/ui/test/functional/role-suite.html b/install/ui/test/functional/role-suite.html new file mode 100644 index 000000000..9b387bb9d --- /dev/null +++ b/install/ui/test/functional/role-suite.html @@ -0,0 +1,17 @@ + + + + + + Test Suite + + + + + + + + +
Test Suite
Add Role
Search Role
Edit Role
Delete Role
+ + diff --git a/install/ui/test/functional/service-add.html b/install/ui/test/functional/service-add.html new file mode 100644 index 000000000..65bf199bb --- /dev/null +++ b/install/ui/test/functional/service-add.html @@ -0,0 +1,56 @@ + + + + + + +Add Host + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Add Host
open/ipa/ui/#navigation=0&identity=5
waitForTextPresent4 services matched
click//div[@id='service']/div/ul/li[1]/span/span/a[2]
type//input[@name='service']testservice
type//input[@name='host']test.example.com
clickforce
click//button[@type='button']
waitForElementPresent//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 new file mode 100644 index 000000000..64e18bf1f --- /dev/null +++ b/install/ui/test/functional/service-certificate.html @@ -0,0 +1,111 @@ + + + + + + +Host Certificate + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Host Certificate
open/ipa/ui/#navigation=0&identity=5
waitForElementPresent//div[@id='service']/span[@name='search']//input[@value='testservice/test.example.com@IDM.LAB.BOS.REDHAT.COM']
clicklink=testservice/test.example.com@IDM.LAB.BOS.REDHAT.COM
waitForVisible//div[@id='service']//span[@name='certificate_status']//div[@name='certificate-missing']
click//dl[@id='certificate']/dd/span/div[3]/div/a
waitForElementPresentcss=div.ui-dialog
type//textareaMIIBezCB5QIBADA8MR8wHQYDVQQKDBZJRE0uTEFCLkJPUy5SRURIQVQuQ09NMRkw
FwYDVQQDDBB0ZXN0LmV4YW1wbGUuY29tMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCB
iQKBgQDYOFeE6Y16kQ1gSvlnUU/LOaQlbsYnkfOCZ9UOaeg1RbKXFIJYB0s1DAa8
biI8gb6ZpzDjcAtNZHchOBtXnl0BBPOhkF6nD444SImz6eUBCmcCNeF4lgmNTxUS
W2AkWl4vgXGwWSlxSrBIcylIqsIMMdYg71mUeTyuJLit8bGQdwIDAQABoAAwDQYJ
KoZIhvcNAQEFBQADgYEAKb3/9gkJuOf3wRGe2n+FAfqBzStq8r5SLyVa5JyOxBhJ
nKGrTcv95X+2ch8RPqvOg8lgn12Js/Rm3ipb0MlCkBYeq8b0RQv4N0sG2dqJG8a1
yxhxxIjovisey6F09cOyZljAhpJ6Qeqd7GHr7HFCPTDWrYDIb8QpiRrgNFvBtIQ=
click//button[@type='button']
waitForElementNotPresentcss=div.ui-dialog
waitForVisible//div[@id='service']//span[@name='certificate_status']//div[@name='certificate-valid']
click//div[@id='service']//span[@name='certificate_status']//div[@name='certificate-valid']//a[@title='Get']
waitForElementPresentcss=div.ui-dialog
click//button[@type='button']
waitForElementNotPresentcss=div.ui-dialog
pause1000
clicklink=View
waitForElementPresentcss=div.ui-dialog
click//button[@type='button']
waitForElementNotPresentcss=div.ui-dialog
+ + diff --git a/install/ui/test/functional/service-del.html b/install/ui/test/functional/service-del.html new file mode 100644 index 000000000..da68b89b9 --- /dev/null +++ b/install/ui/test/functional/service-del.html @@ -0,0 +1,47 @@ + + + + + + +Delete Service + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Delete Service
open/ipa/ui/#navigation=0&identity=5
waitForElementPresent//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']
clicklink=Delete
click//button[@type='button']
waitForElementNotPresent//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 new file mode 100644 index 000000000..f704b5d9e --- /dev/null +++ b/install/ui/test/functional/service-find.html @@ -0,0 +1,57 @@ + + + + + + +Search Service + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Search Service
open/ipa/ui/#navigation=0&identity=5
waitForElementPresent//div[@id='service']/span[@name='search']//input[@value='testservice/test.example.com@IDM.LAB.BOS.REDHAT.COM']
typesearch-service-filtertest
clicklink=Find
waitForTextPresent1 service matched
typesearch-service-filter
clicklink=Find
waitForTextPresent5 services matched
+ + diff --git a/install/ui/test/functional/service-mod.html b/install/ui/test/functional/service-mod.html new file mode 100644 index 000000000..f6a98c93d --- /dev/null +++ b/install/ui/test/functional/service-mod.html @@ -0,0 +1,37 @@ + + + + + + +Edit Service + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Edit Service
open/ipa/ui/#navigation=0&identity=5
waitForElementPresent//div[@id='service']/span[@name='search']//input[@value='testservice/test.example.com@IDM.LAB.BOS.REDHAT.COM']
clicklink=testservice/test.example.com@IDM.LAB.BOS.REDHAT.COM
waitForTextPresenttestservice/test.example.com@IDM.LAB.BOS.REDHAT.COM:
+ + diff --git a/install/ui/test/functional/service-suite.html b/install/ui/test/functional/service-suite.html new file mode 100644 index 000000000..bf7d817f9 --- /dev/null +++ b/install/ui/test/functional/service-suite.html @@ -0,0 +1,20 @@ + + + + + + Test Suite + + + + + + + + + + + +
Test Suite
Add Host
Add Service
Search Service
Edit Service
Service Certificate
Delete Service
Delete Host
+ + diff --git a/install/ui/test/functional/sudocmd-add.html b/install/ui/test/functional/sudocmd-add.html new file mode 100644 index 000000000..b47f14566 --- /dev/null +++ b/install/ui/test/functional/sudocmd-add.html @@ -0,0 +1,51 @@ + + + + + + +Add Sudo Command + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Add Sudo Command
open/ipa/ui/#navigation=1&policy=2&sudorule-entity=sudocmd
waitForTextPresent0 sudo command matched
click//div[@id='sudorule']//div[@class='action-panel']//a[@title='Add']
typesudocmdtestsudocmd
typedescriptionTest Sudo Command
click//button[@type='button']
waitForElementPresent//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 new file mode 100644 index 000000000..2d41ee845 --- /dev/null +++ b/install/ui/test/functional/sudocmd-del.html @@ -0,0 +1,46 @@ + + + + + + +Delete Sudo Command + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Delete Sudo Command
open/ipa/ui/#navigation=1&policy=2&sudorule-entity=sudocmd
waitForElementPresent//div[@id='sudorule']//span[@name='search']//input[@value='testsudocmd']
click//div[@id='sudorule']//span[@name='search']//input[@value='testsudocmd']
click//div[@id='sudorule']//div[@class='action-panel']//a[@title='Delete']
click//button[@type='button']
waitForElementNotPresent//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 new file mode 100644 index 000000000..358e34bdc --- /dev/null +++ b/install/ui/test/functional/sudocmd-find.html @@ -0,0 +1,72 @@ + + + + + + +Search Sudo Command + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Search Sudo Command
open/ipa/ui/#navigation=1&policy=2&sudorule-entity=sudocmd
waitForElementPresent//div[@id='sudorule']//span[@name='search']//input[@value='testsudocmd']
typesearch-sudocmd-filtertest
clicklink=Find
waitForElementPresent//div[@id='sudorule']//span[@name='search']//input[@value='testsudocmd']
typesearch-sudocmd-filterxxx
clicklink=Find
waitForElementNotPresent//div[@id='sudorule']//span[@name='search']//input[@value='testsudocmd']
typesearch-sudocmd-filter
click//div[@id='sudorule']/span/div[1]/span[1]/a/span
waitForElementPresent//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 new file mode 100644 index 000000000..db0c91033 --- /dev/null +++ b/install/ui/test/functional/sudocmd-membership.html @@ -0,0 +1,87 @@ + + + + + + +Sudo Command Membership + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Sudo Command Membership
open/ipa/ui/#navigation=1&policy=2&sudorule-entity=sudocmd
waitForElementPresent//div[@id='sudorule']//span[@name='search']//input[@value='testsudocmd']
clicklink=testsudocmd
waitForTextPresenttestsudocmd:
clicklink=Add
waitForElementPresent//div[@name='available']//input[@value='testsudocmdgroup']
click//div[@name='available']//input[@value='testsudocmdgroup']
clicklink=>>
click//button[@type='button']
waitForElementPresent//div[@id='sudorule']//span[@name='memberof_sudocmdgroup']//input[@value='testsudocmdgroup']
click//div[@id='sudorule']//span[@name='memberof_sudocmdgroup']//input[@value='testsudocmdgroup']
clicklink=Delete
click//button[@type='button']
waitForElementNotPresent//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 new file mode 100644 index 000000000..69d4a9533 --- /dev/null +++ b/install/ui/test/functional/sudocmd-mod.html @@ -0,0 +1,77 @@ + + + + + + +Edit Sudo Command + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Edit Sudo Command
open/ipa/ui/#navigation=1&policy=2&sudorule-entity=sudocmd
waitForElementPresent//div[@id='sudorule']//span[@name='search']//input[@value='testsudocmd']
clicklink=testsudocmd
waitForTextPresenttestsudocmd:
typedescription
typeKeysdescriptionxxx
clicklink=Update
waitForTextNotPresentundo
typedescription
typeKeysdescriptionTest Sudo Command
clicklink=Update
waitForTextNotPresentundo
+ + diff --git a/install/ui/test/functional/sudocmd-suite.html b/install/ui/test/functional/sudocmd-suite.html new file mode 100644 index 000000000..560171fc1 --- /dev/null +++ b/install/ui/test/functional/sudocmd-suite.html @@ -0,0 +1,20 @@ + + + + + + Test Suite + + + + + + + + + + + +
Test Suite
Add Sudo Command
Search Sudo Command
Edit Sudo Command
Add Sudo Command Group
Sudo Command Membership
Delete Sudo Command Group
Delete Sudo Command
+ + diff --git a/install/ui/test/functional/sudocmdgroup-add.html b/install/ui/test/functional/sudocmdgroup-add.html new file mode 100644 index 000000000..e467de096 --- /dev/null +++ b/install/ui/test/functional/sudocmdgroup-add.html @@ -0,0 +1,51 @@ + + + + + + +Add Sudo Command Group + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Add Sudo Command Group
open/ipa/ui/#navigation=1&policy=2&sudorule-entity=sudocmdgroup
waitForTextPresent0 sudo command groups matched
click//div[@id='sudorule']//div[@class='action-panel']//a[@title='Add']
typecntestsudocmdgroup
typedescriptionTest Sudo Command Group
click//button[@type='button']
waitForElementPresent//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 new file mode 100644 index 000000000..b74ea6468 --- /dev/null +++ b/install/ui/test/functional/sudocmdgroup-del.html @@ -0,0 +1,46 @@ + + + + + + +Delete Sudo Command Group + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Delete Sudo Command Group
open/ipa/ui/#navigation=1&policy=2&sudorule-entity=sudocmdgroup
waitForElementPresent//div[@id='sudorule']//span[@name='search']//input[@value='testsudocmdgroup']
click//div[@id='sudorule']//span[@name='search']//input[@value='testsudocmdgroup']
click//div[@id='sudorule']//div[@class='action-panel']//a[@title='Delete']
click//button[@type='button']
waitForElementNotPresent//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 new file mode 100644 index 000000000..585d2af38 --- /dev/null +++ b/install/ui/test/functional/sudocmdgroup-find.html @@ -0,0 +1,72 @@ + + + + + + +Search Sudo Command Group + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Search Sudo Command Group
open/ipa/ui/#navigation=1&policy=2&sudorule-entity=sudocmdgroup
waitForElementPresent//div[@id='sudorule']//span[@name='search']//input[@value='testsudocmdgroup']
typesearch-sudocmdgroup-filtertest
clicklink=Find
waitForElementPresent//div[@id='sudorule']//span[@name='search']//input[@value='testsudocmdgroup']
typesearch-sudocmdgroup-filterxxx
clicklink=Find
waitForElementNotPresent//div[@id='sudorule']//span[@name='search']//input[@value='testsudocmdgroup']
typesearch-sudocmdgroup-filter
clicklink=Find
waitForElementPresent//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 new file mode 100644 index 000000000..38115813d --- /dev/null +++ b/install/ui/test/functional/sudocmdgroup-member.html @@ -0,0 +1,87 @@ + + + + + + +Sudo Command Group Member + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Sudo Command Group Member
open/ipa/ui/#navigation=1&policy=2&sudorule-entity=sudocmdgroup
waitForElementPresent//div[@id='sudorule']//span[@name='search']//input[@value='testsudocmdgroup']
clicklink=testsudocmdgroup
waitForTextPresenttestsudocmdgroup:
clicklink=Add
waitForElementPresent//div[@name='available']//input[@value='testsudocmd']
click//div[@name='available']//input[@value='testsudocmd']
clicklink=>>
click//button[@type='button']
waitForElementPresent//div[@id='sudorule']//span[@name='member_sudocmd']//input[@value='testsudocmd']
click//div[@id='sudorule']//span[@name='member_sudocmd']//input[@value='testsudocmd']
clicklink=Delete
click//button[@type='button']
waitForElementNotPresent//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 new file mode 100644 index 000000000..c4d87a1c7 --- /dev/null +++ b/install/ui/test/functional/sudocmdgroup-mod.html @@ -0,0 +1,77 @@ + + + + + + +Edit Sudo Command Group + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Edit Sudo Command Group
open/ipa/ui/#navigation=1&policy=2&sudorule-entity=sudocmdgroup
waitForElementPresent//div[@id='sudorule']//span[@name='search']//input[@value='testsudocmdgroup']
clicklink=testsudocmdgroup
waitForTextPresenttestsudocmdgroup:
typedescription
typeKeysdescriptionxxx
clicklink=Update
waitForTextNotPresentundo
typedescription
typeKeysdescriptionTest Sudo Command Group
clicklink=Update
waitForTextNotPresentundo
+ + diff --git a/install/ui/test/functional/sudocmdgroup-suite.html b/install/ui/test/functional/sudocmdgroup-suite.html new file mode 100644 index 000000000..846162356 --- /dev/null +++ b/install/ui/test/functional/sudocmdgroup-suite.html @@ -0,0 +1,20 @@ + + + + + + Test Suite + + + + + + + + + + + +
Test Suite
Add Sudo Command Group
Search Sudo Command Group
Edit Sudo Command Group
Add Sudo Command
Sudo Command Group Member
Delete Sudo Command
Delete Sudo Command Group
+ + diff --git a/install/ui/test/functional/sudorule-activation.html b/install/ui/test/functional/sudorule-activation.html new file mode 100644 index 000000000..e5ecc423a --- /dev/null +++ b/install/ui/test/functional/sudorule-activation.html @@ -0,0 +1,67 @@ + + + + + + +Sudo Rule Activation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Sudo Rule Activation
open/ipa/ui/#navigation=1&policy=2
waitForElementPresent//div[@id='sudorule']//span[@name='search']//input[@value='testsudorule']
clicklink=testsudorule
waitForTextPresenttestsudorule:
click//input[@name='ipaenabledflag' and @value='FALSE']
clicklink=Update
waitForTextNotPresentundo
clickipaenabledflag
clicklink=Update
waitForTextNotPresentundo
+ + diff --git a/install/ui/test/functional/sudorule-add.html b/install/ui/test/functional/sudorule-add.html new file mode 100644 index 000000000..4770d7de5 --- /dev/null +++ b/install/ui/test/functional/sudorule-add.html @@ -0,0 +1,52 @@ + + + + + + +Add Sudo Rule + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Add Sudo Rule
open/ipa/ui/#navigation=1&policy=2
waitForNotVisible//span[@id='header-network-activity-indicator']
click//div[@id='sudorule']/div[@class='action-panel']//a[@title='Add']
typecntestsudorule
click//button[@type='button']
waitForNotVisible//span[@id='header-network-activity-indicator']
waitForElementPresent//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 new file mode 100644 index 000000000..b1bf71975 --- /dev/null +++ b/install/ui/test/functional/sudorule-allow-command.html @@ -0,0 +1,87 @@ + + + + + + +Sudo Rule Allow Command + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Sudo Rule Allow Command
open/ipa/ui/#navigation=1&policy=2
waitForElementPresent//div[@id='sudorule']//span[@name='search']//input[@value='testsudorule']
clicklink=testsudorule
waitForTextPresenttestsudorule:
click//div[@id='sudorule']//span[@name='cmdcategory']//span[@name='memberallowcmd_sudocmd']//a[@title='Add']
waitForElementPresent//div[@name='available']//input[@value='testsudocmd']
click//div[@name='available']//input[@value='testsudocmd']
clicklink=>>
click//button[@type='button']
waitForElementPresent//div[@id='sudorule']//span[@name='cmdcategory']//span[@name='memberallowcmd_sudocmd']//input[@value='testsudocmd']
click//div[@id='sudorule']//span[@name='cmdcategory']//span[@name='memberallowcmd_sudocmd']//input[@value='testsudocmd']
click//div[@id='sudorule']//span[@name='cmdcategory']//span[@name='memberallowcmd_sudocmd']//a[@title='Delete']
click//button[@type='button']
waitForElementNotPresent//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 new file mode 100644 index 000000000..fff437bc0 --- /dev/null +++ b/install/ui/test/functional/sudorule-del.html @@ -0,0 +1,56 @@ + + + + + + +Delete Sudo Rule + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Delete Sudo Rule
open/ipa/ui/#navigation=1&policy=2
waitForNotVisible//span[@id='header-network-activity-indicator']
waitForElementPresent//div[@id='sudorule']//span[@name='search']//input[@value='testsudorule']
click//div[@id='sudorule']//span[@name='search']//input[@value='testsudorule']
click//div[@id='sudorule']/div[@class='action-panel']//a[@title='Delete']
click//button[@type='button']
waitForNotVisible//span[@id='header-network-activity-indicator']
waitForElementNotPresent//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 new file mode 100644 index 000000000..20d8db88f --- /dev/null +++ b/install/ui/test/functional/sudorule-find.html @@ -0,0 +1,77 @@ + + + + + + +Search Sudo Rule + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Search Sudo Rule
open/ipa/ui/#navigation=1&policy=2
waitForNotVisible//span[@id='header-network-activity-indicator']
waitForElementPresent//div[@id='sudorule']//span[@name='search']//input[@value='testsudorule']
typesearch-sudorule-filtertest
click//div[@id='sudorule']/span/div[1]/span[1]/a/span
waitForElementPresent//div[@id='sudorule']//span[@name='search']//input[@value='testsudorule']
typesearch-sudorule-filterxxx
click//div[@id='sudorule']/span/div[1]/span[1]/a/span
waitForElementNotPresent//div[@id='sudorule']//span[@name='search']//input[@value='testsudorule']
typesearch-sudorule-filter
click//div[@id='sudorule']/span/div[1]/span[1]/a/span
waitForElementPresent//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 new file mode 100644 index 000000000..8b552d6a3 --- /dev/null +++ b/install/ui/test/functional/sudorule-host.html @@ -0,0 +1,86 @@ + + + + + + +Sudo Rule Host + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Sudo Rule Host
open/ipa/ui/#navigation=1&policy=2
waitForElementPresent//div[@id='sudorule']//span[@name='search']//input[@value='testsudorule']
clicklink=testsudorule
waitForTextPresenttestsudorule:
click//div[@id='sudorule']//span[@name='hostcategory']//span[@name='memberhost_host']//a[@title='Add']
waitForElementPresent//div[@name='available']//input[@value='test.example.com']
click//div[@name='available']//input[@value='test.example.com']
clicklink=>>
click//button[@type='button']
waitForElementPresent//div[@id='sudorule']//span[@name='hostcategory']//span[@name='memberhost_host']//input[@value='test.example.com']
click//div[@id='sudorule']//span[@name='hostcategory']//span[@name='memberhost_host']//input[@value='test.example.com']
click//div[@id='sudorule']//span[@name='hostcategory']//span[@name='memberhost_host']//a[@title='Delete']
click//button[@type='button']
waitForElementNotPresent//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 new file mode 100644 index 000000000..1e869edaf --- /dev/null +++ b/install/ui/test/functional/sudorule-mod.html @@ -0,0 +1,77 @@ + + + + + + +Edit Sudo Rule + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Edit Sudo Rule
open/ipa/ui/#navigation=1&policy=2
waitForElementPresent//div[@id='sudorule']//span[@name='search']//input[@value='testsudorule']
clicklink=testsudorule
waitForTextPresenttestsudorule:
typedescription
typeKeysdescriptionTest Sudo Rule
clicklink=Update
waitForTextNotPresentundo
typeKeysdescriptionxxx
typedescription
clicklink=Update
waitForTextNotPresentundo
+ + diff --git a/install/ui/test/functional/sudorule-runasuser.html b/install/ui/test/functional/sudorule-runasuser.html new file mode 100644 index 000000000..d78a9fcb2 --- /dev/null +++ b/install/ui/test/functional/sudorule-runasuser.html @@ -0,0 +1,86 @@ + + + + + + +Sudo Rule Run-As User + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Sudo Rule Run-As User
open/ipa/ui/#navigation=1&policy=2
waitForElementPresent//div[@id='sudorule']//span[@name='search']//input[@value='testsudorule']
clicklink=testsudorule
waitForTextPresenttestsudorule:
click//div[@id='sudorule']//span[@name='ipasudorunasusercategory']//span[@name='ipasudorunas_user']//a[@title='Add']
waitForElementPresent//div[@name='available']//input[@value='testuser']
click//div[@name='available']//input[@value='testuser']
clicklink=>>
click//button[@type='button']
waitForElementPresent//div[@id='sudorule']//span[@name='ipasudorunasusercategory']//span[@name='ipasudorunas_user']//input[@value='testuser']
click//div[@id='sudorule']//span[@name='ipasudorunasusercategory']//span[@name='ipasudorunas_user']//input[@value='testuser']
click//div[@id='sudorule']//span[@name='ipasudorunasusercategory']//span[@name='ipasudorunas_user']//a[@title='Delete']
click//button[@type='button']
waitForElementNotPresent//div[@id='sudorule']//span[@name='ipasudorunasusercategory']//span[@name='ipasudorunas_user']//input[@value='testuser']
+ + diff --git a/install/ui/test/functional/sudorule-suite.html b/install/ui/test/functional/sudorule-suite.html new file mode 100644 index 000000000..fa326eb14 --- /dev/null +++ b/install/ui/test/functional/sudorule-suite.html @@ -0,0 +1,28 @@ + + + + + + Test Suite + + + + + + + + + + + + + + + + + + + +
Test Suite
Add User
Add Host
Add Sudo Command
Add Sudo Rule
Search Sudo Rule
Edit Sudo Rule
Sudo Rule Activation
Sudo Rule User
Sudo Rule Host
Sudo Rule Allow Command
Sudo Rule Run-As User
Delete Sudo Rule
Delete Sudo Command
Delete Host
Delete User
+ + diff --git a/install/ui/test/functional/sudorule-user.html b/install/ui/test/functional/sudorule-user.html new file mode 100644 index 000000000..5846b293c --- /dev/null +++ b/install/ui/test/functional/sudorule-user.html @@ -0,0 +1,86 @@ + + + + + + +Sudo Rule User + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Sudo Rule User
open/ipa/ui/#navigation=1&policy=2
waitForElementPresent//div[@id='sudorule']//span[@name='search']//input[@value='testsudorule']
clicklink=testsudorule
waitForTextPresenttestsudorule:
click//div[@id='sudorule']//span[@name='usercategory']//span[@name='memberuser_user']//a[@title='Add']
waitForElementPresent//div[@name='available']//input[@value='testuser']
click//div[@name='available']//input[@value='testuser']
clicklink=>>
click//button[@type='button']
waitForElementPresent//div[@id='sudorule']//span[@name='usercategory']//span[@name='memberuser_user']//input[@value='testuser']
click//div[@id='sudorule']//span[@name='usercategory']//span[@name='memberuser_user']//input[@value='testuser']
click//div[@id='sudorule']//span[@name='usercategory']//span[@name='memberuser_user']//a[@title='Delete']
click//button[@type='button']
waitForElementNotPresent//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 new file mode 100644 index 000000000..6110311fb --- /dev/null +++ b/install/ui/test/functional/user-activation.html @@ -0,0 +1,81 @@ + + + + + + +Activate User + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Activate User
open/ipa/ui/#navigation=0&identity=0
waitForTextPresent2 users matched
clicklink=testuser
waitForElementPresentcss=span[name=nsaccountlock] a
verifyTextcss=span[name=nsaccountlock] aregexp:Active:.*
clickuserstatuslink
waitForElementPresentcss=span[name=nsaccountlock] a[title=Inactive]
verifyTextcss=span[name=nsaccountlock] aregexp:Inactive:.*
clickuserstatuslink
waitForElementPresentcss=span[name=nsaccountlock] a[title=Active]
verifyTextcss=span[name=nsaccountlock] aregexp:Active:.*
click//div[@id='user']/div[1]/ul/li[1]/span
waitForTextPresent2 users matched
+ + diff --git a/install/ui/test/functional/user-add.html b/install/ui/test/functional/user-add.html new file mode 100644 index 000000000..d5a226797 --- /dev/null +++ b/install/ui/test/functional/user-add.html @@ -0,0 +1,56 @@ + + + + + + +Add user + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Add user
open/ipa/ui/#navigation=0&identity=0
waitForTextPresent1 user matched
clicklink=Add
typeKeysuidtestuser
typeKeysgivennameTest
typeKeyssnUser
click//button[@type='button']
waitForElementPresent//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 new file mode 100644 index 000000000..3d1267604 --- /dev/null +++ b/install/ui/test/functional/user-del.html @@ -0,0 +1,46 @@ + + + + + + +Delete User + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Delete User
open/ipa/ui/#navigation=0&identity=0
waitForTextPresent2 users matched
click//input[@name='select' and @value='testuser']
clicklink=Delete
click//button[@type='button']
waitForTextPresent1 user matched
+ + diff --git a/install/ui/test/functional/user-find.html b/install/ui/test/functional/user-find.html new file mode 100644 index 000000000..8d4b588a8 --- /dev/null +++ b/install/ui/test/functional/user-find.html @@ -0,0 +1,56 @@ + + + + + + +View Users + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
View Users
open/ipa/ui/#navigation=0&identity=0
waitForTextPresent2 users matched
typesearch-user-filtertestuser
click//div[@id='user']/span/div[1]/span[1]/a/span
waitForTextPresent1 user matched
typesearch-user-filter
click//div[@id='user']/span/div[1]/span[1]/a/span
waitForTextPresent2 users matched
+ + diff --git a/install/ui/test/functional/user-mod.html b/install/ui/test/functional/user-mod.html new file mode 100644 index 000000000..25643615f --- /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
+ + diff --git a/install/ui/test/functional/user-password-reset.html b/install/ui/test/functional/user-password-reset.html new file mode 100644 index 000000000..4ca6891a9 --- /dev/null +++ b/install/ui/test/functional/user-password-reset.html @@ -0,0 +1,76 @@ + + + + + + +Password Reset + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Password Reset
open/ipa/ui/#navigation=0&identity=0
waitForTextPresent2 users matched
clicklink=testuser
waitForElementPresentcss=span[name=userpassword] a[title=userpassword]
clicklink=Reset Password
type//input[@type='password']Secret123
type//dd[2]/inputSecret123
clickxpath=/html/body/div[3]//button[1]
waitForElementNotPresentxpath=/html/body/div[3]
waitForAlertPassword change complete
click//div[@id='user']/div[1]/ul/li[1]/span
waitForTextPresent2 users matched
+ + diff --git a/install/ui/test/functional/user-suite.html b/install/ui/test/functional/user-suite.html new file mode 100644 index 000000000..0767088f4 --- /dev/null +++ b/install/ui/test/functional/user-suite.html @@ -0,0 +1,19 @@ + + + + + + Test Suite + + + + + + + + + + +
Test Suite
Add User
Search User
Edit User
User Activation
Password Reset
Delete User
+ + -- cgit