diff --git a/utilities/acceptance-tests/suites/AdminSecurity/AdminChangePassword.html b/utilities/acceptance-tests/suites/AdminSecurity/AdminChangePassword.html
index 6919d7f7..8e693223 100644
--- a/utilities/acceptance-tests/suites/AdminSecurity/AdminChangePassword.html
+++ b/utilities/acceptance-tests/suites/AdminSecurity/AdminChangePassword.html
@@ -34,6 +34,11 @@
|
|
+
+ setTimeout |
+ 100000 |
+ |
+
comment |
@@ -86,7 +91,7 @@
verifyTextPresent |
- testAdmin@cornell.edu |
+ Test |
|
@@ -96,82 +101,107 @@
clickAndWait |
- link=Site Admin |
+ link=My account |
|
assertTitle |
- VIVO Site Administration |
+ VIVO |
|
verifyTextPresent |
- Site Administration |
+ My account |
|
verifyTextPresent |
- User accounts |
+ New password |
|
- clickAndWait |
- link=User accounts |
- |
-
-
- assertTitle |
- User Accounts |
- |
-
-
- clickAndWait |
- link=testAdmin |
- |
-
-
- assertTitle |
- User Account Control Panel |
+ verifyTextPresent |
+ Confirm new password |
|
comment |
-
+
|
clickAndWait |
- //input[@value='Edit User Account'] |
+ submitMyAccount |
|
assertTitle |
- User Account Editing Form |
+ VIVO |
+ |
+
+
+ verifyTextPresent |
+ Your changes have been saved. |
+ |
+
+
+ comment |
+
|
type |
- FirstName |
- Test |
+ new-password |
+ onlynew |
type |
- LastName |
- Admin |
-
-
- type |
- FirstName |
- test |
+ confirm-password |
+ |
clickAndWait |
- primaryAction |
+ submitMyAccount |
|
assertTitle |
- User Account Control Panel |
+ VIVO |
+ |
+
+
+ verifyTextPresent |
+ Passwords do not match. |
+ |
+
+
+ comment |
+
+ |
+
+
+ type |
+ new-password |
+ |
+
+
+ type |
+ confirm-password |
+ onlyconfirm |
+
+
+ clickAndWait |
+ submitMyAccount |
+ |
+
+
+ assertTitle |
+ VIVO |
+ |
+
+
+ verifyTextPresent |
+ Passwords do not match. |
|
@@ -179,34 +209,29 @@
|
-
- clickAndWait |
- //input[@value='Reset Password'] |
- |
-
-
- assertTitle |
- User Account Editing Form |
- |
-
type |
- Md5password |
+ new-password |
Password2 |
type |
- passwordConfirmation |
+ confirm-password |
incorrect2 |
- click |
- primaryAction |
+ clickAndWait |
+ submitMyAccount |
|
- assertAlert |
- The passwords do not match. |
+ assertTitle |
+ VIVO |
+ |
+
+
+ verifyTextPresent |
+ Passwords do not match. |
|
@@ -216,22 +241,27 @@
type |
- Md5password |
+ new-password |
junky |
type |
- passwordConfirmation |
+ confirm-password |
junky |
- click |
- primaryAction |
+ clickAndWait |
+ submitMyAccount |
|
- assertAlert |
- Please enter a password between 6 and 12 characters long. |
+ assertTitle |
+ VIVO |
+ |
+
+
+ verifyTextPresent |
+ Password must be between 6 and 12 characters. |
|
@@ -241,22 +271,27 @@
type |
- Md5password |
+ new-password |
goody2 |
type |
- passwordConfirmation |
+ confirm-password |
goody2 |
clickAndWait |
- primaryAction |
+ submitMyAccount |
|
assertTitle |
- User Account Control Panel |
+ VIVO |
+ |
+
+
+ verifyTextPresent |
+ Your changes have been saved. |
|
@@ -304,69 +339,24 @@
loginPassword |
goody2 |
-
- assertTitle |
- Log in to VIVO |
- |
-
clickAndWait |
loginForm |
|
-
- clickAndWait |
- link=Site Admin |
- |
-
assertTitle |
- VIVO Site Administration |
- |
-
-
- verifyTextPresent |
- Site Administration |
- |
-
-
- verifyTextPresent |
- User accounts |
+ VIVO |
|
clickAndWait |
- link=User accounts |
+ link=My account |
|
assertTitle |
- User Accounts |
- |
-
-
- verifyTextPresent |
- testAdmin@cornell.edu |
- |
-
-
- clickAndWait |
- link=testAdmin |
- |
-
-
- assertTitle |
- User Account Control Panel |
- |
-
-
- clickAndWait |
- //input[@value='Reset Password'] |
- |
-
-
- assertTitle |
- User Account Editing Form |
+ VIVO |
|
@@ -376,22 +366,27 @@
type |
- Md5password |
+ new-password |
Password |
type |
- passwordConfirmation |
+ confirm-password |
Password |
clickAndWait |
- primaryAction |
+ submitMyAccount |
|
assertTitle |
- User Account Control Panel |
+ VIVO |
+ |
+
+
+ verifyTextPresent |
+ Your changes have been saved. |
|
@@ -414,11 +409,6 @@
VIVO |
|
-
- verifyTextPresent |
- Log in |
- |
-