summaryrefslogtreecommitdiffstats
path: root/install/ui/test/functional/service-del.html
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2011-03-16 01:50:05 -0400
committerEndi S. Dewata <edewata@redhat.com>2011-03-21 15:57:10 -0400
commitf984bee20119498f0fbf09cecf485a23acd108ff (patch)
treefe97d0f830618aabf315f9620f0a0aed8d799914 /install/ui/test/functional/service-del.html
parent5ee3ab1623edfdb0226ccb28048d4b3a248a80b2 (diff)
downloadfreeipa-f984bee20119498f0fbf09cecf485a23acd108ff.tar.gz
freeipa-f984bee20119498f0fbf09cecf485a23acd108ff.tar.xz
freeipa-f984bee20119498f0fbf09cecf485a23acd108ff.zip
Added service test cases.
Diffstat (limited to 'install/ui/test/functional/service-del.html')
-rw-r--r--install/ui/test/functional/service-del.html47
1 files changed, 47 insertions, 0 deletions
diff --git a/install/ui/test/functional/service-del.html b/install/ui/test/functional/service-del.html
new file mode 100644
index 00000000..da68b89b
--- /dev/null
+++ b/install/ui/test/functional/service-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 Service</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">Delete Service</td></tr>
+</thead><tbody>
+<tr>
+ <td>open</td>
+ <td>/ipa/ui/#navigation=0&amp;identity=5</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>//div[@id='service']/span[@name='search']//input[@value='testservice/test.example.com@IDM.LAB.BOS.REDHAT.COM']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>click</td>
+ <td>//div[@id='service']/span[@name='search']//input[@value='testservice/test.example.com@IDM.LAB.BOS.REDHAT.COM']</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='service']/span[@name='search']//input[@value='testservice//test.example.com@IDM.LAB.BOS.REDHAT.COM']</td>
+ <td></td>
+</tr>
+
+</tbody></table>
+</body>
+</html>