NIHVIVO-3991 Remove the files that are used to customize the Selenium IDE. Remove the saved copy of the plug-in. Modify the existing tests so they will run without the customizations to the IDE.

This commit is contained in:
j2blake 2012-10-18 19:57:52 +00:00
parent 251d7fff7a
commit bbf7d49dae
237 changed files with 2212 additions and 14378 deletions

View file

@ -5,29 +5,11 @@
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="selenium.base" href="" />
<title>AddFacultyInfo</title>
<style type="text/css">
.testName {
color: blue;
background: rgb(80%, 80%, 80%);
font-family: sans-serif;
font-weight: bold;
font-size: larger;
text-align: center;
}
.comment {
color: blue;
background: rgb(80%, 80%, 80%);
font-family: sans-serif;
font-weight: bold;
font-size: larger;
text-align: center;
}
</style>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3" class="testName">AddFacultyInfo</td></tr>
<tr><td rowspan="1" colspan="3">AddFacultyInfo</td></tr>
</thead><tbody>
<tr>
<td>deleteAllVisibleCookies</td>
@ -39,11 +21,7 @@
<td>500000</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Add all available fields that aren't tested elsewhere</td>
<td></td>
</tr>
<!--Add all available fields that aren't tested elsewhere-->
<tr>
<td>open</td>
<td>/vivo/</td>
@ -54,11 +32,7 @@
<td>VIVO</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Must not be logged in</td>
<td></td>
</tr>
<!--Must not be logged in-->
<tr>
<td>clickAndWait</td>
<td>link=Log in</td>
@ -69,11 +43,7 @@
<td>Log in to VIVO</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Must log in as site admin</td>
<td></td>
</tr>
<!--Must log in as site admin-->
<tr>
<td>type</td>
<td>loginName</td>
@ -89,11 +59,7 @@
<td>loginForm</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Find Jane Faculty via Index</td>
<td></td>
</tr>
<!--Find Jane Faculty via Index-->
<tr>
<td>clickAndWait</td>
<td>link=Index</td>
@ -124,11 +90,7 @@
<td>Faculty, Jane</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Add data in frontend</td>
<td></td>
</tr>
<!--Add data in frontend-->
<tr>
<td>clickAndWait</td>
<td>//h2[@id='hasResearchArea']/a/img</td>
@ -864,11 +826,7 @@
<td>Faculty, Jane</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Test 4 new fields with Release 1.3</td>
<td></td>
</tr>
<!--Test 4 new fields with Release 1.3-->
<tr>
<td>clickAndWait</td>
<td>css=a.add-eligibleFor &gt; img.add-individual</td>
@ -1094,11 +1052,7 @@
<td>Faculty, Jane</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Verify all fields added</td>
<td></td>
</tr>
<!--Verify all fields added-->
<tr>
<td>clickAndWait</td>
<td>link=Index</td>
@ -1299,11 +1253,7 @@
<td>link=USABC123456789</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Log out</td>
<td></td>
</tr>
<!--Log out-->
<tr>
<td>clickAndWait</td>
<td>link=Home</td>

View file

@ -5,29 +5,11 @@
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="selenium.base" href="" />
<title>AddFacultyInfo2</title>
<style type="text/css">
.testName {
color: blue;
background: rgb(80%, 80%, 80%);
font-family: sans-serif;
font-weight: bold;
font-size: larger;
text-align: center;
}
.comment {
color: blue;
background: rgb(80%, 80%, 80%);
font-family: sans-serif;
font-weight: bold;
font-size: larger;
text-align: center;
}
</style>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3" class="testName">AddFacultyInfo2</td></tr>
<tr><td rowspan="1" colspan="3">AddFacultyInfo2</td></tr>
</thead><tbody>
<tr>
<td>deleteAllVisibleCookies</td>
@ -39,11 +21,7 @@
<td>200000</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Add a second value for fields entered via AddFacultyInfo</td>
<td></td>
</tr>
<!--Add a second value for fields entered via AddFacultyInfo-->
<tr>
<td>open</td>
<td>/vivo/</td>
@ -54,11 +32,7 @@
<td>VIVO</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Must not be logged in</td>
<td></td>
</tr>
<!--Must not be logged in-->
<tr>
<td>clickAndWait</td>
<td>link=Log in</td>
@ -69,11 +43,7 @@
<td>Log in to VIVO</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Must log in as site admin</td>
<td></td>
</tr>
<!--Must log in as site admin-->
<tr>
<td>type</td>
<td>loginName</td>
@ -89,11 +59,7 @@
<td>loginForm</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Find Jane Faculty via Index</td>
<td></td>
</tr>
<!--Find Jane Faculty via Index-->
<tr>
<td>clickAndWait</td>
<td>link=Index</td>
@ -124,11 +90,7 @@
<td>Faculty, Jane</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Add second value to fields allowed more than one value</td>
<td></td>
</tr>
<!--Add second value to fields allowed more than one value-->
<tr>
<td>clickAndWait</td>
<td>//h2[@id='hasResearchArea']/a/img</td>
@ -599,11 +561,7 @@
<td>Faculty, Jane</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Add new release 1.3 fields</td>
<td></td>
</tr>
<!--Add new release 1.3 fields-->
<tr>
<td>clickAndWait</td>
<td>css=a.add-eRACommonsId &gt; img.add-individual</td>
@ -634,11 +592,7 @@
<td>Faculty, Jane</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Verify all fields added</td>
<td></td>
</tr>
<!--Verify all fields added-->
<tr>
<td>clickAndWait</td>
<td>link=Index</td>
@ -924,11 +878,7 @@
<td>link=USABC123456789</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Logout</td>
<td></td>
</tr>
<!--Logout-->
<tr>
<td>clickAndWait</td>
<td>link=Home</td>

View file

@ -5,29 +5,11 @@
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="selenium.base" href="" />
<title>AssociateLibToFac</title>
<style type="text/css">
.testName {
color: blue;
background: rgb(80%, 80%, 80%);
font-family: sans-serif;
font-weight: bold;
font-size: larger;
text-align: center;
}
.comment {
color: blue;
background: rgb(80%, 80%, 80%);
font-family: sans-serif;
font-weight: bold;
font-size: larger;
text-align: center;
}
</style>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3" class="testName">AssociateLibToFac</td></tr>
<tr><td rowspan="1" colspan="3">AssociateLibToFac</td></tr>
</thead><tbody>
<tr>
<td>deleteAllVisibleCookies</td>
@ -39,11 +21,7 @@
<td>500000</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Associate Librarians to Faculty</td>
<td></td>
</tr>
<!--Associate Librarians to Faculty-->
<tr>
<td>open</td>
<td>/vivo/</td>
@ -54,11 +32,7 @@
<td>VIVO</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Must not be logged in</td>
<td></td>
</tr>
<!--Must not be logged in-->
<tr>
<td>clickAndWait</td>
<td>link=Log in</td>
@ -69,11 +43,7 @@
<td>Log in to VIVO</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Must login as site admin</td>
<td></td>
</tr>
<!--Must login as site admin-->
<tr>
<td>type</td>
<td>loginName</td>
@ -99,11 +69,7 @@
<td>VIVO Site Administration</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Navigate to the core:Librarian in the ontology</td>
<td></td>
</tr>
<!--Navigate to the core:Librarian in the ontology-->
<tr>
<td>clickAndWait</td>
<td>link=Class hierarchy</td>
@ -144,11 +110,7 @@
<td>Super/Subclass Editing Form</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Create the link</td>
<td></td>
</tr>
<!--Create the link-->
<tr>
<td>select</td>
<td>SuperclassURI</td>
@ -169,11 +131,7 @@
<td>Class Control Panel</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Make sure Lilly Librarian shows up in both categories</td>
<td></td>
</tr>
<!--Make sure Lilly Librarian shows up in both categories-->
<tr>
<td>clickAndWait</td>
<td>link=People</td>
@ -294,11 +252,7 @@
<td>Assistant Librarian</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Logout</td>
<td></td>
</tr>
<!--Logout-->
<tr>
<td>clickAndWait</td>
<td>link=Home</td>

View file

@ -5,40 +5,18 @@
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="selenium.base" href="" />
<title>BrowseIndex</title>
<style type="text/css">
.testName {
color: blue;
background: rgb(80%, 80%, 80%);
font-family: sans-serif;
font-weight: bold;
font-size: larger;
text-align: center;
}
.comment {
color: blue;
background: rgb(80%, 80%, 80%);
font-family: sans-serif;
font-weight: bold;
font-size: larger;
text-align: center;
}
</style>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3" class="testName">BrowseIndex</td></tr>
<tr><td rowspan="1" colspan="3">BrowseIndex</td></tr>
</thead><tbody>
<tr>
<td>deleteAllVisibleCookies</td>
<td></td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Browse the Index for the new people</td>
<td></td>
</tr>
<!--Browse the Index for the new people-->
<tr>
<td>open</td>
<td>/vivo/</td>
@ -49,11 +27,7 @@
<td>VIVO</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Must not be logged in</td>
<td></td>
</tr>
<!--Must not be logged in-->
<tr>
<td>clickAndWait</td>
<td>link=Log in</td>
@ -64,11 +38,7 @@
<td>Log in to VIVO</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Must login as site admin</td>
<td></td>
</tr>
<!--Must login as site admin-->
<tr>
<td>type</td>
<td>loginName</td>
@ -84,21 +54,13 @@
<td>loginForm</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Navigate to Index</td>
<td></td>
</tr>
<!--Navigate to Index-->
<tr>
<td>clickAndWait</td>
<td>link=Index</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Verify that two new people are accounted for</td>
<td></td>
</tr>
<!--Verify that two new people are accounted for-->
<tr>
<td>verifyTextPresent</td>
<td>Faculty Member</td>
@ -124,11 +86,7 @@
<td>Faculty Member</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Verify Jane Faculty is on the Faculty Member list</td>
<td></td>
</tr>
<!--Verify Jane Faculty is on the Faculty Member list-->
<tr>
<td>verifyTextPresent</td>
<td>Faculty, Jane</td>
@ -149,11 +107,7 @@
<td>Librarian</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Verify Jane Faculty is on the Librarian list</td>
<td></td>
</tr>
<!--Verify Jane Faculty is on the Librarian list-->
<tr>
<td>verifyTextPresent</td>
<td>Librarian, Lily</td>
@ -174,11 +128,7 @@
<td>Person</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Verify that both people show up on the People list</td>
<td></td>
</tr>
<!--Verify that both people show up on the People list-->
<tr>
<td>verifyTextPresent</td>
<td>Faculty, Jane</td>
@ -194,11 +144,7 @@
<td>link=Index</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Logout</td>
<td></td>
</tr>
<!--Logout-->
<tr>
<td>clickAndWait</td>
<td>link=Home</td>

View file

@ -5,29 +5,11 @@
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="selenium.base" href="" />
<title>ChangeFacultyImage</title>
<style type="text/css">
.testName {
color: blue;
background: rgb(80%, 80%, 80%);
font-family: sans-serif;
font-weight: bold;
font-size: larger;
text-align: center;
}
.comment {
color: blue;
background: rgb(80%, 80%, 80%);
font-family: sans-serif;
font-weight: bold;
font-size: larger;
text-align: center;
}
</style>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3" class="testName">ChangeFacultyImage</td></tr>
<tr><td rowspan="1" colspan="3">ChangeFacultyImage</td></tr>
</thead><tbody>
<tr>
<td>deleteAllVisibleCookies</td>
@ -39,11 +21,7 @@
<td>100000</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Change the uploaded picture for Jane Faculty in the backend</td>
<td></td>
</tr>
<!--Change the uploaded picture for Jane Faculty in the backend-->
<tr>
<td>open</td>
<td>/vivo/</td>
@ -54,11 +32,7 @@
<td>VIVO</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Must not be logged in</td>
<td></td>
</tr>
<!--Must not be logged in-->
<tr>
<td>clickAndWait</td>
<td>link=Log in</td>
@ -69,11 +43,7 @@
<td>Log in to VIVO</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Must log in as site admin</td>
<td></td>
</tr>
<!--Must log in as site admin-->
<tr>
<td>type</td>
<td>loginName</td>
@ -89,11 +59,7 @@
<td>loginForm</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Navigate to Jane Faculty</td>
<td></td>
</tr>
<!--Navigate to Jane Faculty-->
<tr>
<td>clickAndWait</td>
<td>link=Index</td>
@ -124,11 +90,7 @@
<td>//img[@title='click to view larger image']@src</td>
<td>/vivo/file/*/thumbnail_Jane1.jpg</td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Select to upload a new image but cancel out</td>
<td></td>
</tr>
<!--Select to upload a new image but cancel out-->
<tr>
<td>clickAndWait</td>
<td>css=img.edit-individual</td>
@ -184,11 +146,7 @@
<td>Faculty, Jane</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Select file to upload again</td>
<td></td>
</tr>
<!--Select file to upload again-->
<tr>
<td>clickAndWait</td>
<td>css=img.edit-individual</td>
@ -264,11 +222,7 @@
<td>Faculty, Jane</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Verify image has been updated to new one</td>
<td></td>
</tr>
<!--Verify image has been updated to new one-->
<tr>
<td>clickAndWait</td>
<td>link=Index</td>
@ -299,11 +253,7 @@
<td>//img[@title='click to view larger image']@src</td>
<td>/vivo/file/*/thumbnail_Jane2.jpg</td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Logout</td>
<td></td>
</tr>
<!--Logout-->
<tr>
<td>clickAndWait</td>
<td>link=Home</td>

View file

@ -5,29 +5,11 @@
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="selenium.base" href="" />
<title>ChangeLibrarianImage</title>
<style type="text/css">
.testName {
color: blue;
background: rgb(80%, 80%, 80%);
font-family: sans-serif;
font-weight: bold;
font-size: larger;
text-align: center;
}
.comment {
color: blue;
background: rgb(80%, 80%, 80%);
font-family: sans-serif;
font-weight: bold;
font-size: larger;
text-align: center;
}
</style>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3" class="testName">ChangeLibrarianImage</td></tr>
<tr><td rowspan="1" colspan="3">ChangeLibrarianImage</td></tr>
</thead><tbody>
<tr>
<td>deleteAllVisibleCookies</td>
@ -39,11 +21,7 @@
<td>100000</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Change the uploaded picture for Lily Librarian in the frontend</td>
<td></td>
</tr>
<!--Change the uploaded picture for Lily Librarian in the frontend-->
<tr>
<td>open</td>
<td>/vivo/</td>
@ -54,11 +32,7 @@
<td>VIVO</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Must not be logged in</td>
<td></td>
</tr>
<!--Must not be logged in-->
<tr>
<td>clickAndWait</td>
<td>link=Log in</td>
@ -69,11 +43,7 @@
<td>Log in to VIVO</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Must log in as site admin</td>
<td></td>
</tr>
<!--Must log in as site admin-->
<tr>
<td>type</td>
<td>loginName</td>
@ -89,11 +59,7 @@
<td>loginForm</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Navigate to Lily Librarian</td>
<td></td>
</tr>
<!--Navigate to Lily Librarian-->
<tr>
<td>clickAndWait</td>
<td>link=Index</td>
@ -124,21 +90,13 @@
<td>//img[@title='click to view larger image']@src</td>
<td>/vivo/file/*/thumbnail_lily1.jpg</td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Select to edit Lily Librarian's image</td>
<td></td>
</tr>
<!--Select to edit Lily Librarian's image-->
<tr>
<td>clickAndWait</td>
<td>css=img.edit-individual</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Select to upload a new image but cancel out before cropping</td>
<td></td>
</tr>
<!--Select to upload a new image but cancel out before cropping-->
<tr>
<td>assertTitle</td>
<td>Replace image for Librarian, Lily</td>
@ -179,21 +137,13 @@
<td>Librarian, Lily</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Select to edit Lily Librarian's image again</td>
<td></td>
</tr>
<!--Select to edit Lily Librarian's image again-->
<tr>
<td>clickAndWait</td>
<td>//img[@alt='edit']</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Select to upload a new image but cancel out during cropping</td>
<td></td>
</tr>
<!--Select to upload a new image but cancel out during cropping-->
<tr>
<td>assertTitle</td>
<td>Replace image for Librarian, Lily</td>
@ -244,21 +194,13 @@
<td>Librarian, Lily</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Select to edit Lily Librarian's image</td>
<td></td>
</tr>
<!--Select to edit Lily Librarian's image-->
<tr>
<td>clickAndWait</td>
<td>//img[@alt='edit']</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Select to upload a new jpg image</td>
<td></td>
</tr>
<!--Select to upload a new jpg image-->
<tr>
<td>assertTitle</td>
<td>Replace image for Librarian, Lily</td>
@ -309,31 +251,19 @@
<td>Librarian, Lily</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Verify image has been updated to new one</td>
<td></td>
</tr>
<!--Verify image has been updated to new one-->
<tr>
<td>verifyAttribute</td>
<td>//img[@title='click to view larger image']@src</td>
<td>/vivo/file/*/thumbnail_lily2.jpg</td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Select to edit Lily Librarian's image again</td>
<td></td>
</tr>
<!--Select to edit Lily Librarian's image again-->
<tr>
<td>clickAndWait</td>
<td>//img[@alt='edit']</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Select to upload a new png image</td>
<td></td>
</tr>
<!--Select to upload a new png image-->
<tr>
<td>type</td>
<td>datafile</td>
@ -359,31 +289,19 @@
<td>Librarian, Lily</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Verify image has been updated to new one</td>
<td></td>
</tr>
<!--Verify image has been updated to new one-->
<tr>
<td>verifyAttribute</td>
<td>//img[@title='click to view larger image']@src</td>
<td>/vivo/file/*/thumbnail_lily3.jpg</td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Select to edit Lily Librarian's image again</td>
<td></td>
</tr>
<!--Select to edit Lily Librarian's image again-->
<tr>
<td>clickAndWait</td>
<td>//img[@alt='edit']</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Select to upload a new gif image</td>
<td></td>
</tr>
<!--Select to upload a new gif image-->
<tr>
<td>type</td>
<td>datafile</td>
@ -409,21 +327,13 @@
<td>Librarian, Lily</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Verify image has been updated to new one</td>
<td></td>
</tr>
<!--Verify image has been updated to new one-->
<tr>
<td>verifyAttribute</td>
<td>//img[@title='click to view larger image']@src</td>
<td>/vivo/file/*/thumbnail_lily4.jpg</td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Logout</td>
<td></td>
</tr>
<!--Logout-->
<tr>
<td>clickAndWait</td>
<td>link=Home</td>

View file

@ -5,55 +5,25 @@
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="selenium.base" href="" />
<title>AdminBookmarkedPage</title>
<style type="text/css">
.testName {
color: blue;
background: rgb(80%, 80%, 80%);
font-family: sans-serif;
font-weight: bold;
font-size: larger;
text-align: center;
}
.comment {
color: blue;
background: rgb(80%, 80%, 80%);
font-family: sans-serif;
font-weight: bold;
font-size: larger;
text-align: center;
}
</style>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3" class="testName">AdminBookmarkedPage</td></tr>
<tr><td rowspan="1" colspan="3">AdminBookmarkedPage</td></tr>
</thead><tbody>
<tr>
<td>comment</td>
<td class="comment">Test People rowse</td>
<td></td>
</tr>
<!--Test People rowse-->
<tr>
<td>deleteAllVisibleCookies</td>
<td></td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Don't need to login</td>
<td></td>
</tr>
<!--Don't need to login-->
<tr>
<td>open</td>
<td>/vivo/</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Verify People menu option </td>
<td></td>
</tr>
<!--Verify People menu option -->
<tr>
<td>click</td>
<td>link=People</td>
@ -104,11 +74,7 @@
<td>link=Courses</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Go to Faculty browse</td>
<td></td>
</tr>
<!--Go to Faculty browse-->
<tr>
<td>click</td>
<td>link=Faculty Member (1)</td>
@ -169,11 +135,7 @@
<td>Assistant Professor</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Go to Librarian browse</td>
<td></td>
</tr>
<!--Go to Librarian browse-->
<tr>
<td>click</td>
<td>link=Librarian (1)</td>
@ -234,11 +196,7 @@
<td>Assistant Librarian</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Go to Person browse</td>
<td></td>
</tr>
<!--Go to Person browse-->
<tr>
<td>click</td>
<td>link=Person (2)</td>
@ -359,11 +317,7 @@
<td>Assistant Librarian</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Go back to Home</td>
<td></td>
</tr>
<!--Go back to Home-->
<tr>
<td>clickAndWait</td>
<td>link=Home</td>

View file

@ -5,40 +5,18 @@
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="selenium.base" href="" />
<title>CheckPeopleLinks</title>
<style type="text/css">
.testName {
color: blue;
background: rgb(80%, 80%, 80%);
font-family: sans-serif;
font-weight: bold;
font-size: larger;
text-align: center;
}
.comment {
color: blue;
background: rgb(80%, 80%, 80%);
font-family: sans-serif;
font-weight: bold;
font-size: larger;
text-align: center;
}
</style>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3" class="testName">CheckPeopleLinks</td></tr>
<tr><td rowspan="1" colspan="3">CheckPeopleLinks</td></tr>
</thead><tbody>
<tr>
<td>deleteAllVisibleCookies</td>
<td></td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Double check that all People links are correct</td>
<td></td>
</tr>
<!--Double check that all People links are correct-->
<tr>
<td>open</td>
<td>/vivo/</td>
@ -49,11 +27,7 @@
<td>VIVO</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Must not be logged in</td>
<td></td>
</tr>
<!--Must not be logged in-->
<tr>
<td>clickAndWait</td>
<td>link=Log in</td>
@ -64,11 +38,7 @@
<td>Log in to VIVO</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Must login as site admin</td>
<td></td>
</tr>
<!--Must login as site admin-->
<tr>
<td>type</td>
<td>loginName</td>
@ -104,11 +74,7 @@
<td>link=Faculty Member (1)</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Verify that Lilly Librarian appears in Faculty and Librarians</td>
<td></td>
</tr>
<!--Verify that Lilly Librarian appears in Faculty and Librarians-->
<tr>
<td>assertTitle</td>
<td>People</td>
@ -129,11 +95,7 @@
<td>Librarian, Lily</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Logout</td>
<td></td>
</tr>
<!--Logout-->
<tr>
<td>clickAndWait</td>
<td>link=Home</td>

View file

@ -5,40 +5,18 @@
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="selenium.base" href="" />
<title>CreateFacultyMember</title>
<style type="text/css">
.testName {
color: blue;
background: rgb(80%, 80%, 80%);
font-family: sans-serif;
font-weight: bold;
font-size: larger;
text-align: center;
}
.comment {
color: blue;
background: rgb(80%, 80%, 80%);
font-family: sans-serif;
font-weight: bold;
font-size: larger;
text-align: center;
}
</style>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3" class="testName">CreateFacultyMember</td></tr>
<tr><td rowspan="1" colspan="3">CreateFacultyMember</td></tr>
</thead><tbody>
<tr>
<td>deleteAllVisibleCookies</td>
<td></td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Add a Faculty member named Jane Faculty</td>
<td></td>
</tr>
<!--Add a Faculty member named Jane Faculty-->
<tr>
<td>open</td>
<td>/vivo/</td>
@ -49,11 +27,7 @@
<td>VIVO</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Must be logged off to start</td>
<td></td>
</tr>
<!--Must be logged off to start-->
<tr>
<td>clickAndWait</td>
<td>link=Log in</td>
@ -64,11 +38,7 @@
<td>Log in to VIVO</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Must login as the site admin</td>
<td></td>
</tr>
<!--Must login as the site admin-->
<tr>
<td>type</td>
<td>loginName</td>
@ -119,11 +89,7 @@
<td>Edit</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Add Jane Faculty</td>
<td></td>
</tr>
<!--Add Jane Faculty-->
<tr>
<td>type</td>
<td>firstName</td>
@ -144,11 +110,7 @@
<td>Faculty, Jane</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Make Jane Faculty an Assistant Professor</td>
<td></td>
</tr>
<!--Make Jane Faculty an Assistant Professor-->
<tr>
<td>clickAndWait</td>
<td>css=a.add-preferredTitle &gt; img.add-individual</td>
@ -179,11 +141,7 @@
<td>Faculty, Jane</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Verify that account was created</td>
<td></td>
</tr>
<!--Verify that account was created-->
<tr>
<td>verifyTextPresent</td>
<td>Faculty, Jane</td>
@ -194,11 +152,7 @@
<td>Assistant Professor</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Logout</td>
<td></td>
</tr>
<!--Logout-->
<tr>
<td>clickAndWait</td>
<td>link=Home</td>

View file

@ -5,29 +5,11 @@
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="selenium.base" href="" />
<title>CreateLibrarian</title>
<style type="text/css">
.testName {
color: blue;
background: rgb(80%, 80%, 80%);
font-family: sans-serif;
font-weight: bold;
font-size: larger;
text-align: center;
}
.comment {
color: blue;
background: rgb(80%, 80%, 80%);
font-family: sans-serif;
font-weight: bold;
font-size: larger;
text-align: center;
}
</style>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3" class="testName">CreateLibrarian</td></tr>
<tr><td rowspan="1" colspan="3">CreateLibrarian</td></tr>
</thead><tbody>
<tr>
<td>deleteAllVisibleCookies</td>
@ -39,11 +21,7 @@
<td>100000</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Create Librarian person</td>
<td></td>
</tr>
<!--Create Librarian person-->
<tr>
<td>open</td>
<td>/vivo/</td>
@ -54,11 +32,7 @@
<td>VIVO</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Must not be logged in already</td>
<td></td>
</tr>
<!--Must not be logged in already-->
<tr>
<td>clickAndWait</td>
<td>link=Log in</td>
@ -69,11 +43,7 @@
<td>Log in to VIVO</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Must login as site admin</td>
<td></td>
</tr>
<!--Must login as site admin-->
<tr>
<td>type</td>
<td>loginName</td>
@ -99,11 +69,7 @@
<td>VIVO Site Administration</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Navigate to add new individual page</td>
<td></td>
</tr>
<!--Navigate to add new individual page-->
<tr>
<td>select</td>
<td>VClassURI</td>
@ -119,11 +85,7 @@
<td>Create a new Librarian</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Create a librarian individual</td>
<td></td>
</tr>
<!--Create a librarian individual-->
<tr>
<td>type</td>
<td>firstName</td>
@ -144,11 +106,7 @@
<td>Librarian, Lily</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Make individual an Assistant Librarian</td>
<td></td>
</tr>
<!--Make individual an Assistant Librarian-->
<tr>
<td>clickAndWait</td>
<td>css=a.add-preferredTitle &gt; img.add-individual</td>
@ -184,11 +142,7 @@
<td>10000</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Verify that librarian was added sucessfully</td>
<td></td>
</tr>
<!--Verify that librarian was added sucessfully-->
<tr>
<td>verifyTextPresent</td>
<td>Librarian, Lily</td>
@ -199,11 +153,7 @@
<td>Assistant Librarian</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Browse for new librarian</td>
<td></td>
</tr>
<!--Browse for new librarian-->
<tr>
<td>clickAndWait</td>
<td>link=Index</td>
@ -259,11 +209,7 @@
<td>Librarian, Lily Assistant Librarian</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Search for new librarian</td>
<td></td>
</tr>
<!--Search for new librarian-->
<tr>
<td>type</td>
<td>querytext</td>
@ -294,11 +240,7 @@
<td>Librarian, Lily Assistant Librarian</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Logout</td>
<td></td>
</tr>
<!--Logout-->
<tr>
<td>clickAndWait</td>
<td>link=Home</td>

View file

@ -5,29 +5,11 @@
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="selenium.base" href="" />
<title>DeleteFacultyImage</title>
<style type="text/css">
.testName {
color: blue;
background: rgb(80%, 80%, 80%);
font-family: sans-serif;
font-weight: bold;
font-size: larger;
text-align: center;
}
.comment {
color: blue;
background: rgb(80%, 80%, 80%);
font-family: sans-serif;
font-weight: bold;
font-size: larger;
text-align: center;
}
</style>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3" class="testName">DeleteFacultyImage</td></tr>
<tr><td rowspan="1" colspan="3">DeleteFacultyImage</td></tr>
</thead><tbody>
<tr>
<td>deleteAllVisibleCookies</td>
@ -39,11 +21,7 @@
<td>100000</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Delete the uploaded picture for Jane Faculty in the backend</td>
<td></td>
</tr>
<!--Delete the uploaded picture for Jane Faculty in the backend-->
<tr>
<td>open</td>
<td>/vivo/</td>
@ -54,11 +32,7 @@
<td>VIVO</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Must not be logged in</td>
<td></td>
</tr>
<!--Must not be logged in-->
<tr>
<td>clickAndWait</td>
<td>link=Log in</td>
@ -69,11 +43,7 @@
<td>Log in to VIVO</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Must log in as site admin</td>
<td></td>
</tr>
<!--Must log in as site admin-->
<tr>
<td>type</td>
<td>loginName</td>
@ -89,11 +59,7 @@
<td>loginForm</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Navigate to Jane Faculty</td>
<td></td>
</tr>
<!--Navigate to Jane Faculty-->
<tr>
<td>clickAndWait</td>
<td>link=Index</td>
@ -114,11 +80,7 @@
<td>link=Faculty, Jane</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Verify picture does exist</td>
<td></td>
</tr>
<!--Verify picture does exist-->
<tr>
<td>assertTitle</td>
<td>Faculty, Jane</td>
@ -129,11 +91,7 @@
<td>//img[@title='click to view larger image']@src</td>
<td>/vivo/file/*/thumbnail_Jane2.jpg</td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Select to delete the picture</td>
<td></td>
</tr>
<!--Select to delete the picture-->
<tr>
<td>clickAndWait</td>
<td>//img[@alt='delete']</td>
@ -179,11 +137,7 @@
<td>//img[@title='no image']</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Logout</td>
<td></td>
</tr>
<!--Logout-->
<tr>
<td>clickAndWait</td>
<td>link=Home</td>

View file

@ -5,29 +5,11 @@
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="selenium.base" href="" />
<title>DeleteFacultyInfo</title>
<style type="text/css">
.testName {
color: blue;
background: rgb(80%, 80%, 80%);
font-family: sans-serif;
font-weight: bold;
font-size: larger;
text-align: center;
}
.comment {
color: blue;
background: rgb(80%, 80%, 80%);
font-family: sans-serif;
font-weight: bold;
font-size: larger;
text-align: center;
}
</style>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3" class="testName">DeleteFacultyInfo</td></tr>
<tr><td rowspan="1" colspan="3">DeleteFacultyInfo</td></tr>
</thead><tbody>
<tr>
<td>deleteAllVisibleCookies</td>
@ -39,11 +21,7 @@
<td>200000</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Delete all fields added by *FacultyInfo test casesd</td>
<td></td>
</tr>
<!--Delete all fields added by *FacultyInfo test casesd-->
<tr>
<td>open</td>
<td>/vivo/</td>
@ -54,11 +32,7 @@
<td>VIVO</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Must not be logged in</td>
<td></td>
</tr>
<!--Must not be logged in-->
<tr>
<td>clickAndWait</td>
<td>link=Log in</td>
@ -69,11 +43,7 @@
<td>Log in to VIVO</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Must log in as site admin</td>
<td></td>
</tr>
<!--Must log in as site admin-->
<tr>
<td>type</td>
<td>loginName</td>
@ -89,11 +59,7 @@
<td>loginForm</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Find Jane Faculty via Index</td>
<td></td>
</tr>
<!--Find Jane Faculty via Index-->
<tr>
<td>clickAndWait</td>
<td>link=Index</td>
@ -124,11 +90,7 @@
<td>Faculty, Jane</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Delete top info</td>
<td></td>
</tr>
<!--Delete top info-->
<tr>
<td>clickAndWait</td>
<td>css=a.delete-overview &gt; img.delete-individual</td>
@ -344,11 +306,7 @@
<td>Faculty, Jane</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Delete Affiliation info</td>
<td></td>
</tr>
<!--Delete Affiliation info-->
<tr>
<td>clickAndWait</td>
<td>css=a.delete-hasCollaborator &gt; img.delete-individual</td>
@ -369,11 +327,7 @@
<td>Faculty, Jane</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Delete Research info</td>
<td></td>
</tr>
<!--Delete Research info-->
<tr>
<td>clickAndWait</td>
<td>css=a.delete-researchOverview &gt; img.delete-individual</td>
@ -454,11 +408,7 @@
<td>Faculty, Jane</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Delete Teaching info</td>
<td></td>
</tr>
<!--Delete Teaching info-->
<tr>
<td>clickAndWait</td>
<td>css=a.delete-teachingOverview &gt; img.delete-individual</td>
@ -519,11 +469,7 @@
<td>Faculty, Jane</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Delete Service info</td>
<td></td>
</tr>
<!--Delete Service info-->
<tr>
<td>clickAndWait</td>
<td>css=a.delete-outreachOverview &gt; img.delete-individual</td>
@ -544,11 +490,7 @@
<td>Faculty, Jane</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Delete Background info</td>
<td></td>
</tr>
<!--Delete Background info-->
<tr>
<td>clickAndWait</td>
<td>css=a.delete-eligibleFor &gt; img.delete-individual</td>
@ -709,11 +651,7 @@
<td>Faculty, Jane</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Delete Contact info</td>
<td></td>
</tr>
<!--Delete Contact info-->
<tr>
<td>clickAndWait</td>
<td>css=a.delete-firstName &gt; img.delete-individual</td>
@ -894,11 +832,7 @@
<td>Faculty, Jane</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Delete Identity info</td>
<td></td>
</tr>
<!--Delete Identity info-->
<tr>
<td>clickAndWait</td>
<td>css=a.delete-orcidId &gt; img.delete-individual</td>
@ -1059,11 +993,7 @@
<td>Faculty, Jane</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Delete Other info</td>
<td></td>
</tr>
<!--Delete Other info-->
<tr>
<td>clickAndWait</td>
<td>css=a.delete-assigneeFor &gt; img.delete-individual</td>
@ -1144,11 +1074,7 @@
<td>Faculty, Jane</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Verify everything is gone</td>
<td></td>
</tr>
<!--Verify everything is gone-->
<tr>
<td>verifyTextNotPresent</td>
<td>I am named after Jane in the Tarzan stories. Yes, my last name really is faculty. </td>
@ -1429,11 +1355,7 @@
<td>3333333</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Delete Index stuff</td>
<td></td>
</tr>
<!--Delete Index stuff-->
<tr>
<td>clickAndWait</td>
<td>link=Index</td>
@ -2709,11 +2631,7 @@
<td>Index of Contents</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Delete country added</td>
<td></td>
</tr>
<!--Delete country added-->
<tr>
<td>clickAndWait</td>
<td>link=Index</td>
@ -2794,11 +2712,7 @@
<td>VIVO Site Administration</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Logout</td>
<td></td>
</tr>
<!--Logout-->
<tr>
<td>clickAndWait</td>
<td>link=Home</td>

View file

@ -5,29 +5,11 @@
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="selenium.base" href="" />
<title>DeleteLibtoFacAssociation</title>
<style type="text/css">
.testName {
color: blue;
background: rgb(80%, 80%, 80%);
font-family: sans-serif;
font-weight: bold;
font-size: larger;
text-align: center;
}
.comment {
color: blue;
background: rgb(80%, 80%, 80%);
font-family: sans-serif;
font-weight: bold;
font-size: larger;
text-align: center;
}
</style>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3" class="testName">DeleteLibtoFacAssociation</td></tr>
<tr><td rowspan="1" colspan="3">DeleteLibtoFacAssociation</td></tr>
</thead><tbody>
<tr>
<td>deleteAllVisibleCookies</td>
@ -39,11 +21,7 @@
<td>100000</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Delete Librarian-to-Faculty association</td>
<td></td>
</tr>
<!--Delete Librarian-to-Faculty association-->
<tr>
<td>open</td>
<td>/vivo/</td>
@ -54,11 +32,7 @@
<td>VIVO</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Must be logged off to start</td>
<td></td>
</tr>
<!--Must be logged off to start-->
<tr>
<td>clickAndWait</td>
<td>link=Log in</td>
@ -69,11 +43,7 @@
<td>Log in to VIVO</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Must login as the site admin</td>
<td></td>
</tr>
<!--Must login as the site admin-->
<tr>
<td>type</td>
<td>loginName</td>
@ -99,11 +69,7 @@
<td>VIVO Site Administration</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Make the change</td>
<td></td>
</tr>
<!--Make the change-->
<tr>
<td>clickAndWait</td>
<td>link=Class hierarchy</td>
@ -149,11 +115,7 @@
<td>Index of Contents</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Is association gone?</td>
<td></td>
</tr>
<!--Is association gone?-->
<tr>
<td>pause</td>
<td>50000</td>
@ -184,11 +146,7 @@
<td>Person (3)</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Log out</td>
<td></td>
</tr>
<!--Log out-->
<tr>
<td>clickAndWait</td>
<td>link=Home</td>

View file

@ -5,29 +5,11 @@
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="selenium.base" href="" />
<title>DeleteLibrarianImage</title>
<style type="text/css">
.testName {
color: blue;
background: rgb(80%, 80%, 80%);
font-family: sans-serif;
font-weight: bold;
font-size: larger;
text-align: center;
}
.comment {
color: blue;
background: rgb(80%, 80%, 80%);
font-family: sans-serif;
font-weight: bold;
font-size: larger;
text-align: center;
}
</style>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3" class="testName">DeleteLibrarianImage</td></tr>
<tr><td rowspan="1" colspan="3">DeleteLibrarianImage</td></tr>
</thead><tbody>
<tr>
<td>deleteAllVisibleCookies</td>
@ -39,11 +21,7 @@
<td>200000</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Delete the uploaded picture for Lily Librarian in the frontend</td>
<td></td>
</tr>
<!--Delete the uploaded picture for Lily Librarian in the frontend-->
<tr>
<td>open</td>
<td>/vivo/</td>
@ -54,11 +32,7 @@
<td>VIVO</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Must not be logged in</td>
<td></td>
</tr>
<!--Must not be logged in-->
<tr>
<td>clickAndWait</td>
<td>link=Log in</td>
@ -69,11 +43,7 @@
<td>Log in to VIVO</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Must log in as site admin</td>
<td></td>
</tr>
<!--Must log in as site admin-->
<tr>
<td>type</td>
<td>loginName</td>
@ -89,11 +59,7 @@
<td>loginForm</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Navigate to Lily Librarian</td>
<td></td>
</tr>
<!--Navigate to Lily Librarian-->
<tr>
<td>clickAndWait</td>
<td>link=Index</td>
@ -114,11 +80,7 @@
<td>link=Librarian, Lily</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Select to delete the picture</td>
<td></td>
</tr>
<!--Select to delete the picture-->
<tr>
<td>clickAndWait</td>
<td>//img[@alt='delete']</td>
@ -159,11 +121,7 @@
<td>//img[@title='no image']</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Logout</td>
<td></td>
</tr>
<!--Logout-->
<tr>
<td>clickAndWait</td>
<td>link=Home</td>

View file

@ -5,29 +5,11 @@
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="selenium.base" href="" />
<title>DeleteTestPeople</title>
<style type="text/css">
.testName {
color: blue;
background: rgb(80%, 80%, 80%);
font-family: sans-serif;
font-weight: bold;
font-size: larger;
text-align: center;
}
.comment {
color: blue;
background: rgb(80%, 80%, 80%);
font-family: sans-serif;
font-weight: bold;
font-size: larger;
text-align: center;
}
</style>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3" class="testName">DeleteTestPeople</td></tr>
<tr><td rowspan="1" colspan="3">DeleteTestPeople</td></tr>
</thead><tbody>
<tr>
<td>deleteAllVisibleCookies</td>
@ -39,11 +21,7 @@
<td>100000</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Delete new people Jane Faculty and Lilly Librarian</td>
<td></td>
</tr>
<!--Delete new people Jane Faculty and Lilly Librarian-->
<tr>
<td>open</td>
<td>/vivo/</td>
@ -54,11 +32,7 @@
<td>VIVO</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Must not be logged in</td>
<td></td>
</tr>
<!--Must not be logged in-->
<tr>
<td>clickAndWait</td>
<td>link=Log in</td>
@ -69,11 +43,7 @@
<td>Log in to VIVO</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Must log in as site admin</td>
<td></td>
</tr>
<!--Must log in as site admin-->
<tr>
<td>type</td>
<td>loginName</td>
@ -89,11 +59,7 @@
<td>loginForm</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Navigate to Jane Faculty</td>
<td></td>
</tr>
<!--Navigate to Jane Faculty-->
<tr>
<td>type</td>
<td>querytext</td>
@ -124,11 +90,7 @@
<td>Individual Control Panel</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Delete Jane Faculty</td>
<td></td>
</tr>
<!--Delete Jane Faculty-->
<tr>
<td>clickAndWait</td>
<td>//input[@value=&quot;Edit This Individual&quot;]</td>
@ -159,11 +121,7 @@
<td>VIVO Site Administration</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Navigate to Mary Marienkäfer</td>
<td></td>
</tr>
<!--Navigate to Mary Marienkäfer-->
<tr>
<td>type</td>
<td>querytext</td>
@ -194,11 +152,7 @@
<td>Individual Control Panel</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Delete Mary Marienkäfer</td>
<td></td>
</tr>
<!--Delete Mary Marienkäfer-->
<tr>
<td>clickAndWait</td>
<td>//input[@value=&quot;Edit This Individual&quot;]</td>
@ -229,11 +183,7 @@
<td>VIVO Site Administration</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Navigate to Lilly Librarian</td>
<td></td>
</tr>
<!--Navigate to Lilly Librarian-->
<tr>
<td>type</td>
<td>querytext</td>
@ -264,11 +214,7 @@
<td>Individual Control Panel</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Delete Lilly Librarian</td>
<td></td>
</tr>
<!--Delete Lilly Librarian-->
<tr>
<td>clickAndWait</td>
<td>//input[@value=&quot;Edit This Individual&quot;]</td>
@ -299,11 +245,7 @@
<td>VIVO Site Administration</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Verify Jane Faculty and Lilly Librarian are gone</td>
<td></td>
</tr>
<!--Verify Jane Faculty and Lilly Librarian are gone-->
<tr>
<td>type</td>
<td>querytext</td>
@ -339,11 +281,7 @@
<td>Librarian, Lily</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Logout</td>
<td></td>
</tr>
<!--Logout-->
<tr>
<td>clickAndWait</td>
<td>link=Home</td>

View file

@ -5,40 +5,18 @@
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="selenium.base" href="" />
<title>DeleteTestTabs</title>
<style type="text/css">
.testName {
color: blue;
background: rgb(80%, 80%, 80%);
font-family: sans-serif;
font-weight: bold;
font-size: larger;
text-align: center;
}
.comment {
color: blue;
background: rgb(80%, 80%, 80%);
font-family: sans-serif;
font-weight: bold;
font-size: larger;
text-align: center;
}
</style>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3" class="testName">DeleteTestTabs</td></tr>
<tr><td rowspan="1" colspan="3">DeleteTestTabs</td></tr>
</thead><tbody>
<tr>
<td>deleteAllVisibleCookies</td>
<td></td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Delete test Tabs--not a test because this is tested in another suite</td>
<td></td>
</tr>
<!--Delete test Tabs--not a test because this is tested in another suite-->
<tr>
<td>open</td>
<td>/vivo/</td>
@ -49,11 +27,7 @@
<td>VIVO</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Must not be logged in</td>
<td></td>
</tr>
<!--Must not be logged in-->
<tr>
<td>clickAndWait</td>
<td>link=Log in</td>
@ -64,11 +38,7 @@
<td>Log in to VIVO</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Must login as site admin</td>
<td></td>
</tr>
<!--Must login as site admin-->
<tr>
<td>type</td>
<td>loginName</td>
@ -99,11 +69,7 @@
<td>VIVO Site Administration</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Navigate to Tab Management</td>
<td></td>
</tr>
<!--Navigate to Tab Management-->
<tr>
<td>clickAndWait</td>
<td>link=Tab management</td>
@ -234,11 +200,7 @@
<td>Tabs</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Logout</td>
<td></td>
</tr>
<!--Logout-->
<tr>
<td>clickAndWait</td>
<td>link=Home</td>

View file

@ -5,29 +5,11 @@
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="selenium.base" href="" />
<title>EditFacultyInfo</title>
<style type="text/css">
.testName {
color: blue;
background: rgb(80%, 80%, 80%);
font-family: sans-serif;
font-weight: bold;
font-size: larger;
text-align: center;
}
.comment {
color: blue;
background: rgb(80%, 80%, 80%);
font-family: sans-serif;
font-weight: bold;
font-size: larger;
text-align: center;
}
</style>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3" class="testName">EditFacultyInfo</td></tr>
<tr><td rowspan="1" colspan="3">EditFacultyInfo</td></tr>
</thead><tbody>
<tr>
<td>deleteAllVisibleCookies</td>
@ -39,11 +21,7 @@
<td>200000</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Edit all available fields that aren't tested elsewhere</td>
<td></td>
</tr>
<!--Edit all available fields that aren't tested elsewhere-->
<tr>
<td>open</td>
<td>/vivo/</td>
@ -54,11 +32,7 @@
<td>VIVO</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Must not be logged in</td>
<td></td>
</tr>
<!--Must not be logged in-->
<tr>
<td>clickAndWait</td>
<td>link=Log in</td>
@ -69,11 +43,7 @@
<td>Log in to VIVO</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Must log in as site admin</td>
<td></td>
</tr>
<!--Must log in as site admin-->
<tr>
<td>type</td>
<td>loginName</td>
@ -89,11 +59,7 @@
<td>loginForm</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Find Jane Faculty via Index</td>
<td></td>
</tr>
<!--Find Jane Faculty via Index-->
<tr>
<td>clickAndWait</td>
<td>link=Index</td>
@ -124,11 +90,7 @@
<td>Faculty, Jane</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Edit all fields</td>
<td></td>
</tr>
<!--Edit all fields-->
<tr>
<td>clickAndWait</td>
<td>css=a.add-hasResearchArea &gt; img.add-individual</td>
@ -824,11 +786,7 @@
<td>Faculty, Jane</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Edit new release 1.3 fields</td>
<td></td>
</tr>
<!--Edit new release 1.3 fields-->
<tr>
<td>clickAndWait</td>
<td>css=a.edit-eligibleFor &gt; img.edit-individual</td>
@ -974,11 +932,7 @@
<td>Faculty, Jane</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Verify all fields updated</td>
<td></td>
</tr>
<!--Verify all fields updated-->
<tr>
<td>clickAndWait</td>
<td>link=Index</td>
@ -1174,11 +1128,7 @@
<td>link=USA1234567890</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Logout</td>
<td></td>
</tr>
<!--Logout-->
<tr>
<td>clickAndWait</td>
<td>link=Home</td>

View file

@ -5,40 +5,18 @@
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="selenium.base" href="" />
<title>PublicFacultyInfo</title>
<style type="text/css">
.testName {
color: blue;
background: rgb(80%, 80%, 80%);
font-family: sans-serif;
font-weight: bold;
font-size: larger;
text-align: center;
}
.comment {
color: blue;
background: rgb(80%, 80%, 80%);
font-family: sans-serif;
font-weight: bold;
font-size: larger;
text-align: center;
}
</style>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3" class="testName">PublicFacultyInfo</td></tr>
<tr><td rowspan="1" colspan="3">PublicFacultyInfo</td></tr>
</thead><tbody>
<tr>
<td>deleteAllVisibleCookies</td>
<td></td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Check what the public will see from *FacultyInfo test cases</td>
<td></td>
</tr>
<!--Check what the public will see from *FacultyInfo test cases-->
<tr>
<td>open</td>
<td>/vivo/</td>
@ -49,16 +27,8 @@
<td>VIVO</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Do not login</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Find Jane Faculty via Index</td>
<td></td>
</tr>
<!--Do not login-->
<!--Find Jane Faculty via Index-->
<tr>
<td>clickAndWait</td>
<td>link=Index</td>
@ -89,11 +59,7 @@
<td>Faculty, Jane</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Verify fields that should and shouldn't be present</td>
<td></td>
</tr>
<!--Verify fields that should and shouldn't be present-->
<tr>
<td>verifyTextPresent</td>
<td>Faculty, Jane Assistant Professor</td>
@ -374,11 +340,7 @@
<td>3333333</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Logout</td>
<td></td>
</tr>
<!--Logout-->
<tr>
<td>open</td>
<td>/vivo/</td>

View file

@ -5,35 +5,13 @@
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="selenium.base" href="http://localhost:8080/vivo" />
<title>RebuildSearchIndex</title>
<style type="text/css">
.testName {
color: blue;
background: rgb(80%, 80%, 80%);
font-family: sans-serif;
font-weight: bold;
font-size: larger;
text-align: center;
}
.comment {
color: blue;
background: rgb(80%, 80%, 80%);
font-family: sans-serif;
font-weight: bold;
font-size: larger;
text-align: center;
}
</style>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3" class="testName">RebuildSearchIndex</td></tr>
<tr><td rowspan="1" colspan="3">RebuildSearchIndex</td></tr>
</thead><tbody>
<tr>
<td>comment</td>
<td class="comment">Rebuild Search Index</td>
<td></td>
</tr>
<!--Rebuild Search Index-->
<tr>
<td>deleteAllVisibleCookies</td>
<td></td>

View file

@ -5,29 +5,11 @@
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="selenium.base" href="" />
<title>EditSiteInfo</title>
<style type="text/css">
.testName {
color: blue;
background: rgb(80%, 80%, 80%);
font-family: sans-serif;
font-weight: bold;
font-size: larger;
text-align: center;
}
.comment {
color: blue;
background: rgb(80%, 80%, 80%);
font-family: sans-serif;
font-weight: bold;
font-size: larger;
text-align: center;
}
</style>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3" class="testName">EditSiteInfo</td></tr>
<tr><td rowspan="1" colspan="3">EditSiteInfo</td></tr>
</thead><tbody>
<tr>
<td>deleteAllVisibleCookies</td>
@ -39,11 +21,7 @@
<td>10000000</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Test Menu Management</td>
<td></td>
</tr>
<!--Test Menu Management-->
<tr>
<td>open</td>
<td>/vivo/</td>
@ -54,11 +32,7 @@
<td>VIVO</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Must be logged out</td>
<td></td>
</tr>
<!--Must be logged out-->
<tr>
<td>clickAndWait</td>
<td>link=Log in</td>
@ -69,11 +43,7 @@
<td>Log in to VIVO</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Must login as site admin</td>
<td></td>
</tr>
<!--Must login as site admin-->
<tr>
<td>type</td>
<td>loginName</td>
@ -89,11 +59,7 @@
<td>loginForm</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Navigate to Menu Management</td>
<td></td>
</tr>
<!--Navigate to Menu Management-->
<tr>
<td>clickAndWait</td>
<td>link=Site Admin</td>
@ -114,11 +80,7 @@
<td>Default Menu</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Verify default tabs</td>
<td></td>
</tr>
<!--Verify default tabs-->
<tr>
<td>verifyTextPresent</td>
<td>Home</td>
@ -144,11 +106,7 @@
<td>Events</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Verify default People URL</td>
<td></td>
</tr>
<!--Verify default People URL-->
<tr>
<td>open</td>
<td>http://localhost:8080/vivo/people</td>
@ -199,11 +157,7 @@
<td>link=rebuilding the search index</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Verify default Organizations URL</td>
<td></td>
</tr>
<!--Verify default Organizations URL-->
<tr>
<td>open</td>
<td>http://localhost:8080/vivo/organizations</td>
@ -254,11 +208,7 @@
<td>link=rebuilding the search index</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Verify default Research URL</td>
<td></td>
</tr>
<!--Verify default Research URL-->
<tr>
<td>open</td>
<td>http://localhost:8080/vivo/research</td>
@ -309,11 +259,7 @@
<td>link=rebuilding the search index</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Verify default Events URL</td>
<td></td>
</tr>
<!--Verify default Events URL-->
<tr>
<td>open</td>
<td>http://localhost:8080/vivo/events</td>
@ -364,11 +310,7 @@
<td>link=rebuilding the search index</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Verify default People tab</td>
<td></td>
</tr>
<!--Verify default People tab-->
<tr>
<td>clickAndWait</td>
<td>link=People</td>
@ -419,11 +361,7 @@
<td>link=rebuilding the search index</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Verify default Organizations tab</td>
<td></td>
</tr>
<!--Verify default Organizations tab-->
<tr>
<td>clickAndWait</td>
<td>link=Organizations</td>
@ -474,11 +412,7 @@
<td>link=rebuilding the search index</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Verify default Research tab</td>
<td></td>
</tr>
<!--Verify default Research tab-->
<tr>
<td>clickAndWait</td>
<td>link=Research</td>
@ -529,11 +463,7 @@
<td>link=rebuilding the search index</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Verify default Events tab</td>
<td></td>
</tr>
<!--Verify default Events tab-->
<tr>
<td>clickAndWait</td>
<td>link=Events</td>
@ -584,11 +514,7 @@
<td>link=rebuilding the search index</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Logout</td>
<td></td>
</tr>
<!--Logout-->
<tr>
<td>clickAndWait</td>
<td>link=Home</td>

View file

@ -5,29 +5,11 @@
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="selenium.base" href="" />
<title>CreateFacultyMember</title>
<style type="text/css">
.testName {
color: blue;
background: rgb(80%, 80%, 80%);
font-family: sans-serif;
font-weight: bold;
font-size: larger;
text-align: center;
}
.comment {
color: blue;
background: rgb(80%, 80%, 80%);
font-family: sans-serif;
font-weight: bold;
font-size: larger;
text-align: center;
}
</style>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3" class="testName">CreateFacultyMember</td></tr>
<tr><td rowspan="1" colspan="3">CreateFacultyMember</td></tr>
</thead><tbody>
<tr>
<td>deleteAllVisibleCookies</td>
@ -39,11 +21,7 @@
<td>10000000</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Add people and reorder them</td>
<td></td>
</tr>
<!--Add people and reorder them-->
<tr>
<td>open</td>
<td>/vivo/</td>
@ -54,11 +32,7 @@
<td>VIVO</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Must be logged off to start</td>
<td></td>
</tr>
<!--Must be logged off to start-->
<tr>
<td>clickAndWait</td>
<td>link=Log in</td>
@ -69,11 +43,7 @@
<td>Log in to VIVO</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Must login as the site admin</td>
<td></td>
</tr>
<!--Must login as the site admin-->
<tr>
<td>type</td>
<td>loginName</td>
@ -89,11 +59,7 @@
<td>loginForm</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Add 4 people</td>
<td></td>
</tr>
<!--Add 4 people-->
<tr>
<td>clickAndWait</td>
<td>link=Site Admin</td>
@ -269,11 +235,7 @@
<td>Booth, Susie</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Add all people as Susie's collaborators</td>
<td></td>
</tr>
<!--Add all people as Susie's collaborators-->
<tr>
<td>clickAndWait</td>
<td>css=a.add-hasCollaborator &gt; img.add-individual</td>
@ -364,11 +326,7 @@
<td>Booth, Susie</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Verify order is ascending</td>
<td></td>
</tr>
<!--Verify order is ascending-->
<tr>
<td>verifyElementPresent</td>
<td>css=#hasCollaboratorList &gt; li</td>
@ -384,11 +342,7 @@
<td>//ul[@id='hasCollaboratorList']/li[3]</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Turn on verbose & update object property</td>
<td></td>
</tr>
<!--Turn on verbose & update object property-->
<tr>
<td>clickAndWait</td>
<td>id=verbosePropertySwitch</td>
@ -434,11 +388,7 @@
<td>Object Property Control Panel</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Verify order is descending</td>
<td></td>
</tr>
<!--Verify order is descending-->
<tr>
<td>clickAndWait</td>
<td>link=Index</td>
@ -484,11 +434,7 @@
<td>//ul[@id='hasCollaboratorList']/li[3]</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Change order back to ascending</td>
<td></td>
</tr>
<!--Change order back to ascending-->
<tr>
<td>clickAndWait</td>
<td>link=exact:vivo:hasCollaborator</td>
@ -564,11 +510,7 @@
<td>Booth, Susie</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Verify order is ascending again</td>
<td></td>
</tr>
<!--Verify order is ascending again-->
<tr>
<td>verifyElementPresent</td>
<td>css=#hasCollaboratorList &gt; li</td>
@ -584,11 +526,7 @@
<td>//ul[@id='hasCollaboratorList']/li[3]</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Delete test people</td>
<td></td>
</tr>
<!--Delete test people-->
<tr>
<td>clickAndWait</td>
<td>link=Index</td>
@ -869,11 +807,7 @@
<td>VIVO Site Administration</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Logout</td>
<td></td>
</tr>
<!--Logout-->
<tr>
<td>clickAndWait</td>
<td>link=Home</td>

View file

@ -5,40 +5,18 @@
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="selenium.base" href="" />
<title>SearchFacultyInfo</title>
<style type="text/css">
.testName {
color: blue;
background: rgb(80%, 80%, 80%);
font-family: sans-serif;
font-weight: bold;
font-size: larger;
text-align: center;
}
.comment {
color: blue;
background: rgb(80%, 80%, 80%);
font-family: sans-serif;
font-weight: bold;
font-size: larger;
text-align: center;
}
</style>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3" class="testName">SearchFacultyInfo</td></tr>
<tr><td rowspan="1" colspan="3">SearchFacultyInfo</td></tr>
</thead><tbody>
<tr>
<td>deleteAllVisibleCookies</td>
<td></td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Search data from *FacultyInfo test cases</td>
<td></td>
</tr>
<!--Search data from *FacultyInfo test cases-->
<tr>
<td>open</td>
<td>/vivo/</td>
@ -49,21 +27,9 @@
<td>VIVO</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Do not login</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Let the searching begin</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Search for APE</td>
<td></td>
</tr>
<!--Do not login-->
<!--Let the searching begin-->
<!--Search for APE-->
<tr>
<td>type</td>
<td>querytext</td>
@ -129,11 +95,7 @@
<td>Faculty, Jane Assistant Professor</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Search for PRIMATE</td>
<td></td>
</tr>
<!--Search for PRIMATE-->
<tr>
<td>type</td>
<td>querytext</td>
@ -249,11 +211,7 @@
<td>Faculty, Jane Assistant Professor</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Search for CHIMP</td>
<td></td>
</tr>
<!--Search for CHIMP-->
<tr>
<td>type</td>
<td>querytext</td>
@ -299,11 +257,7 @@
<td>Faculty, Jane Assistant Professor</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Search for TARZAN</td>
<td></td>
</tr>
<!--Search for TARZAN-->
<tr>
<td>type</td>
<td>querytext</td>
@ -334,11 +288,7 @@
<td>Faculty, Jane Assistant Professor</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Search for MOZAMBIQUE</td>
<td></td>
</tr>
<!--Search for MOZAMBIQUE-->
<tr>
<td>type</td>
<td>querytext</td>
@ -384,11 +334,7 @@
<td>Faculty, Jane Assistant Professor</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Search for HUMAN</td>
<td></td>
</tr>
<!--Search for HUMAN-->
<tr>
<td>type</td>
<td>querytext</td>
@ -419,11 +365,7 @@
<td>Faculty, Jane Assistant Professor</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Go to VIVO homepage</td>
<td></td>
</tr>
<!--Go to VIVO homepage-->
<tr>
<td>open</td>
<td>/vivo/</td>

View file

@ -5,40 +5,18 @@
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="selenium.base" href="" />
<title>SearchPeople</title>
<style type="text/css">
.testName {
color: blue;
background: rgb(80%, 80%, 80%);
font-family: sans-serif;
font-weight: bold;
font-size: larger;
text-align: center;
}
.comment {
color: blue;
background: rgb(80%, 80%, 80%);
font-family: sans-serif;
font-weight: bold;
font-size: larger;
text-align: center;
}
</style>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3" class="testName">SearchPeople</td></tr>
<tr><td rowspan="1" colspan="3">SearchPeople</td></tr>
</thead><tbody>
<tr>
<td>deleteAllVisibleCookies</td>
<td></td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Search for Jane Faculty's first name only</td>
<td></td>
</tr>
<!--Search for Jane Faculty's first name only-->
<tr>
<td>type</td>
<td>querytext</td>
@ -69,11 +47,7 @@
<td>Faculty, Jane Assistant Professor</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Search for Jane Faculty's last name only</td>
<td></td>
</tr>
<!--Search for Jane Faculty's last name only-->
<tr>
<td>type</td>
<td>querytext</td>
@ -104,11 +78,7 @@
<td>Faculty, Jane Assistant Professor</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Search for Jane Faculty's full name</td>
<td></td>
</tr>
<!--Search for Jane Faculty's full name-->
<tr>
<td>type</td>
<td>querytext</td>
@ -139,11 +109,7 @@
<td>Faculty, Jane Assistant Professor</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Search for Lily Librarian's first name only</td>
<td></td>
</tr>
<!--Search for Lily Librarian's first name only-->
<tr>
<td>type</td>
<td>querytext</td>
@ -174,11 +140,7 @@
<td>Librarian, Lily Assistant Librarian</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Search for Lilly Librarian's last name only</td>
<td></td>
</tr>
<!--Search for Lilly Librarian's last name only-->
<tr>
<td>type</td>
<td>querytext</td>
@ -209,11 +171,7 @@
<td>Librarian, Lily Assistant Librarian</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Search for Lilly Librarian's full name</td>
<td></td>
</tr>
<!--Search for Lilly Librarian's full name-->
<tr>
<td>type</td>
<td>querytext</td>
@ -244,11 +202,7 @@
<td>Librarian, Lily Assistant Librarian</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Go back to homepage</td>
<td></td>
</tr>
<!--Go back to homepage-->
<tr>
<td>clickAndWait</td>
<td>link=Home</td>

View file

@ -5,40 +5,18 @@
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="selenium.base" href="" />
<title>SetupTestTabs</title>
<style type="text/css">
.testName {
color: blue;
background: rgb(80%, 80%, 80%);
font-family: sans-serif;
font-weight: bold;
font-size: larger;
text-align: center;
}
.comment {
color: blue;
background: rgb(80%, 80%, 80%);
font-family: sans-serif;
font-weight: bold;
font-size: larger;
text-align: center;
}
</style>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3" class="testName">SetupTestTabs</td></tr>
<tr><td rowspan="1" colspan="3">SetupTestTabs</td></tr>
</thead><tbody>
<tr>
<td>deleteAllVisibleCookies</td>
<td></td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Setup Tabs for test purposes--this is not really a test</td>
<td></td>
</tr>
<!--Setup Tabs for test purposes--this is not really a test-->
<tr>
<td>open</td>
<td>/vivo/</td>

View file

@ -5,29 +5,11 @@
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="selenium.base" href="" />
<title>CreateFacultyMember</title>
<style type="text/css">
.testName {
color: blue;
background: rgb(80%, 80%, 80%);
font-family: sans-serif;
font-weight: bold;
font-size: larger;
text-align: center;
}
.comment {
color: blue;
background: rgb(80%, 80%, 80%);
font-family: sans-serif;
font-weight: bold;
font-size: larger;
text-align: center;
}
</style>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3" class="testName">CreateFacultyMember</td></tr>
<tr><td rowspan="1" colspan="3">CreateFacultyMember</td></tr>
</thead><tbody>
<tr>
<td>deleteAllVisibleCookies</td>
@ -39,11 +21,7 @@
<td>10000000</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Add a Faculty member with a name containing unicode</td>
<td></td>
</tr>
<!--Add a Faculty member with a name containing unicode-->
<tr>
<td>open</td>
<td>/vivo/</td>
@ -54,11 +32,7 @@
<td>VIVO</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Must be logged off to start</td>
<td></td>
</tr>
<!--Must be logged off to start-->
<tr>
<td>clickAndWait</td>
<td>link=Log in</td>
@ -69,11 +43,7 @@
<td>Log in to VIVO</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Must login as the site admin</td>
<td></td>
</tr>
<!--Must login as the site admin-->
<tr>
<td>type</td>
<td>loginName</td>
@ -114,11 +84,7 @@
<td>//input[@value='Add individual of this class']</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Validate adding individual</td>
<td></td>
</tr>
<!--Validate adding individual-->
<tr>
<td>clickAndWait</td>
<td>link=Cancel</td>
@ -159,11 +125,7 @@
<td>submit</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Verify that Jane Faculty was created</td>
<td></td>
</tr>
<!--Verify that Jane Faculty was created-->
<tr>
<td>verifyTextPresent</td>
<td>Marienkäfer, Mary</td>
@ -174,11 +136,7 @@
<td>Faculty Member</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Search for new faculty member with umlauts</td>
<td></td>
</tr>
<!--Search for new faculty member with umlauts-->
<tr>
<td>type</td>
<td>querytext</td>
@ -219,11 +177,7 @@
<td>Marienkäfer, Mary Faculty Member</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Search for new faculty member without umlauts</td>
<td></td>
</tr>
<!--Search for new faculty member without umlauts-->
<tr>
<td>type</td>
<td>querytext</td>
@ -259,11 +213,7 @@
<td>Marienkäfer, Mary Faculty Member</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Logout</td>
<td></td>
</tr>
<!--Logout-->
<tr>
<td>clickAndWait</td>
<td>link=Home</td>

View file

@ -5,29 +5,11 @@
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="selenium.base" href="" />
<title>UploadFacultyImage</title>
<style type="text/css">
.testName {
color: blue;
background: rgb(80%, 80%, 80%);
font-family: sans-serif;
font-weight: bold;
font-size: larger;
text-align: center;
}
.comment {
color: blue;
background: rgb(80%, 80%, 80%);
font-family: sans-serif;
font-weight: bold;
font-size: larger;
text-align: center;
}
</style>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3" class="testName">UploadFacultyImage</td></tr>
<tr><td rowspan="1" colspan="3">UploadFacultyImage</td></tr>
</thead><tbody>
<tr>
<td>deleteAllVisibleCookies</td>
@ -39,11 +21,7 @@
<td>100000</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Upload image for Jane Faculty in the backend</td>
<td></td>
</tr>
<!--Upload image for Jane Faculty in the backend-->
<tr>
<td>open</td>
<td>/vivo/</td>
@ -54,11 +32,7 @@
<td>VIVO</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Must not be logged in</td>
<td></td>
</tr>
<!--Must not be logged in-->
<tr>
<td>clickAndWait</td>
<td>link=Log in</td>
@ -69,11 +43,7 @@
<td>Log in to VIVO</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Must log in as site admin</td>
<td></td>
</tr>
<!--Must log in as site admin-->
<tr>
<td>type</td>
<td>loginName</td>
@ -89,11 +59,7 @@
<td>loginForm</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Find Jane Faculty via Index</td>
<td></td>
</tr>
<!--Find Jane Faculty via Index-->
<tr>
<td>clickAndWait</td>
<td>link=Index</td>
@ -124,21 +90,13 @@
<td>Faculty, Jane</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Verify no photo currently exists</td>
<td></td>
</tr>
<!--Verify no photo currently exists-->
<tr>
<td>verifyElementPresent</td>
<td>//img[@title='no image']</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Select to upload an image</td>
<td></td>
</tr>
<!--Select to upload an image-->
<tr>
<td>clickAndWait</td>
<td>css=img.add-individual</td>
@ -169,11 +127,7 @@
<td>//img[@alt='Individual photo']</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Cancel out before adding a photo</td>
<td></td>
</tr>
<!--Cancel out before adding a photo-->
<tr>
<td>clickAndWait</td>
<td>link=Cancel</td>
@ -184,11 +138,7 @@
<td>Faculty, Jane</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Select a photo to add and then cancel out</td>
<td></td>
</tr>
<!--Select a photo to add and then cancel out-->
<tr>
<td>clickAndWait</td>
<td>css=img.add-individual</td>
@ -234,11 +184,7 @@
<td>Faculty, Jane</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Cancel after uploading the picture</td>
<td></td>
</tr>
<!--Cancel after uploading the picture-->
<tr>
<td>clickAndWait</td>
<td>css=img.add-individual</td>
@ -299,11 +245,7 @@
<td>Faculty, Jane</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Verify photo is not there</td>
<td></td>
</tr>
<!--Verify photo is not there-->
<tr>
<td>clickAndWait</td>
<td>link=Index</td>
@ -339,11 +281,7 @@
<td>//img[@title='click to view larger image']</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Now really add a photo</td>
<td></td>
</tr>
<!--Now really add a photo-->
<tr>
<td>clickAndWait</td>
<td>css=img.add-individual</td>
@ -414,11 +352,7 @@
<td>Faculty, Jane</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Verify photo is there</td>
<td></td>
</tr>
<!--Verify photo is there-->
<tr>
<td>clickAndWait</td>
<td>link=Index</td>
@ -449,11 +383,7 @@
<td>//img[@title='click to view larger image']@src</td>
<td>/vivo/file/*/thumbnail_Jane1.jpg</td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Logout</td>
<td></td>
</tr>
<!--Logout-->
<tr>
<td>clickAndWait</td>
<td>link=Home</td>

View file

@ -5,29 +5,11 @@
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="selenium.base" href="" />
<title>UploadLibrarianImage</title>
<style type="text/css">
.testName {
color: blue;
background: rgb(80%, 80%, 80%);
font-family: sans-serif;
font-weight: bold;
font-size: larger;
text-align: center;
}
.comment {
color: blue;
background: rgb(80%, 80%, 80%);
font-family: sans-serif;
font-weight: bold;
font-size: larger;
text-align: center;
}
</style>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3" class="testName">UploadLibrarianImage</td></tr>
<tr><td rowspan="1" colspan="3">UploadLibrarianImage</td></tr>
</thead><tbody>
<tr>
<td>deleteAllVisibleCookies</td>
@ -39,11 +21,7 @@
<td>100000</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Upload image for Lily Librarian in the frontend</td>
<td></td>
</tr>
<!--Upload image for Lily Librarian in the frontend-->
<tr>
<td>open</td>
<td>/vivo/</td>
@ -54,11 +32,7 @@
<td>VIVO</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Must not be logged in</td>
<td></td>
</tr>
<!--Must not be logged in-->
<tr>
<td>clickAndWait</td>
<td>link=Log in</td>
@ -69,11 +43,7 @@
<td>Log in to VIVO</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Must log in as site admin</td>
<td></td>
</tr>
<!--Must log in as site admin-->
<tr>
<td>type</td>
<td>loginName</td>
@ -94,11 +64,7 @@
<td>link=Index</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Find Lily Librarian via Index</td>
<td></td>
</tr>
<!--Find Lily Librarian via Index-->
<tr>
<td>verifyTextPresent</td>
<td>Librarian</td>
@ -124,21 +90,13 @@
<td>Librarian, Lily</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Verify no photo currently exists</td>
<td></td>
</tr>
<!--Verify no photo currently exists-->
<tr>
<td>verifyElementPresent</td>
<td>//img[@title='no image']</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Select to update this individual's picture</td>
<td></td>
</tr>
<!--Select to update this individual's picture-->
<tr>
<td>clickAndWait</td>
<td>//img[@alt='add']</td>
@ -169,11 +127,7 @@
<td>//img[@alt='Individual photo']</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Cancel out before adding a photo</td>
<td></td>
</tr>
<!--Cancel out before adding a photo-->
<tr>
<td>clickAndWait</td>
<td>link=Cancel</td>
@ -184,11 +138,7 @@
<td>Librarian, Lily</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Select a photo to add and then cancel out</td>
<td></td>
</tr>
<!--Select a photo to add and then cancel out-->
<tr>
<td>clickAndWait</td>
<td>//img[@alt='add']</td>
@ -234,11 +184,7 @@
<td>Librarian, Lily</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Cancel after uploading the picture</td>
<td></td>
</tr>
<!--Cancel after uploading the picture-->
<tr>
<td>clickAndWait</td>
<td>//img[@alt='add']</td>
@ -294,11 +240,7 @@
<td>Librarian, Lily</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Verify photo is not there</td>
<td></td>
</tr>
<!--Verify photo is not there-->
<tr>
<td>verifyElementPresent</td>
<td>//img[@title='no image']</td>
@ -309,11 +251,7 @@
<td>//img[@title='click to view larger image']</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Try to add an image that is smaller than required</td>
<td></td>
</tr>
<!--Try to add an image that is smaller than required-->
<tr>
<td>clickAndWait</td>
<td>//img[@alt='add']</td>
@ -364,11 +302,7 @@
<td>//img[@alt='Individual photo']</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Try to add an image that is larger than allowed</td>
<td></td>
</tr>
<!--Try to add an image that is larger than allowed-->
<tr>
<td>type</td>
<td>datafile</td>
@ -409,11 +343,7 @@
<td>//img[@alt='Individual photo']</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Now really add a photo</td>
<td></td>
</tr>
<!--Now really add a photo-->
<tr>
<td>assertTitle</td>
<td>Upload image for Librarian, Lily</td>
@ -444,11 +374,7 @@
<td>Librarian, Lily</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Verify photo is there</td>
<td></td>
</tr>
<!--Verify photo is there-->
<tr>
<td>assertTitle</td>
<td>Librarian, Lily</td>
@ -459,11 +385,7 @@
<td>//img[@title='click to view larger image']@src</td>
<td>/vivo/file/*/thumbnail_lily1.jpg</td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Logout</td>
<td></td>
</tr>
<!--Logout-->
<tr>
<td>clickAndWait</td>
<td>link=Home</td>

View file

@ -5,29 +5,11 @@
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="selenium.base" href="" />
<title>UploadNonPersonImage</title>
<style type="text/css">
.testName {
color: blue;
background: rgb(80%, 80%, 80%);
font-family: sans-serif;
font-weight: bold;
font-size: larger;
text-align: center;
}
.comment {
color: blue;
background: rgb(80%, 80%, 80%);
font-family: sans-serif;
font-weight: bold;
font-size: larger;
text-align: center;
}
</style>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3" class="testName">UploadNonPersonImage</td></tr>
<tr><td rowspan="1" colspan="3">UploadNonPersonImage</td></tr>
</thead><tbody>
<tr>
<td>deleteAllVisibleCookies</td>
@ -39,11 +21,7 @@
<td>200000</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Add image to non-person</td>
<td></td>
</tr>
<!--Add image to non-person-->
<tr>
<td>open</td>
<td>/vivo/</td>
@ -54,11 +32,7 @@
<td>VIVO</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Must be logged off to start</td>
<td></td>
</tr>
<!--Must be logged off to start-->
<tr>
<td>clickAndWait</td>
<td>link=Log in</td>
@ -69,11 +43,7 @@
<td>Log in to VIVO</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Must login as the site admin</td>
<td></td>
</tr>
<!--Must login as the site admin-->
<tr>
<td>type</td>
<td>loginName</td>
@ -89,11 +59,7 @@
<td>loginForm</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Navigate to non-person</td>
<td></td>
</tr>
<!--Navigate to non-person-->
<tr>
<td>clickAndWait</td>
<td>link=Index</td>
@ -134,21 +100,13 @@
<td>Photo</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Make sure no image exists</td>
<td></td>
</tr>
<!--Make sure no image exists-->
<tr>
<td>verifyTextNotPresent</td>
<td>//img[@title='click to view larger image']</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Select to add an image</td>
<td></td>
</tr>
<!--Select to add an image-->
<tr>
<td>clickAndWait</td>
<td>//img[@alt='add']</td>
@ -174,21 +132,13 @@
<td>Upload a photo (JPEG, GIF or PNG)</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Cancel before doing anything</td>
<td></td>
</tr>
<!--Cancel before doing anything-->
<tr>
<td>clickAndWait</td>
<td>link=Cancel</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Hit upload button without selecting a file</td>
<td></td>
</tr>
<!--Hit upload button without selecting a file-->
<tr>
<td>assertTitle</td>
<td>Germany</td>
@ -219,11 +169,7 @@
<td>Please browse and select a photo.</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Now select to add map then cancel in cropping</td>
<td></td>
</tr>
<!--Now select to add map then cancel in cropping-->
<tr>
<td>type</td>
<td>datafile</td>
@ -249,11 +195,7 @@
<td>Germany</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Now really add the map image</td>
<td></td>
</tr>
<!--Now really add the map image-->
<tr>
<td>clickAndWait</td>
<td>//img[@alt='add']</td>
@ -299,11 +241,7 @@
<td>//img[@title='click to view larger image']@src</td>
<td>/vivo/file/*/thumbnail_germany1.jpg</td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Change image to German flag</td>
<td></td>
</tr>
<!--Change image to German flag-->
<tr>
<td>clickAndWait</td>
<td>//img[@alt='edit']</td>
@ -334,11 +272,7 @@
<td>Replace Photo (JPEG, GIF or PNG)</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Cancel out and verify original image still there</td>
<td></td>
</tr>
<!--Cancel out and verify original image still there-->
<tr>
<td>clickAndWait</td>
<td>link=Cancel</td>
@ -359,11 +293,7 @@
<td>//img[@title='click to view larger image']@src</td>
<td>/vivo/file/*/thumbnail_germany1.jpg</td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Cancel out again, this time in cropping phase</td>
<td></td>
</tr>
<!--Cancel out again, this time in cropping phase-->
<tr>
<td>clickAndWait</td>
<td>//img[@alt='edit']</td>
@ -409,11 +339,7 @@
<td>//img[@title='click to view larger image']@src</td>
<td>/vivo/file/*/thumbnail_germany1.jpg</td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Now really change the map to a flag</td>
<td></td>
</tr>
<!--Now really change the map to a flag-->
<tr>
<td>clickAndWait</td>
<td>//img[@alt='edit']</td>
@ -449,11 +375,7 @@
<td>Germany</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Verify image is changed</td>
<td></td>
</tr>
<!--Verify image is changed-->
<tr>
<td>verifyElementPresent</td>
<td>//img[@title='click to view larger image']</td>
@ -464,11 +386,7 @@
<td>//img[@title='click to view larger image']@src</td>
<td>/vivo/file/*/thumbnail_germany2.jpg</td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Now delete the image</td>
<td></td>
</tr>
<!--Now delete the image-->
<tr>
<td>clickAndWait</td>
<td>//img[@alt='delete']</td>
@ -489,21 +407,13 @@
<td>Germany</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Verify no image is present</td>
<td></td>
</tr>
<!--Verify no image is present-->
<tr>
<td>verifyElementNotPresent</td>
<td>//img[@title='click to view larger image']</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Log out</td>
<td></td>
</tr>
<!--Log out-->
<tr>
<td>clickAndWait</td>
<td>link=Home</td>

View file

@ -5,35 +5,13 @@
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="selenium.base" href="" />
<title>VerifyImageDisplay</title>
<style type="text/css">
.testName {
color: blue;
background: rgb(80%, 80%, 80%);
font-family: sans-serif;
font-weight: bold;
font-size: larger;
text-align: center;
}
.comment {
color: blue;
background: rgb(80%, 80%, 80%);
font-family: sans-serif;
font-weight: bold;
font-size: larger;
text-align: center;
}
</style>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3" class="testName">VerifyImageDisplay</td></tr>
<tr><td rowspan="1" colspan="3">VerifyImageDisplay</td></tr>
</thead><tbody>
<tr>
<td>comment</td>
<td class="comment">Check image views without logging in</td>
<td></td>
</tr>
<!--Check image views without logging in-->
<tr>
<td>open</td>
<td>/vivo/</td>
@ -44,11 +22,7 @@
<td>VIVO</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Navigate to Lily Librarian</td>
<td></td>
</tr>
<!--Navigate to Lily Librarian-->
<tr>
<td>clickAndWait</td>
<td>link=Index</td>
@ -74,21 +48,13 @@
<td>Librarian, Lily</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Verify dummy image displays</td>
<td></td>
</tr>
<!--Verify dummy image displays-->
<tr>
<td>verifyElementPresent</td>
<td>//img[@title='no image']</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Navigate to Jane Faculty</td>
<td></td>
</tr>
<!--Navigate to Jane Faculty-->
<tr>
<td>clickAndWait</td>
<td>link=Index</td>
@ -114,11 +80,7 @@
<td>Faculty, Jane</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Verify thumbnail displays</td>
<td></td>
</tr>
<!--Verify thumbnail displays-->
<tr>
<td>verifyElementPresent</td>
<td>//img[@title='click to view larger image']</td>
@ -129,11 +91,7 @@
<td>//img[@title='click to view larger image']@src</td>
<td>/vivo/file/*/thumbnail_Jane2.jpg</td>
</tr>
<tr>
<td>comment</td>
<td class="comment">All done</td>
<td></td>
</tr>
<!--All done-->
<tr>
<td>clickAndWait</td>
<td>link=Home</td>