diff options
-rw-r--r-- | install/ui/test/functional/hbacsvc-add.html | 1 | ||||
-rw-r--r-- | install/ui/test/functional/hbacsvc-del.html | 1 | ||||
-rw-r--r-- | install/ui/test/functional/hbacsvcgroup-add-member.html | 67 | ||||
-rw-r--r-- | install/ui/test/functional/hbacsvcgroup-add.html | 52 | ||||
-rw-r--r-- | install/ui/test/functional/hbacsvcgroup-del.html | 47 | ||||
-rw-r--r-- | install/ui/test/functional/hbacsvcgroup-find.html | 72 | ||||
-rw-r--r-- | install/ui/test/functional/hbacsvcgroup-mod.html | 77 | ||||
-rw-r--r-- | install/ui/test/functional/hbacsvcgroup-remove-member.html | 62 | ||||
-rw-r--r-- | install/ui/test/functional/hbacsvcgroup-suite.html | 21 |
9 files changed, 398 insertions, 2 deletions
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 @@ <td>//div[@id='hbacrule']//span[@name='search']//input[@value='testhbacsvc']</td> <td></td> </tr> - </tbody></table> </body> </html> 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 @@ <td>//div[@id='hbacrule']//span[@name='search']//input[@value='testhbacsvc']</td> <td></td> </tr> - </tbody></table> </body> </html> 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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<head profile="http://selenium-ide.openqa.org/profiles/test-case"> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> +<link rel="selenium.base" href="https://localhost/" /> +<title>Add Member HBAC Service</title> +</head> +<body> +<table cellpadding="1" cellspacing="1" border="1"> +<thead> +<tr><td rowspan="1" colspan="3">Add Member HBAC Service</td></tr> +</thead><tbody> +<tr> + <td>open</td> + <td>/ipa/ui/#navigation=1&policy=1&hbacrule-entity=hbacsvcgroup</td> + <td></td> +</tr> +<tr> + <td>waitForElementPresent</td> + <td>//div[@id='hbacrule']//span[@name='search']//input[@value='testhbacsvcgroup']</td> + <td></td> +</tr> +<tr> + <td>click</td> + <td>link=testhbacsvcgroup</td> + <td></td> +</tr> +<tr> + <td>waitForTextPresent</td> + <td>testhbacsvcgroup:</td> + <td></td> +</tr> +<tr> + <td>click</td> + <td>link=Add</td> + <td></td> +</tr> +<tr> + <td>waitForElementPresent</td> + <td>//div[@name='available']//input[@value='testhbacsvc']</td> + <td></td> +</tr> +<tr> + <td>click</td> + <td>//div[@name='available']//input[@value='testhbacsvc']</td> + <td></td> +</tr> +<tr> + <td>click</td> + <td>link=>></td> + <td></td> +</tr> +<tr> + <td>click</td> + <td>//button[@type='button']</td> + <td></td> +</tr> +<tr> + <td>waitForElementPresent</td> + <td>//div[@id='hbacrule']//span[@name='member_hbacsvc']//input[@value='testhbacsvc']</td> + <td></td> +</tr> + +</tbody></table> +</body> +</html> 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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<head profile="http://selenium-ide.openqa.org/profiles/test-case"> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> +<link rel="selenium.base" href="https://localhost/" /> +<title>Add HBAC Service Group</title> +</head> +<body> +<table cellpadding="1" cellspacing="1" border="1"> +<thead> +<tr><td rowspan="1" colspan="3">Add HBAC Service Group</td></tr> +</thead><tbody> +<tr> + <td>open</td> + <td>/ipa/ui/#navigation=1&policy=1&hbacrule-entity=hbacsvcgroup</td> + <td></td> +</tr> +<tr> + <td>waitForTextPresent</td> + <td>1 HBAC service group matched</td> + <td></td> +</tr> +<tr> + <td>click</td> + <td>//div[@id='hbacrule']//div[@class='action-panel']//a[@title='Add']</td> + <td></td> +</tr> +<tr> + <td>type</td> + <td>cn</td> + <td>testhbacsvcgroup</td> +</tr> +<tr> + <td>type</td> + <td>description</td> + <td>Test HBAC Service Group</td> +</tr> +<tr> + <td>click</td> + <td>//button[@type='button']</td> + <td></td> +</tr> +<tr> + <td>waitForElementPresent</td> + <td>//div[@id='hbacrule']//span[@name='search']//input[@value='testhbacsvcgroup']</td> + <td></td> +</tr> + +</tbody></table> +</body> +</html> 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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<head profile="http://selenium-ide.openqa.org/profiles/test-case"> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> +<link rel="selenium.base" href="https://localhost/" /> +<title>Delete HBAC Service Group</title> +</head> +<body> +<table cellpadding="1" cellspacing="1" border="1"> +<thead> +<tr><td rowspan="1" colspan="3">Delete HBAC Service Group</td></tr> +</thead><tbody> +<tr> + <td>open</td> + <td>/ipa/ui/#navigation=1&policy=1&hbacrule-entity=hbacsvcgroup</td> + <td></td> +</tr> +<tr> + <td>waitForElementPresent</td> + <td>//div[@id='hbacrule']//span[@name='search']//input[@value='testhbacsvcgroup']</td> + <td></td> +</tr> +<tr> + <td>click</td> + <td>//div[@id='hbacrule']//span[@name='search']//input[@value='testhbacsvcgroup']</td> + <td></td> +</tr> +<tr> + <td>click</td> + <td>//div[@id='hbacrule']//div[@class='action-panel']//a[@title='Delete']</td> + <td></td> +</tr> +<tr> + <td>click</td> + <td>//button[@type='button']</td> + <td></td> +</tr> +<tr> + <td>waitForElementNotPresent</td> + <td>//div[@id='hbacrule']//span[@name='search']//input[@value='testhbacsvcgroup']</td> + <td></td> +</tr> + +</tbody></table> +</body> +</html> 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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<head profile="http://selenium-ide.openqa.org/profiles/test-case"> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> +<link rel="selenium.base" href="https://localhost/" /> +<title>Search HBAC Service Group</title> +</head> +<body> +<table cellpadding="1" cellspacing="1" border="1"> +<thead> +<tr><td rowspan="1" colspan="3">Search HBAC Service Group</td></tr> +</thead><tbody> +<tr> + <td>open</td> + <td>/ipa/ui/#navigation=1&policy=1&hbacrule-entity=hbacsvcgroup</td> + <td></td> +</tr> +<tr> + <td>waitForElementPresent</td> + <td>//div[@id='hbacrule']//span[@name='search']//input[@value='testhbacsvcgroup']</td> + <td></td> +</tr> +<tr> + <td>type</td> + <td>search-hbacsvcgroup-filter</td> + <td>test</td> +</tr> +<tr> + <td>click</td> + <td>link=Find</td> + <td></td> +</tr> +<tr> + <td>waitForElementPresent</td> + <td>//div[@id='hbacrule']//span[@name='search']//input[@value='testhbacsvcgroup']</td> + <td></td> +</tr> +<tr> + <td>type</td> + <td>search-hbacsvcgroup-filter</td> + <td>xxx</td> +</tr> +<tr> + <td>click</td> + <td>link=Find</td> + <td></td> +</tr> +<tr> + <td>waitForElementNotPresent</td> + <td>//div[@id='hbacrule']//span[@name='search']//input[@value='testhbacsvcgroup']</td> + <td></td> +</tr> +<tr> + <td>type</td> + <td>search-hbacsvcgroup-filter</td> + <td></td> +</tr> +<tr> + <td>click</td> + <td>link=Find</td> + <td></td> +</tr> +<tr> + <td>waitForElementPresent</td> + <td>//div[@id='hbacrule']//span[@name='search']//input[@value='testhbacsvcgroup']</td> + <td></td> +</tr> + +</tbody></table> +</body> +</html> 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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<head profile="http://selenium-ide.openqa.org/profiles/test-case"> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> +<link rel="selenium.base" href="https://localhost/" /> +<title>Edit HBAC Service Group</title> +</head> +<body> +<table cellpadding="1" cellspacing="1" border="1"> +<thead> +<tr><td rowspan="1" colspan="3">Edit HBAC Service Group</td></tr> +</thead><tbody> +<tr> + <td>open</td> + <td>/ipa/ui/#navigation=1&policy=1&hbacrule-entity=hbacsvcgroup</td> + <td></td> +</tr> +<tr> + <td>waitForElementPresent</td> + <td>//div[@id='hbacrule']//span[@name='search']//input[@value='testhbacsvcgroup']</td> + <td></td> +</tr> +<tr> + <td>click</td> + <td>link=testhbacsvcgroup</td> + <td></td> +</tr> +<tr> + <td>waitForTextPresent</td> + <td>testhbacsvcgroup:</td> + <td></td> +</tr> +<tr> + <td>type</td> + <td>description</td> + <td></td> +</tr> +<tr> + <td>typeKeys</td> + <td>description</td> + <td>xxx</td> +</tr> +<tr> + <td>click</td> + <td>link=Update</td> + <td></td> +</tr> +<tr> + <td>waitForTextNotPresent</td> + <td>undo</td> + <td></td> +</tr> +<tr> + <td>type</td> + <td>description</td> + <td></td> +</tr> +<tr> + <td>typeKeys</td> + <td>description</td> + <td>Test HBAC Service Group</td> +</tr> +<tr> + <td>click</td> + <td>link=Update</td> + <td></td> +</tr> +<tr> + <td>waitForTextNotPresent</td> + <td>undo</td> + <td></td> +</tr> + +</tbody></table> +</body> +</html> 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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<head profile="http://selenium-ide.openqa.org/profiles/test-case"> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> +<link rel="selenium.base" href="https://localhost/" /> +<title>Delete Member HBAC Service</title> +</head> +<body> +<table cellpadding="1" cellspacing="1" border="1"> +<thead> +<tr><td rowspan="1" colspan="3">Delete Member HBAC Service</td></tr> +</thead><tbody> +<tr> + <td>open</td> + <td>/ipa/ui/#navigation=1&policy=1&hbacrule-entity=hbacsvcgroup</td> + <td></td> +</tr> +<tr> + <td>waitForElementPresent</td> + <td>//div[@id='hbacrule']//span[@name='search']//input[@value='testhbacsvcgroup']</td> + <td></td> +</tr> +<tr> + <td>click</td> + <td>link=testhbacsvcgroup</td> + <td></td> +</tr> +<tr> + <td>waitForTextPresent</td> + <td>testhbacsvcgroup:</td> + <td></td> +</tr> +<tr> + <td>waitForElementPresent</td> + <td>//div[@id='hbacrule']//span[@name='member_hbacsvc']//input[@value='testhbacsvc']</td> + <td></td> +</tr> +<tr> + <td>click</td> + <td>//div[@id='hbacrule']//span[@name='member_hbacsvc']//input[@value='testhbacsvc']</td> + <td></td> +</tr> +<tr> + <td>click</td> + <td>link=Delete</td> + <td></td> +</tr> +<tr> + <td>click</td> + <td>//button[@type='button']</td> + <td></td> +</tr> +<tr> + <td>waitForElementNotPresent</td> + <td>//div[@id='hbacrule']//span[@name='member_hbacsvc']//input[@value='testhbacsvc']</td> + <td></td> +</tr> + +</tbody></table> +</body> +</html> 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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<head> + <meta content="text/html; charset=UTF-8" http-equiv="content-type" /> + <title>Test Suite</title> +</head> +<body> +<table id="suiteTable" cellpadding="1" cellspacing="1" border="1" class="selenium"><tbody> +<tr><td><b>Test Suite</b></td></tr> +<tr><td><a href="hbacsvcgroup-add.html">Add HBAC Service Group</a></td></tr> +<tr><td><a href="hbacsvcgroup-find.html">Search HBAC Service Group</a></td></tr> +<tr><td><a href="hbacsvcgroup-mod.html">Edit HBAC Service Group</a></td></tr> +<tr><td><a href="hbacsvc-add.html">Add HBAC Service</a></td></tr> +<tr><td><a href="hbacsvcgroup-add-member.html">Add Member HBAC Service</a></td></tr> +<tr><td><a href="hbacsvcgroup-remove-member.html">Delete Member HBAC Service</a></td></tr> +<tr><td><a href="hbacsvc-del.html">Delete HBAC Service</a></td></tr> +<tr><td><a href="hbacsvcgroup-del.html">Delete HBAC Service Group</a></td></tr> +</tbody></table> +</body> +</html> |