diff options
author | Endi S. Dewata <edewata@redhat.com> | 2011-03-30 22:52:28 -0400 |
---|---|---|
committer | Adam Young <ayoung@redhat.com> | 2011-03-31 20:24:55 -0400 |
commit | e3a76d435e5ff312f503afb899ef6b505621d48a (patch) | |
tree | dd2892282cae96f8789c7029ec51102664751e9b /install/ui/test/functional/hostgroup-add-member-host.html | |
parent | 6948c0813dff35afadd63bc0647271f00bfc566f (diff) | |
download | freeipa-e3a76d435e5ff312f503afb899ef6b505621d48a.tar.gz freeipa-e3a76d435e5ff312f503afb899ef6b505621d48a.tar.xz freeipa-e3a76d435e5ff312f503afb899ef6b505621d48a.zip |
Initial Selenium test cases.
http://www.freeipa.org/page/Selenium
Diffstat (limited to 'install/ui/test/functional/hostgroup-add-member-host.html')
-rw-r--r-- | install/ui/test/functional/hostgroup-add-member-host.html | 82 |
1 files changed, 82 insertions, 0 deletions
diff --git a/install/ui/test/functional/hostgroup-add-member-host.html b/install/ui/test/functional/hostgroup-add-member-host.html new file mode 100644 index 000000000..1030d6a53 --- /dev/null +++ b/install/ui/test/functional/hostgroup-add-member-host.html @@ -0,0 +1,82 @@ +<?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 Member Host</title> +</head> +<body> +<table cellpadding="1" cellspacing="1" border="1"> +<thead> +<tr><td rowspan="1" colspan="3">Add Member Host</td></tr> +</thead><tbody> +<tr> + <td>open</td> + <td>/ipa/ui/#navigation=0&identity=3</td> + <td></td> +</tr> +<tr> + <td>waitForTextPresent</td> + <td>1 hostgroup matched</td> + <td></td> +</tr> +<tr> + <td>click</td> + <td>link=testhostgroup</td> + <td></td> +</tr> +<tr> + <td>waitForTextPresent</td> + <td>testhostgroup:</td> + <td></td> +</tr> +<tr> + <td>click</td> + <td>//div[@id='hostgroup']/div[1]/ul/li[6]</td> + <td></td> +</tr> +<tr> + <td>click</td> + <td>link=Enroll</td> + <td></td> +</tr> +<tr> + <td>waitForElementPresent</td> + <td>//div[1]//input[@name='select' and @value='test.example.com']</td> + <td></td> +</tr> +<tr> + <td>click</td> + <td>//div[1]//input[@name='select' and @value='test.example.com']</td> + <td></td> +</tr> +<tr> + <td>click</td> + <td>link=>></td> + <td></td> +</tr> +<tr> + <td>click</td> + <td>//button[@type='button']</td> + <td></td> +</tr> +<tr> + <td>waitForElementPresent</td> + <td>//div[@id='hostgroup']/span[@name='association']//input[@value='test.example.com']</td> + <td></td> +</tr> +<tr> + <td>click</td> + <td>//div[@id='hostgroup']/div[1]/ul/li[1]/span</td> + <td></td> +</tr> +<tr> + <td>waitForTextPresent</td> + <td>1 hostgroup matched</td> + <td></td> +</tr> + +</tbody></table> +</body> +</html> |