diff options
Diffstat (limited to 'install/ui/test/functional/user-mod.html')
-rw-r--r-- | install/ui/test/functional/user-mod.html | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/install/ui/test/functional/user-mod.html b/install/ui/test/functional/user-mod.html new file mode 100644 index 00000000..f39b22fb --- /dev/null +++ b/install/ui/test/functional/user-mod.html @@ -0,0 +1,72 @@ +<?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>Edit user</title> +</head> +<body> +<table cellpadding="1" cellspacing="1" border="1"> +<thead> +<tr><td rowspan="1" colspan="3">Edit user</td></tr> +</thead><tbody> +<tr> + <td>click</td> + <td>link=testuser</td> + <td></td> +</tr> +<tr> + <td>waitForTextPresent</td> + <td>testuser:</td> + <td></td> +</tr> +<tr> + <td>typeKeys</td> + <td>title</td> + <td>Software Engineer</td> +</tr> +<tr> + <td>click</td> + <td>link=Add</td> + <td></td> +</tr> +<!--BUG: typeKeys doesn't work with "."--> +<tr> + <td>type</td> + <td>mail</td> + <td>testuser@example.</td> +</tr> +<tr> + <td>typeKeys</td> + <td>mail</td> + <td>com</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>css=li.back-to-search span.input_link</td> + <td></td> +</tr> +<tr> + <td>waitForTextPresent</td> + <td>2 users matched</td> + <td></td> +</tr> +<tr> + <td>verifyText</td> + <td>css=table.search-table tbody tr:nth-child(2) span[name=mail]</td> + <td>testuser@example.com</td> +</tr> +</tbody></table> +</body> +</html> |