summaryrefslogtreecommitdiffstats
path: root/install/ui/test/functional/privilege-add.html
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2011-03-22 13:11:27 -0400
committerEndi S. Dewata <edewata@redhat.com>2011-03-22 13:11:27 -0400
commitfebf755dff3fc8f785d69fe33313058f6f1aa29e (patch)
treed40d9a7dd759579690d5cfecdd41e1d9558cde26 /install/ui/test/functional/privilege-add.html
parent79c6bb5ded499c2af66cad7cc3135bda8ae8648a (diff)
downloadfreeipa-febf755dff3fc8f785d69fe33313058f6f1aa29e.tar.gz
freeipa-febf755dff3fc8f785d69fe33313058f6f1aa29e.tar.xz
freeipa-febf755dff3fc8f785d69fe33313058f6f1aa29e.zip
Added RBAC test cases.
Diffstat (limited to 'install/ui/test/functional/privilege-add.html')
-rw-r--r--install/ui/test/functional/privilege-add.html51
1 files changed, 51 insertions, 0 deletions
diff --git a/install/ui/test/functional/privilege-add.html b/install/ui/test/functional/privilege-add.html
new file mode 100644
index 00000000..2cc27694
--- /dev/null
+++ b/install/ui/test/functional/privilege-add.html
@@ -0,0 +1,51 @@
+<?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 Permission</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">Add Permission</td></tr>
+</thead><tbody>
+<tr>
+ <td>open</td>
+ <td>/ipa/ui/#navigation=2&amp;role-entity=privilege</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForNotVisible</td>
+ <td>//span[@id='header-network-activity-indicator']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>click</td>
+ <td>//div[@id='role']/div[@class='action-panel']//a[@title='Add']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>cn</td>
+ <td>testprivilege</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>description</td>
+ <td>Test Privilege</td>
+</tr>
+<tr>
+ <td>click</td>
+ <td>//button[@type='button']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>//div[@id='role']/span[@name='search']//input[@value='testprivilege']</td>
+ <td></td>
+</tr>
+</tbody></table>
+</body>
+</html>