summaryrefslogtreecommitdiffstats
path: root/install/ui/test/functional/host-delete.html
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2011-03-15 16:01:14 -0400
committerEndi S. Dewata <edewata@redhat.com>2011-03-21 15:57:10 -0400
commitb4ad486c7aafd29ec842d75588f9f40c770edab5 (patch)
treea3c71bebf73415a1a6200f9e3268dd9bc8c5c96d /install/ui/test/functional/host-delete.html
parent538deb6013914bec2c06c272d65f0ea6eae995f1 (diff)
downloadfreeipa-b4ad486c7aafd29ec842d75588f9f40c770edab5.tar.gz
freeipa-b4ad486c7aafd29ec842d75588f9f40c770edab5.tar.xz
freeipa-b4ad486c7aafd29ec842d75588f9f40c770edab5.zip
Added host test cases.
Diffstat (limited to 'install/ui/test/functional/host-delete.html')
-rw-r--r--install/ui/test/functional/host-delete.html37
1 files changed, 37 insertions, 0 deletions
diff --git a/install/ui/test/functional/host-delete.html b/install/ui/test/functional/host-delete.html
new file mode 100644
index 00000000..6d9ed4f3
--- /dev/null
+++ b/install/ui/test/functional/host-delete.html
@@ -0,0 +1,37 @@
+<?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 Host</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">Delete Host</td></tr>
+</thead><tbody>
+<tr>
+ <td>click</td>
+ <td>//input[@name='select' and @value='test.example.com']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>click</td>
+ <td>//div[@id='host']/div/ul/li[1]/span/span/a[1]</td>
+ <td></td>
+</tr>
+<tr>
+ <td>click</td>
+ <td>//button[@type='button']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForTextPresent</td>
+ <td>1 host matched</td>
+ <td></td>
+</tr>
+
+</tbody></table>
+</body>
+</html>