summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2011-03-07 15:32:49 -0500
committerEndi S. Dewata <edewata@redhat.com>2011-03-21 15:57:09 -0400
commit1564e20084365c94be4544dfd92f47e881f5d00d (patch)
tree33361ebfc22ceb8782c0c22079a4b99b337bef42
parenta81a6b1c94ff7bea62cb13014d5a5fb5a85af4fc (diff)
downloadfreeipa-1564e20084365c94be4544dfd92f47e881f5d00d.tar.gz
freeipa-1564e20084365c94be4544dfd92f47e881f5d00d.tar.xz
freeipa-1564e20084365c94be4544dfd92f47e881f5d00d.zip
Fixed Password Reset test case.
-rw-r--r--install/ui/test/functional/password-reset.html9
-rw-r--r--install/ui/test/functional/view-users.html1
2 files changed, 4 insertions, 6 deletions
diff --git a/install/ui/test/functional/password-reset.html b/install/ui/test/functional/password-reset.html
index 7c88f1d2..ff0ba2ed 100644
--- a/install/ui/test/functional/password-reset.html
+++ b/install/ui/test/functional/password-reset.html
@@ -28,12 +28,12 @@
</tr>
<tr>
<td>type</td>
- <td>password_1</td>
+ <td>//input[@type='password']</td>
<td>Secret123</td>
</tr>
<tr>
<td>type</td>
- <td>password_2</td>
+ <td>//dd[2]/input</td>
<td>Secret123</td>
</tr>
<tr>
@@ -42,8 +42,8 @@
<td></td>
</tr>
<tr>
- <td>waitForNotVisible</td>
- <td>xpath=/html/body/div[2]</td>
+ <td>waitForElementNotPresent</td>
+ <td>xpath=/html/body/div[3]</td>
<td></td>
</tr>
<tr>
@@ -61,7 +61,6 @@
<td>2 users matched</td>
<td></td>
</tr>
-
</tbody></table>
</body>
</html>
diff --git a/install/ui/test/functional/view-users.html b/install/ui/test/functional/view-users.html
index 2e1a16cc..48895a09 100644
--- a/install/ui/test/functional/view-users.html
+++ b/install/ui/test/functional/view-users.html
@@ -21,7 +21,6 @@
<td>1 user matched</td>
<td></td>
</tr>
-
</tbody></table>
</body>
</html>