From c0a233179065089afdd8a3561d00bf5e18a54e38 Mon Sep 17 00:00:00 2001 From: "Endi S. Dewata" Date: Wed, 16 Mar 2011 16:36:44 -0400 Subject: Added HBAC service group test cases. --- install/ui/test/functional/hbacsvc-add.html | 1 - install/ui/test/functional/hbacsvc-del.html | 1 - .../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 ++++++ 9 files changed, 398 insertions(+), 2 deletions(-) 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 diff --git a/install/ui/test/functional/hbacsvc-add.html b/install/ui/test/functional/hbacsvc-add.html index b6379bc1..b9a1d890 100644 --- a/install/ui/test/functional/hbacsvc-add.html +++ b/install/ui/test/functional/hbacsvc-add.html @@ -46,7 +46,6 @@ //div[@id='hbacrule']//span[@name='search']//input[@value='testhbacsvc'] - diff --git a/install/ui/test/functional/hbacsvc-del.html b/install/ui/test/functional/hbacsvc-del.html index 89135ee9..030aa972 100644 --- a/install/ui/test/functional/hbacsvc-del.html +++ b/install/ui/test/functional/hbacsvc-del.html @@ -41,7 +41,6 @@ //div[@id='hbacrule']//span[@name='search']//input[@value='testhbacsvc'] - 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 00000000..9574d396 --- /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 00000000..71c84df6 --- /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 00000000..3027ca39 --- /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 00000000..2203d142 --- /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 00000000..68561404 --- /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 00000000..4fc73123 --- /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 00000000..2b976396 --- /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
+ + -- cgit