This commit is contained in:
hlm7 2010-11-17 15:54:50 +00:00
parent 87f52a06ce
commit 91cfd4c85b

View file

@ -3,8 +3,8 @@
<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>AddCollectionTabs</title>
<link rel="selenium.base" href="http://localhost:8080/" />
<title>SetDefaultTheme</title>
<style type="text/css">
.testName {
color: blue;
@ -27,14 +27,18 @@
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3" class="testName">AddCollectionTabs</td></tr>
<tr><td rowspan="1" colspan="3" class="testName">SetDefaultTheme</td></tr>
</thead><tbody>
<tr>
<td>comment</td>
<td class="comment">Set default theme to WILMA</td>
<td></td>
</tr>
<tr>
<td>deleteAllVisibleCookies</td>
<td></td>
<td></td>
</tr>
<!--Add new Collection Tabs of Librarians and Research Associate-->
<tr>
<td>open</td>
<td>/vivo/</td>
@ -45,13 +49,6 @@
<td>VIVO</td>
<td></td>
</tr>
<!--Verify vivo-basic theme is set-->
<tr>
<td>verifyTextPresent</td>
<td>This is the home page of the VIVO vivo-basic theme.</td>
<td></td>
</tr>
<!--Must log in as site admin-->
<tr>
<td>clickAndWait</td>
<td>link=Log in</td>
@ -59,7 +56,7 @@
</tr>
<tr>
<td>assertTitle</td>
<td>VIVO Site Administration</td>
<td>VIVO</td>
<td></td>
</tr>
<tr>
@ -69,7 +66,7 @@
</tr>
<tr>
<td>type</td>
<td>loginPassword</td>
<td>password</td>
<td>Password</td>
</tr>
<tr>
@ -82,7 +79,16 @@
<td>VIVO Site Administration</td>
<td></td>
</tr>
<!--Navigare to Site Information-->
<tr>
<td>clickAndWait</td>
<td>link=Site Admin</td>
<td></td>
</tr>
<tr>
<td>assertTitle</td>
<td>VIVO Site Administration</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Site information</td>
@ -93,12 +99,6 @@
<td>Site Information Editing Form</td>
<td></td>
</tr>
<!--Change to different theme-->
<tr>
<td>assertTextPresent</td>
<td>Theme</td>
<td></td>
</tr>
<tr>
<td>select</td>
<td>ThemeDir</td>
@ -124,79 +124,6 @@
<td>VIVO</td>
<td></td>
</tr>
<!--Verify key information shows up-->
<tr>
<td>verifyTextPresent</td>
<td>What is VIVO?</td>
<td></td>
</tr>
<tr>
<td>verifyTextPresent</td>
<td>Search VIVO</td>
<td></td>
</tr>
<tr>
<td>verifyTextPresent</td>
<td>Browse</td>
<td></td>
</tr>
<tr>
<td>verifyTextPresent</td>
<td>Highlights</td>
<td></td>
</tr>
<!--Gi back to default there-->
<tr>
<td>clickAndWait</td>
<td>link=Site Admin</td>
<td></td>
</tr>
<tr>
<td>assertTitle</td>
<td>VIVO 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>select</td>
<td>ThemeDir</td>
<td>label=vivo-basic</td>
</tr>
<tr>
<td>clickAndWait</td>
<td>primaryAction</td>
<td></td>
</tr>
<tr>
<td>assertTitle</td>
<td>VIVO Site Administration</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Home</td>
<td></td>
</tr>
<tr>
<td>assertTitle</td>
<td>VIVO</td>
<td></td>
</tr>
<tr>
<td>verifyTextPresent</td>
<td>This is the home page of the VIVO vivo-basic theme.</td>
<td></td>
</tr>
<!--Logout-->
<tr>
<td>clickAndWait</td>
<td>link=Log out</td>
@ -207,6 +134,7 @@
<td>VIVO</td>
<td></td>
</tr>
</tbody></table>
</body>
</html>