summaryrefslogtreecommitdiffstats
path: root/install/ui/test/functional/hbacrule-activation.html
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2011-03-16 04:29:44 -0400
committerEndi S. Dewata <edewata@redhat.com>2011-03-21 15:57:10 -0400
commita340692cb86cf0f20e840c89f96dd40d28be8c74 (patch)
tree9b494179d45d3098200715d54ade9aec03d25014 /install/ui/test/functional/hbacrule-activation.html
parentf984bee20119498f0fbf09cecf485a23acd108ff (diff)
downloadfreeipa-a340692cb86cf0f20e840c89f96dd40d28be8c74.tar.gz
freeipa-a340692cb86cf0f20e840c89f96dd40d28be8c74.tar.xz
freeipa-a340692cb86cf0f20e840c89f96dd40d28be8c74.zip
Added HBAC rule test cases.
Diffstat (limited to 'install/ui/test/functional/hbacrule-activation.html')
-rw-r--r--install/ui/test/functional/hbacrule-activation.html67
1 files changed, 67 insertions, 0 deletions
diff --git a/install/ui/test/functional/hbacrule-activation.html b/install/ui/test/functional/hbacrule-activation.html
new file mode 100644
index 00000000..b5397eb0
--- /dev/null
+++ b/install/ui/test/functional/hbacrule-activation.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>HBAC Rule Activation</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">HBAC Rule Activation</td></tr>
+</thead><tbody>
+<tr>
+ <td>open</td>
+ <td>/ipa/ui/#navigation=1&amp;policy=1</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>//div[@id='hbacrule']//span[@name='search']//input[@value='testhbacrule']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>click</td>
+ <td>link=testhbacrule</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForTextPresent</td>
+ <td>testhbacrule:</td>
+ <td></td>
+</tr>
+<tr>
+ <td>click</td>
+ <td>//input[@name='ipaenabledflag' and @value='FALSE']</td>
+ <td></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>click</td>
+ <td>ipaenabledflag</td>
+ <td></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>