mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-30 10:47:08 -06:00
68ff18ed10
The Selenium tests have been updated to improve robustness.
82 lines
1.7 KiB
HTML
82 lines
1.7 KiB
HTML
<?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>Password Reset</title>
|
|
</head>
|
|
<body>
|
|
<table cellpadding="1" cellspacing="1" border="1">
|
|
<thead>
|
|
<tr><td rowspan="1" colspan="3">Password Reset</td></tr>
|
|
</thead><tbody>
|
|
<tr>
|
|
<td>open</td>
|
|
<td>/ipa/ui/#navigation=0&identity=0</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>waitForNotVisible</td>
|
|
<td>//span[@id='header-network-activity-indicator']</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>verifyElementPresent</td>
|
|
<td>//div[@id='user']//span[@name='search']//input[@value='testuser']</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>click</td>
|
|
<td>link=testuser</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>waitForElementPresent</td>
|
|
<td>css=span[name=userpassword] a[title=userpassword]</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>click</td>
|
|
<td>link=Reset Password</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>type</td>
|
|
<td>//input[@type='password']</td>
|
|
<td>Secret123</td>
|
|
</tr>
|
|
<tr>
|
|
<td>type</td>
|
|
<td>//dd[2]/input</td>
|
|
<td>Secret123</td>
|
|
</tr>
|
|
<tr>
|
|
<td>click</td>
|
|
<td>xpath=/html/body/div[3]//button[1]</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>waitForElementNotPresent</td>
|
|
<td>xpath=/html/body/div[3]</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>waitForAlert</td>
|
|
<td>Password change complete</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>click</td>
|
|
<td>//div[@id='user']/div[1]/ul/li[1]/span</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>waitForNotVisible</td>
|
|
<td>//span[@id='header-network-activity-indicator']</td>
|
|
<td></td>
|
|
</tr>
|
|
</tbody></table>
|
|
</body>
|
|
</html>
|