From 9dfd0a18bb42c962b74fd30d9366dee358078d8d Mon Sep 17 00:00:00 2001 From: "Endi S. Dewata" Date: Tue, 10 May 2011 20:48:16 -0400 Subject: Added Self-Service and Delegation tests. --- install/ui/test/functional/delegation-add.html | 81 +++++++++++++++++ install/ui/test/functional/delegation-del.html | 56 ++++++++++++ install/ui/test/functional/delegation-find.html | 92 +++++++++++++++++++ install/ui/test/functional/delegation-mod.html | 102 ++++++++++++++++++++++ install/ui/test/functional/delegation-suite.html | 17 ++++ install/ui/test/functional/selfservice-add.html | 66 ++++++++++++++ install/ui/test/functional/selfservice-del.html | 57 ++++++++++++ install/ui/test/functional/selfservice-find.html | 92 +++++++++++++++++++ install/ui/test/functional/selfservice-mod.html | 102 ++++++++++++++++++++++ install/ui/test/functional/selfservice-suite.html | 17 ++++ 10 files changed, 682 insertions(+) create mode 100644 install/ui/test/functional/delegation-add.html create mode 100644 install/ui/test/functional/delegation-del.html create mode 100644 install/ui/test/functional/delegation-find.html create mode 100644 install/ui/test/functional/delegation-mod.html create mode 100644 install/ui/test/functional/delegation-suite.html create mode 100644 install/ui/test/functional/selfservice-add.html create mode 100644 install/ui/test/functional/selfservice-del.html create mode 100644 install/ui/test/functional/selfservice-find.html create mode 100644 install/ui/test/functional/selfservice-mod.html create mode 100644 install/ui/test/functional/selfservice-suite.html (limited to 'install/ui/test') diff --git a/install/ui/test/functional/delegation-add.html b/install/ui/test/functional/delegation-add.html new file mode 100644 index 000000000..b13ec158d --- /dev/null +++ b/install/ui/test/functional/delegation-add.html @@ -0,0 +1,81 @@ + + + + + + +Add Delegation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Add Delegation
open/ipa/ui/#navigation=ipaserver&ipaserver=delegation
waitForNotVisible//span[@id='header-network-activity-indicator']
verifyElementNotPresentcss=.entity[name='delegation'] .facet[name='search'] input[value='testdelegation']
clicklink=Add
waitForNotVisible//span[@id='header-network-activity-indicator']
typeacinametestdelegation
selectgroup-entity-selectlabel=editors
selectmemberof-entity-selectlabel=ipausers
click//input[@name='attrs' and @value='cn']
click//input[@name='attrs' and @value='description']
click//button[@type='button']
waitForNotVisible//span[@id='header-network-activity-indicator']
verifyElementPresentcss=.entity[name='delegation'] .facet[name='search'] input[value='testdelegation']
+ + diff --git a/install/ui/test/functional/delegation-del.html b/install/ui/test/functional/delegation-del.html new file mode 100644 index 000000000..2c3cdbca6 --- /dev/null +++ b/install/ui/test/functional/delegation-del.html @@ -0,0 +1,56 @@ + + + + + + +Delete Delegation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Delete Delegation
open/ipa/ui/#navigation=ipaserver&ipaserver=delegation
waitForNotVisible//span[@id='header-network-activity-indicator']
verifyElementPresentcss=.entity[name='delegation'] .facet[name='search'] input[value='testdelegation']
clickcss=.entity[name='delegation'] .facet[name='search'] input[value='testdelegation']
clicklink=Delete
click//button[@type='button']
waitForNotVisible//span[@id='header-network-activity-indicator']
verifyElementNotPresentcss=.entity[name='delegation'] .facet[name='search'] input[value='testdelegation']
+ + diff --git a/install/ui/test/functional/delegation-find.html b/install/ui/test/functional/delegation-find.html new file mode 100644 index 000000000..a7d78baef --- /dev/null +++ b/install/ui/test/functional/delegation-find.html @@ -0,0 +1,92 @@ + + + + + + +Search Delegation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Search Delegation
open/ipa/ui/#navigation=ipaserver&ipaserver=delegation
waitForNotVisible//span[@id='header-network-activity-indicator']
verifyElementPresentcss=.entity[name='delegation'] .facet[name='search'] input[value='testdelegation']
typefiltertest
clicklink=Find
waitForNotVisible//span[@id='header-network-activity-indicator']
verifyElementPresentcss=.entity[name='delegation'] .facet[name='search'] input[value='testdelegation']
typefilterxxx
clicklink=Find
waitForNotVisible//span[@id='header-network-activity-indicator']
verifyElementNotPresentcss=.entity[name='delegation'] .facet[name='search'] input[value='testdelegation']
typefilter
clicklink=Find
waitForNotVisible//span[@id='header-network-activity-indicator']
verifyElementPresentcss=.entity[name='delegation'] .facet[name='search'] input[value='testdelegation']
+ + diff --git a/install/ui/test/functional/delegation-mod.html b/install/ui/test/functional/delegation-mod.html new file mode 100644 index 000000000..dd85c25f7 --- /dev/null +++ b/install/ui/test/functional/delegation-mod.html @@ -0,0 +1,102 @@ + + + + + + +Edit Delegation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Edit Delegation
open/ipa/ui/#navigation=ipaserver&ipaserver=delegation
waitForNotVisible//span[@id='header-network-activity-indicator']
verifyElementPresentcss=.entity[name='delegation'] .facet[name='search'] input[value='testdelegation']
clicklink=testdelegation
waitForNotVisible//span[@id='header-network-activity-indicator']
click//input[@name='attrs' and @value='displayname']
click//input[@name='attrs' and @value='description']
verifyTextPresentundo
clicklink=Update
waitForNotVisible//span[@id='header-network-activity-indicator']
verifyTextNotPresentundo
click//input[@name='attrs' and @value='description']
click//input[@name='attrs' and @value='displayname']
verifyTextPresentundo
clicklink=Update
waitForNotVisible//span[@id='header-network-activity-indicator']
verifyTextNotPresentundo
+ + diff --git a/install/ui/test/functional/delegation-suite.html b/install/ui/test/functional/delegation-suite.html new file mode 100644 index 000000000..d75bcbe64 --- /dev/null +++ b/install/ui/test/functional/delegation-suite.html @@ -0,0 +1,17 @@ + + + + + + Test Suite + + + + + + + + +
Test Suite
Add Delegation
Search Delegation
Edit Delegation
Delete Delegation
+ + diff --git a/install/ui/test/functional/selfservice-add.html b/install/ui/test/functional/selfservice-add.html new file mode 100644 index 000000000..cbaefa794 --- /dev/null +++ b/install/ui/test/functional/selfservice-add.html @@ -0,0 +1,66 @@ + + + + + + +Add Self-Service Permission + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Add Self-Service Permission
open/ipa/ui/#navigation=ipaserver&ipaserver=selfservice
waitForNotVisible//span[@id='header-network-activity-indicator']
verifyElementNotPresentcss=.entity[name='selfservice'] .facet[name='search'] input[value='testselfservicepermission']
clicklink=Add
typeacinametestselfservicepermission
click//input[@name='attrs' and @value='cn']
click//input[@name='attrs' and @value='description']
click//button[@type='button']
waitForNotVisible//span[@id='header-network-activity-indicator']
verifyElementPresentcss=.entity[name='selfservice'] .facet[name='search'] input[value='testselfservicepermission']
+ + diff --git a/install/ui/test/functional/selfservice-del.html b/install/ui/test/functional/selfservice-del.html new file mode 100644 index 000000000..c67126fc7 --- /dev/null +++ b/install/ui/test/functional/selfservice-del.html @@ -0,0 +1,57 @@ + + + + + + +Delete Self-Service Permission + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Delete Self-Service Permission
open/ipa/ui/#navigation=ipaserver&ipaserver=selfservice
waitForNotVisible//span[@id='header-network-activity-indicator']
verifyElementPresentcss=.entity[name='selfservice'] .facet[name='search'] input[value='testselfservicepermission']
clickcss=.entity[name='selfservice'] .facet[name='search'] input[value='testselfservicepermission']
clicklink=Delete
click//button[@type='button']
waitForNotVisible//span[@id='header-network-activity-indicator']
verifyElementNotPresentcss=.entity[name='selfservice'] .facet[name='search'] input[value='testselfservicepermission']
+ + diff --git a/install/ui/test/functional/selfservice-find.html b/install/ui/test/functional/selfservice-find.html new file mode 100644 index 000000000..bd3b9dd0e --- /dev/null +++ b/install/ui/test/functional/selfservice-find.html @@ -0,0 +1,92 @@ + + + + + + +Search Self-Service Permission + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Search Self-Service Permission
open/ipa/ui/#navigation=ipaserver&ipaserver=selfservice
waitForNotVisible//span[@id='header-network-activity-indicator']
verifyElementPresentcss=.entity[name='selfservice'] .facet[name='search'] input[value='testselfservicepermission']
typefiltertest
clicklink=Find
waitForNotVisible//span[@id='header-network-activity-indicator']
verifyElementPresentcss=.entity[name='selfservice'] .facet[name='search'] input[value='testselfservicepermission']
typefilterxxx
clicklink=Find
waitForNotVisible//span[@id='header-network-activity-indicator']
verifyElementNotPresentcss=.entity[name='selfservice'] .facet[name='search'] input[value='testselfservicepermission']
typefilter
clicklink=Find
waitForNotVisible//span[@id='header-network-activity-indicator']
verifyElementPresentcss=.entity[name='selfservice'] .facet[name='search'] input[value='testselfservicepermission']
+ + diff --git a/install/ui/test/functional/selfservice-mod.html b/install/ui/test/functional/selfservice-mod.html new file mode 100644 index 000000000..2e294a302 --- /dev/null +++ b/install/ui/test/functional/selfservice-mod.html @@ -0,0 +1,102 @@ + + + + + + +Edit Self-Service Permission + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Edit Self-Service Permission
open/ipa/ui/#navigation=ipaserver&ipaserver=selfservice
waitForNotVisible//span[@id='header-network-activity-indicator']
verifyElementPresentcss=.entity[name='selfservice'] .facet[name='search'] input[value='testselfservicepermission']
clicklink=testselfservicepermission
waitForNotVisible//span[@id='header-network-activity-indicator']
click//input[@name='attrs' and @value='description']
click//input[@name='attrs' and @value='displayname']
verifyTextPresentundo
clicklink=Update
waitForNotVisible//span[@id='header-network-activity-indicator']
verifyTextNotPresentundo
click//input[@name='attrs' and @value='description']
click//input[@name='attrs' and @value='displayname']
verifyTextPresentundo
clicklink=Update
waitForNotVisible//span[@id='header-network-activity-indicator']
verifyTextNotPresentundo
+ + diff --git a/install/ui/test/functional/selfservice-suite.html b/install/ui/test/functional/selfservice-suite.html new file mode 100644 index 000000000..7014cd62d --- /dev/null +++ b/install/ui/test/functional/selfservice-suite.html @@ -0,0 +1,17 @@ + + + + + + Test Suite + + + + + + + + +
Test Suite
Add Self-Service Permission
Search Self-Service Permission
Edit Self-Service Permission
Delete Self-Service Permission
+ + -- cgit