vivo/utilities/acceptance-tests/suites/InitialSetup/EditSiteInfo.html

315 lines
7.6 KiB
HTML
Raw Normal View History

2010-03-29 20:16:59 +00:00
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head profile="http://selenium-ide.openqa.org/profiles/test-case">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="selenium.base" href="" />
<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>
</thead><tbody>
<tr>
<td>deleteAllVisibleCookies</td>
<td></td>
<td></td>
</tr>
2010-03-29 20:16:59 +00:00
<tr>
<td>comment</td>
<td class="comment">Change site name, tagline, and copyright (then reset it to default)</td>
<td></td>
</tr>
<tr>
<td>open</td>
<td>/vivo/</td>
2010-03-29 20:16:59 +00:00
<td></td>
</tr>
<tr>
<td>assertTitle</td>
<td>VIVO</td>
2010-03-29 20:16:59 +00:00
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Must be logged out</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Log in</td>
<td></td>
</tr>
<tr>
<td>assertTitle</td>
<td>VIVO</td>
2010-03-29 20:16:59 +00:00
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Must login as site admin</td>
<td></td>
</tr>
<tr>
<td>type</td>
2010-07-09 17:17:41 +00:00
<td>loginName</td>
2010-03-29 20:16:59 +00:00
<td>testAdmin</td>
</tr>
<tr>
<td>type</td>
2010-07-09 17:17:41 +00:00
<td>loginPassword</td>
2010-03-29 20:16:59 +00:00
<td>Password</td>
</tr>
<tr>
<td>clickAndWait</td>
2010-07-09 17:17:41 +00:00
<td>loginForm</td>
2010-03-29 20:16:59 +00:00
<td></td>
</tr>
<tr>
<td>assertTitle</td>
<td>VIVO Site Administration</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Navigate to Site Configuraton page</td>
<td></td>
</tr>
<tr>
<td>verifyTextPresent</td>
<td>Site Configuration</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Site information</td>
<td></td>
</tr>
<tr>
<td>assertTitle</td>
<td>Site Information Editing Form</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Change site information fields</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>AppName</td>
<td>VIVO Test Site</td>
</tr>
2010-11-29 21:51:41 +00:00
<tr>
<td>type</td>
<td>ContactMail</td>
<td>hlm7@cornell.edu</td>
</tr>
<tr>
<td>select</td>
<td>RootTabId</td>
<td>label=Home</td>
</tr>
2010-03-29 20:16:59 +00:00
<tr>
<td>type</td>
<td>CopyrightAnchor</td>
<td>VIVO Project 2010</td>
</tr>
2010-11-29 21:51:41 +00:00
<tr>
<td>type</td>
<td>CopyrightURL</td>
<td>http://vivoweb.org</td>
</tr>
<tr>
<td>type</td>
<td>AboutText</td>
<td>&lt;p&gt;This is a test system for VIVO!<br /><br />&lt;p&gt;The VIVO National Network enables the discovery of researchers across institutions. Participants in the network include institutions with local installations of VIVO or those with research discovery and profiling applications that can provide semantic web-compliant data. The information accessible through VIVO's search and browse capability will therefore reside and be controlled locally, within institutional VIVOs or other semantic web-compliant applications.&lt;/p&gt;<br /><br /><br /><br />&lt;p&gt;VIVO is an open source semantic web application originally developed and implemented at Cornell. When installed and populated with content at an institution, it enables the discovery of research and scholarship across disciplines at that institution. VIVO supports browsing and a search function which returns faceted results for rapid retrieval of desired information. Content in any local VIVO installation may be maintained manually or brought into the database in automated ways from local systems of record, such as HR, grants, course, and faculty activity databases.&lt;/p&gt;<br /><br /><br /><br />&lt;p&gt;See more information on the &lt;a href=&quot;http://vivoweb.org&quot;&gt;VIVO Project&lt;/a&gt;.&lt;/p&gt;</td>
</tr>
<tr>
<td>type</td>
<td>AcknowledgeText</td>
<td>Holly Mistlebauer set this up!</td>
</tr>
2010-03-29 20:16:59 +00:00
<tr>
<td>clickAndWait</td>
<td>primaryAction</td>
<td></td>
</tr>
<tr>
<td>assertTitle</td>
<td>VIVO Test Site Site Administration</td>
<td></td>
</tr>
<tr>
<td>verifyTextPresent</td>
<td>Site Configuration</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Home</td>
<td></td>
</tr>
2010-11-29 21:51:41 +00:00
<tr>
<td>comment</td>
<td class="comment">Verify that changes were made (cannot test site name)</td>
<td></td>
</tr>
2010-03-29 20:16:59 +00:00
<tr>
<td>assertTitle</td>
<td>VIVO Test Site</td>
<td></td>
</tr>
<tr>
2010-11-29 21:51:41 +00:00
<td>verifyTextPresent</td>
<td>VIVO Project 2010</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>link=About</td>
<td></td>
</tr>
<tr>
<td>assertTitle</td>
<td>About VIVO Test Site</td>
2010-03-29 20:16:59 +00:00
<td></td>
</tr>
<tr>
<td>verifyTextPresent</td>
2010-11-29 21:51:41 +00:00
<td>This is a test system for VIVO! </td>
<td></td>
</tr>
<tr>
<td>verifyElementPresent</td>
<td>link=VIVO Project</td>
<td></td>
</tr>
<tr>
<td>verifyTextPresent</td>
<td>Holly Mistlebauer set this up!</td>
2010-03-29 20:16:59 +00:00
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Site Admin</td>
<td></td>
</tr>
<tr>
<td>assertTitle</td>
<td>VIVO Test Site Site Administration</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Site information</td>
<td></td>
</tr>
<tr>
<td>assertTitle</td>
<td>Site Information Editing Form</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Set site information back to default</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>AppName</td>
<td>VIVO</td>
</tr>
2010-11-29 21:51:41 +00:00
<tr>
<td>type</td>
<td>ContactMail</td>
<td></td>
</tr>
2010-03-29 20:16:59 +00:00
<tr>
<td>type</td>
<td>CopyrightAnchor</td>
<td>VIVO Project</td>
</tr>
2010-11-29 21:51:41 +00:00
<tr>
<td>type</td>
<td>CopyrightURL</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>AboutText</td>
<td>&lt;p&gt;The VIVO National Network enables the discovery of researchers across institutions. Participants in the network include institutions with local installations of VIVO or those with research discovery and profiling applications that can provide semantic web-compliant data. The information accessible through VIVO's search and browse capability will therefore reside and be controlled locally, within institutional VIVOs or other semantic web-compliant applications.&lt;/p&gt;<br /><br /><br /><br />&lt;p&gt;VIVO is an open source semantic web application originally developed and implemented at Cornell. When installed and populated with content at an institution, it enables the discovery of research and scholarship across disciplines at that institution. VIVO supports browsing and a search function which returns faceted results for rapid retrieval of desired information. Content in any local VIVO installation may be maintained manually or brought into the database in automated ways from local systems of record, such as HR, grants, course, and faculty activity databases.&lt;/p&gt;<br /><br /><br /><br />&lt;p&gt;See more information on the &lt;a href=&quot;http://vivoweb.org&quot;&gt;VIVO Project&lt;/a&gt;.&lt;/p&gt;</td>
</tr>
<tr>
<td>type</td>
<td>AcknowledgeText</td>
<td></td>
</tr>
2010-03-29 20:16:59 +00:00
<tr>
<td>clickAndWait</td>
<td>primaryAction</td>
<td></td>
</tr>
<tr>
<td>assertTitle</td>
<td>VIVO Site Administration</td>
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Verify that changes were set back to the default</td>
<td></td>
</tr>
<tr>
<td>open</td>
<td>/vivo/</td>
2010-03-29 20:16:59 +00:00
<td></td>
</tr>
<tr>
<td>verifyTextPresent</td>
<td>VIVO Project</td>
2010-03-29 20:16:59 +00:00
<td></td>
</tr>
<tr>
<td>comment</td>
<td class="comment">Logout</td>
<td></td>
</tr>
2010-11-17 19:24:28 +00:00
<tr>
<td>clickAndWait</td>
<td>link=Home</td>
<td></td>
</tr>
2010-03-29 20:16:59 +00:00
<tr>
<td>clickAndWait</td>
<td>link=Log out</td>
<td></td>
</tr>
<tr>
<td>assertTitle</td>
<td>VIVO</td>
<td></td>
</tr>
</tbody></table>
</body>
</html>