NIHVIVO-76 Clean up and add comments.

This commit is contained in:
jeb228 2010-03-02 16:18:00 +00:00
parent a5423e5299
commit eb2fe78f5f
2 changed files with 66 additions and 21 deletions

View file

@ -3,7 +3,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head profile="http://selenium-ide.openqa.org/profiles/test-case"> <head profile="http://selenium-ide.openqa.org/profiles/test-case">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="selenium.base" href="http://localhost:8080/vivo" /> <link rel="selenium.base" href="" />
<title>Bookmark Without Logging In</title> <title>Bookmark Without Logging In</title>
<style type="text/css"> <style type="text/css">
.testName { .testName {
@ -29,11 +29,21 @@
<thead> <thead>
<tr><td rowspan="1" colspan="3" class="testName">Bookmark Without Logging In</td></tr> <tr><td rowspan="1" colspan="3" class="testName">Bookmark Without Logging In</td></tr>
</thead><tbody> </thead><tbody>
<tr>
<td>comment</td>
<td class="comment">Try to view Data Property Hierarchy page without logging in</td>
<td></td>
</tr>
<tr> <tr>
<td>open</td> <td>open</td>
<td>./showDataPropertyHierarchy?home=1</td> <td>./showDataPropertyHierarchy?home=1</td>
<td></td> <td></td>
</tr> </tr>
<tr>
<td>comment</td>
<td class="comment">It takes us to login page instead</td>
<td></td>
</tr>
<tr> <tr>
<td>assertTitle</td> <td>assertTitle</td>
<td>VIVO Site Administration</td> <td>VIVO Site Administration</td>
@ -55,7 +65,12 @@
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>assertTitle</td> <td>comment</td>
<td class="comment">After logging in, we go to the Data Property Hierarchy page, as intended.</td>
<td></td>
</tr>
<tr>
<td>verifyTitle</td>
<td>Data Property Hierarchy</td> <td>Data Property Hierarchy</td>
<td></td> <td></td>
</tr> </tr>
@ -64,6 +79,11 @@
<td>Data Property Hierarchy</td> <td>Data Property Hierarchy</td>
<td></td> <td></td>
</tr> </tr>
<tr>
<td>comment</td>
<td class="comment">Log out</td>
<td></td>
</tr>
<tr> <tr>
<td>click</td> <td>click</td>
<td>link=Log out</td> <td>link=Log out</td>

View file

@ -4,7 +4,7 @@
<head profile="http://selenium-ide.openqa.org/profiles/test-case"> <head profile="http://selenium-ide.openqa.org/profiles/test-case">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="selenium.base" href="" /> <link rel="selenium.base" href="" />
<title>EditUserInfo</title> <title>Edit User Info</title>
<style type="text/css"> <style type="text/css">
.testName { .testName {
color: blue; color: blue;
@ -27,7 +27,7 @@
<body> <body>
<table cellpadding="1" cellspacing="1" border="1"> <table cellpadding="1" cellspacing="1" border="1">
<thead> <thead>
<tr><td rowspan="1" colspan="3" class="testName">EditUserInfo</td></tr> <tr><td rowspan="1" colspan="3" class="testName">Edit User Info</td></tr>
</thead><tbody> </thead><tbody>
<tr> <tr>
<td>open</td> <td>open</td>
@ -39,6 +39,11 @@
<td>VIVO</td> <td>VIVO</td>
<td></td> <td></td>
</tr> </tr>
<tr>
<td>comment</td>
<td class="comment">Login as default admin</td>
<td></td>
</tr>
<tr> <tr>
<td>clickAndWait</td> <td>clickAndWait</td>
<td>link=Log in</td> <td>link=Log in</td>
@ -69,6 +74,11 @@
<td>VIVO Site Administration</td> <td>VIVO Site Administration</td>
<td></td> <td></td>
</tr> </tr>
<tr>
<td>comment</td>
<td class="comment">Go to user management for our new user account</td>
<td></td>
</tr>
<tr> <tr>
<td>clickAndWait</td> <td>clickAndWait</td>
<td>link=User accounts</td> <td>link=User accounts</td>
@ -89,6 +99,11 @@
<td>User Account Control Panel</td> <td>User Account Control Panel</td>
<td></td> <td></td>
</tr> </tr>
<tr>
<td>comment</td>
<td class="comment">Open the editing form</td>
<td></td>
</tr>
<tr> <tr>
<td>clickAndWait</td> <td>clickAndWait</td>
<td>//input[@value='Edit User Account']</td> <td>//input[@value='Edit User Account']</td>
@ -99,6 +114,11 @@
<td>User Account Editing Form</td> <td>User Account Editing Form</td>
<td></td> <td></td>
</tr> </tr>
<tr>
<td>comment</td>
<td class="comment">Change the User Name and the Last Name</td>
<td></td>
</tr>
<tr> <tr>
<td>type</td> <td>type</td>
<td>Username</td> <td>Username</td>
@ -120,23 +140,8 @@
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>clickAndWait</td> <td>comment</td>
<td>//input[@value='Edit User Account']</td> <td class="comment">Open the "Reset Password" form</td>
<td></td>
</tr>
<tr>
<td>assertTitle</td>
<td>User Account Editing Form</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>_cancel</td>
<td></td>
</tr>
<tr>
<td>assertTitle</td>
<td>User Account Control Panel</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
@ -149,6 +154,11 @@
<td>User Account Editing Form</td> <td>User Account Editing Form</td>
<td></td> <td></td>
</tr> </tr>
<tr>
<td>comment</td>
<td class="comment">Try two passwords that don't match</td>
<td></td>
</tr>
<tr> <tr>
<td>type</td> <td>type</td>
<td>Md5password</td> <td>Md5password</td>
@ -169,6 +179,11 @@
<td>The passwords do not match.</td> <td>The passwords do not match.</td>
<td></td> <td></td>
</tr> </tr>
<tr>
<td>comment</td>
<td class="comment">Try passwords that match, but are too long</td>
<td></td>
</tr>
<tr> <tr>
<td>type</td> <td>type</td>
<td>passwordConfirmation</td> <td>passwordConfirmation</td>
@ -184,6 +199,11 @@
<td>Please enter a password between 6 and 12 characters long.</td> <td>Please enter a password between 6 and 12 characters long.</td>
<td></td> <td></td>
</tr> </tr>
<tr>
<td>comment</td>
<td class="comment">Try a good password, with a good match.</td>
<td></td>
</tr>
<tr> <tr>
<td>type</td> <td>type</td>
<td>Md5password</td> <td>Md5password</td>
@ -204,6 +224,11 @@
<td>User Account Control Panel</td> <td>User Account Control Panel</td>
<td></td> <td></td>
</tr> </tr>
<tr>
<td>comment</td>
<td class="comment">Log out</td>
<td></td>
</tr>
<tr> <tr>
<td>clickAndWait</td> <td>clickAndWait</td>
<td>link=Log out</td> <td>link=Log out</td>