Added Self-Service and Delegation tests.

This commit is contained in:
Endi S. Dewata
2011-05-10 20:48:16 -04:00
committed by Adam Young
parent d5469d9b75
commit 9dfd0a18bb
10 changed files with 682 additions and 0 deletions

View File

@@ -0,0 +1,81 @@
<?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 Delegation</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">Add Delegation</td></tr>
</thead><tbody>
<tr>
<td>open</td>
<td>/ipa/ui/#navigation=ipaserver&amp;ipaserver=delegation</td>
<td></td>
</tr>
<tr>
<td>waitForNotVisible</td>
<td>//span[@id='header-network-activity-indicator']</td>
<td></td>
</tr>
<tr>
<td>verifyElementNotPresent</td>
<td>css=.entity[name='delegation'] .facet[name='search'] input[value='testdelegation']</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>link=Add</td>
<td></td>
</tr>
<tr>
<td>waitForNotVisible</td>
<td>//span[@id='header-network-activity-indicator']</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>aciname</td>
<td>testdelegation</td>
</tr>
<tr>
<td>select</td>
<td>group-entity-select</td>
<td>label=editors</td>
</tr>
<tr>
<td>select</td>
<td>memberof-entity-select</td>
<td>label=ipausers</td>
</tr>
<tr>
<td>click</td>
<td>//input[@name='attrs' and @value='cn']</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>//input[@name='attrs' and @value='description']</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>//button[@type='button']</td>
<td></td>
</tr>
<tr>
<td>waitForNotVisible</td>
<td>//span[@id='header-network-activity-indicator']</td>
<td></td>
</tr>
<tr>
<td>verifyElementPresent</td>
<td>css=.entity[name='delegation'] .facet[name='search'] input[value='testdelegation']</td>
<td></td>
</tr>
</tbody></table>
</body>
</html>

View File

@@ -0,0 +1,56 @@
<?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 Delegation</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">Delete Delegation</td></tr>
</thead><tbody>
<tr>
<td>open</td>
<td>/ipa/ui/#navigation=ipaserver&amp;ipaserver=delegation</td>
<td></td>
</tr>
<tr>
<td>waitForNotVisible</td>
<td>//span[@id='header-network-activity-indicator']</td>
<td></td>
</tr>
<tr>
<td>verifyElementPresent</td>
<td>css=.entity[name='delegation'] .facet[name='search'] input[value='testdelegation']</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>css=.entity[name='delegation'] .facet[name='search'] input[value='testdelegation']</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>waitForNotVisible</td>
<td>//span[@id='header-network-activity-indicator']</td>
<td></td>
</tr>
<tr>
<td>verifyElementNotPresent</td>
<td>css=.entity[name='delegation'] .facet[name='search'] input[value='testdelegation']</td>
<td></td>
</tr>
</tbody></table>
</body>
</html>

View File

@@ -0,0 +1,92 @@
<?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 Delegation</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">Search Delegation</td></tr>
</thead><tbody>
<tr>
<td>open</td>
<td>/ipa/ui/#navigation=ipaserver&amp;ipaserver=delegation</td>
<td></td>
</tr>
<tr>
<td>waitForNotVisible</td>
<td>//span[@id='header-network-activity-indicator']</td>
<td></td>
</tr>
<tr>
<td>verifyElementPresent</td>
<td>css=.entity[name='delegation'] .facet[name='search'] input[value='testdelegation']</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>filter</td>
<td>test</td>
</tr>
<tr>
<td>click</td>
<td>link=Find</td>
<td></td>
</tr>
<tr>
<td>waitForNotVisible</td>
<td>//span[@id='header-network-activity-indicator']</td>
<td></td>
</tr>
<tr>
<td>verifyElementPresent</td>
<td>css=.entity[name='delegation'] .facet[name='search'] input[value='testdelegation']</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>filter</td>
<td>xxx</td>
</tr>
<tr>
<td>click</td>
<td>link=Find</td>
<td></td>
</tr>
<tr>
<td>waitForNotVisible</td>
<td>//span[@id='header-network-activity-indicator']</td>
<td></td>
</tr>
<tr>
<td>verifyElementNotPresent</td>
<td>css=.entity[name='delegation'] .facet[name='search'] input[value='testdelegation']</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>filter</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>link=Find</td>
<td></td>
</tr>
<tr>
<td>waitForNotVisible</td>
<td>//span[@id='header-network-activity-indicator']</td>
<td></td>
</tr>
<tr>
<td>verifyElementPresent</td>
<td>css=.entity[name='delegation'] .facet[name='search'] input[value='testdelegation']</td>
<td></td>
</tr>
</tbody></table>
</body>
</html>

View File

@@ -0,0 +1,102 @@
<?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 Delegation</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">Edit Delegation</td></tr>
</thead><tbody>
<tr>
<td>open</td>
<td>/ipa/ui/#navigation=ipaserver&amp;ipaserver=delegation</td>
<td></td>
</tr>
<tr>
<td>waitForNotVisible</td>
<td>//span[@id='header-network-activity-indicator']</td>
<td></td>
</tr>
<tr>
<td>verifyElementPresent</td>
<td>css=.entity[name='delegation'] .facet[name='search'] input[value='testdelegation']</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>link=testdelegation</td>
<td></td>
</tr>
<tr>
<td>waitForNotVisible</td>
<td>//span[@id='header-network-activity-indicator']</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>//input[@name='attrs' and @value='displayname']</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>//input[@name='attrs' and @value='description']</td>
<td></td>
</tr>
<tr>
<td>verifyTextPresent</td>
<td>undo</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>link=Update</td>
<td></td>
</tr>
<tr>
<td>waitForNotVisible</td>
<td>//span[@id='header-network-activity-indicator']</td>
<td></td>
</tr>
<tr>
<td>verifyTextNotPresent</td>
<td>undo</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>//input[@name='attrs' and @value='description']</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>//input[@name='attrs' and @value='displayname']</td>
<td></td>
</tr>
<tr>
<td>verifyTextPresent</td>
<td>undo</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>link=Update</td>
<td></td>
</tr>
<tr>
<td>waitForNotVisible</td>
<td>//span[@id='header-network-activity-indicator']</td>
<td></td>
</tr>
<tr>
<td>verifyTextNotPresent</td>
<td>undo</td>
<td></td>
</tr>
</tbody></table>
</body>
</html>

View File

@@ -0,0 +1,17 @@
<?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="delegation-add.html">Add Delegation</a></td></tr>
<tr><td><a href="delegation-find.html">Search Delegation</a></td></tr>
<tr><td><a href="delegation-mod.html">Edit Delegation</a></td></tr>
<tr><td><a href="delegation-del.html">Delete Delegation</a></td></tr>
</tbody></table>
</body>
</html>

View File

@@ -0,0 +1,66 @@
<?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://vm-022.idm.lab.bos.redhat.com/" />
<title>Add Self-Service Permission</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">Add Self-Service Permission</td></tr>
</thead><tbody>
<tr>
<td>open</td>
<td>/ipa/ui/#navigation=ipaserver&amp;ipaserver=selfservice</td>
<td></td>
</tr>
<tr>
<td>waitForNotVisible</td>
<td>//span[@id='header-network-activity-indicator']</td>
<td></td>
</tr>
<tr>
<td>verifyElementNotPresent</td>
<td>css=.entity[name='selfservice'] .facet[name='search'] input[value='testselfservicepermission']</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>link=Add</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>aciname</td>
<td>testselfservicepermission</td>
</tr>
<tr>
<td>click</td>
<td>//input[@name='attrs' and @value='cn']</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>//input[@name='attrs' and @value='description']</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>//button[@type='button']</td>
<td></td>
</tr>
<tr>
<td>waitForNotVisible</td>
<td>//span[@id='header-network-activity-indicator']</td>
<td></td>
</tr>
<tr>
<td>verifyElementPresent</td>
<td>css=.entity[name='selfservice'] .facet[name='search'] input[value='testselfservicepermission']</td>
<td></td>
</tr>
</tbody></table>
</body>
</html>

View File

@@ -0,0 +1,57 @@
<?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 Self-Service Permission</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">Delete Self-Service Permission</td></tr>
</thead><tbody>
<tr>
<td>open</td>
<td>/ipa/ui/#navigation=ipaserver&amp;ipaserver=selfservice</td>
<td></td>
</tr>
<tr>
<td>waitForNotVisible</td>
<td>//span[@id='header-network-activity-indicator']</td>
<td></td>
</tr>
<tr>
<td>verifyElementPresent</td>
<td>css=.entity[name='selfservice'] .facet[name='search'] input[value='testselfservicepermission']</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>css=.entity[name='selfservice'] .facet[name='search'] input[value='testselfservicepermission']</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>waitForNotVisible</td>
<td>//span[@id='header-network-activity-indicator']</td>
<td></td>
</tr>
<tr>
<td>verifyElementNotPresent</td>
<td>css=.entity[name='selfservice'] .facet[name='search'] input[value='testselfservicepermission']</td>
<td></td>
</tr>
</tbody></table>
</body>
</html>

View File

@@ -0,0 +1,92 @@
<?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 Self-Service Permission</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">Search Self-Service Permission</td></tr>
</thead><tbody>
<tr>
<td>open</td>
<td>/ipa/ui/#navigation=ipaserver&amp;ipaserver=selfservice</td>
<td></td>
</tr>
<tr>
<td>waitForNotVisible</td>
<td>//span[@id='header-network-activity-indicator']</td>
<td></td>
</tr>
<tr>
<td>verifyElementPresent</td>
<td>css=.entity[name='selfservice'] .facet[name='search'] input[value='testselfservicepermission']</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>filter</td>
<td>test</td>
</tr>
<tr>
<td>click</td>
<td>link=Find</td>
<td></td>
</tr>
<tr>
<td>waitForNotVisible</td>
<td>//span[@id='header-network-activity-indicator']</td>
<td></td>
</tr>
<tr>
<td>verifyElementPresent</td>
<td>css=.entity[name='selfservice'] .facet[name='search'] input[value='testselfservicepermission']</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>filter</td>
<td>xxx</td>
</tr>
<tr>
<td>click</td>
<td>link=Find</td>
<td></td>
</tr>
<tr>
<td>waitForNotVisible</td>
<td>//span[@id='header-network-activity-indicator']</td>
<td></td>
</tr>
<tr>
<td>verifyElementNotPresent</td>
<td>css=.entity[name='selfservice'] .facet[name='search'] input[value='testselfservicepermission']</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>filter</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>link=Find</td>
<td></td>
</tr>
<tr>
<td>waitForNotVisible</td>
<td>//span[@id='header-network-activity-indicator']</td>
<td></td>
</tr>
<tr>
<td>verifyElementPresent</td>
<td>css=.entity[name='selfservice'] .facet[name='search'] input[value='testselfservicepermission']</td>
<td></td>
</tr>
</tbody></table>
</body>
</html>

View File

@@ -0,0 +1,102 @@
<?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 Self-Service Permission</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">Edit Self-Service Permission</td></tr>
</thead><tbody>
<tr>
<td>open</td>
<td>/ipa/ui/#navigation=ipaserver&amp;ipaserver=selfservice</td>
<td></td>
</tr>
<tr>
<td>waitForNotVisible</td>
<td>//span[@id='header-network-activity-indicator']</td>
<td></td>
</tr>
<tr>
<td>verifyElementPresent</td>
<td>css=.entity[name='selfservice'] .facet[name='search'] input[value='testselfservicepermission']</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>link=testselfservicepermission</td>
<td></td>
</tr>
<tr>
<td>waitForNotVisible</td>
<td>//span[@id='header-network-activity-indicator']</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>//input[@name='attrs' and @value='description']</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>//input[@name='attrs' and @value='displayname']</td>
<td></td>
</tr>
<tr>
<td>verifyTextPresent</td>
<td>undo</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>link=Update</td>
<td></td>
</tr>
<tr>
<td>waitForNotVisible</td>
<td>//span[@id='header-network-activity-indicator']</td>
<td></td>
</tr>
<tr>
<td>verifyTextNotPresent</td>
<td>undo</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>//input[@name='attrs' and @value='description']</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>//input[@name='attrs' and @value='displayname']</td>
<td></td>
</tr>
<tr>
<td>verifyTextPresent</td>
<td>undo</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>link=Update</td>
<td></td>
</tr>
<tr>
<td>waitForNotVisible</td>
<td>//span[@id='header-network-activity-indicator']</td>
<td></td>
</tr>
<tr>
<td>verifyTextNotPresent</td>
<td>undo</td>
<td></td>
</tr>
</tbody></table>
</body>
</html>

View File

@@ -0,0 +1,17 @@
<?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="selfservice-add.html">Add Self-Service Permission</a></td></tr>
<tr><td><a href="selfservice-find.html">Search Self-Service Permission</a></td></tr>
<tr><td><a href="selfservice-mod.html">Edit Self-Service Permission</a></td></tr>
<tr><td><a href="selfservice-del.html">Delete Self-Service Permission</a></td></tr>
</tbody></table>
</body>
</html>