diff options
author | Endi S. Dewata <edewata@redhat.com> | 2011-03-16 21:54:38 -0400 |
---|---|---|
committer | Endi S. Dewata <edewata@redhat.com> | 2011-03-21 15:57:11 -0400 |
commit | 1fccdfccddf1c785b43102690b827b51bd827fb7 (patch) | |
tree | b8d8b66a98d8df51dfc0098dab22f45e7b522152 /install/ui/test/functional/sudorule-find.html | |
parent | 23f3c80cc1f5ac152f49f19e73b092ffd5da5116 (diff) | |
download | freeipa-1fccdfccddf1c785b43102690b827b51bd827fb7.tar.gz freeipa-1fccdfccddf1c785b43102690b827b51bd827fb7.tar.xz freeipa-1fccdfccddf1c785b43102690b827b51bd827fb7.zip |
Added sudo rule test cases.
Diffstat (limited to 'install/ui/test/functional/sudorule-find.html')
-rw-r--r-- | install/ui/test/functional/sudorule-find.html | 77 |
1 files changed, 77 insertions, 0 deletions
diff --git a/install/ui/test/functional/sudorule-find.html b/install/ui/test/functional/sudorule-find.html new file mode 100644 index 00000000..20d8db88 --- /dev/null +++ b/install/ui/test/functional/sudorule-find.html @@ -0,0 +1,77 @@ +<?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>Search Sudo Rule</title> +</head> +<body> +<table cellpadding="1" cellspacing="1" border="1"> +<thead> +<tr><td rowspan="1" colspan="3">Search Sudo Rule</td></tr> +</thead><tbody> +<tr> + <td>open</td> + <td>/ipa/ui/#navigation=1&policy=2</td> + <td></td> +</tr> +<tr> + <td>waitForNotVisible</td> + <td>//span[@id='header-network-activity-indicator']</td> + <td></td> +</tr> +<tr> + <td>waitForElementPresent</td> + <td>//div[@id='sudorule']//span[@name='search']//input[@value='testsudorule']</td> + <td></td> +</tr> +<tr> + <td>type</td> + <td>search-sudorule-filter</td> + <td>test</td> +</tr> +<tr> + <td>click</td> + <td>//div[@id='sudorule']/span/div[1]/span[1]/a/span</td> + <td></td> +</tr> +<tr> + <td>waitForElementPresent</td> + <td>//div[@id='sudorule']//span[@name='search']//input[@value='testsudorule']</td> + <td></td> +</tr> +<tr> + <td>type</td> + <td>search-sudorule-filter</td> + <td>xxx</td> +</tr> +<tr> + <td>click</td> + <td>//div[@id='sudorule']/span/div[1]/span[1]/a/span</td> + <td></td> +</tr> +<tr> + <td>waitForElementNotPresent</td> + <td>//div[@id='sudorule']//span[@name='search']//input[@value='testsudorule']</td> + <td></td> +</tr> +<tr> + <td>type</td> + <td>search-sudorule-filter</td> + <td></td> +</tr> +<tr> + <td>click</td> + <td>//div[@id='sudorule']/span/div[1]/span[1]/a/span</td> + <td></td> +</tr> +<tr> + <td>waitForElementPresent</td> + <td>//div[@id='sudorule']//span[@name='search']//input[@value='testsudorule']</td> + <td></td> +</tr> + +</tbody></table> +</body> +</html> |