jspwiki-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ajaqu...@apache.org
Subject svn commit: r627278 - /incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/tests/etc/selenium/tests/
Date Wed, 13 Feb 2008 06:31:25 GMT
Author: ajaquith
Date: Tue Feb 12 22:31:22 2008
New Revision: 627278

URL: http://svn.apache.org/viewvc?rev=627278&view=rev
Log:
Initial commit.

Added:
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/tests/etc/selenium/tests/
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/tests/etc/selenium/tests/JSPWikiTestAclJanneEdit.html
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/tests/etc/selenium/tests/JSPWikiTestAclJanneEditAllView.html
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/tests/etc/selenium/tests/JSPWikiTestAnonymousCreateGroup.html
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/tests/etc/selenium/tests/JSPWikiTestAnonymousView.html
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/tests/etc/selenium/tests/JSPWikiTestAnonymousViewImage.html
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/tests/etc/selenium/tests/JSPWikiTestAssertedName.html
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/tests/etc/selenium/tests/JSPWikiTestAssertedPermissions.html
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/tests/etc/selenium/tests/JSPWikiTestCreateGroupFullName.html
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/tests/etc/selenium/tests/JSPWikiTestCreateGroupLoginName.html
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/tests/etc/selenium/tests/JSPWikiTestCreateGroupWikiName.html
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/tests/etc/selenium/tests/JSPWikiTestCreatePage.html
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/tests/etc/selenium/tests/JSPWikiTestDeletePage.html
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/tests/etc/selenium/tests/JSPWikiTestLogin.html
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/tests/etc/selenium/tests/JSPWikiTestLogout.html
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/tests/etc/selenium/tests/JSPWikiTestRedirectPageAfterLogin.html
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/tests/etc/selenium/tests/JSPWikiTestRenamePage.html
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/tests/etc/selenium/tests/JSPWikiTestRenameProfile.html
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/tests/etc/selenium/tests/JSPWikiTestSuite.html

Added: incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/tests/etc/selenium/tests/JSPWikiTestAclJanneEdit.html
URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/tests/etc/selenium/tests/JSPWikiTestAclJanneEdit.html?rev=627278&view=auto
==============================================================================
--- incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/tests/etc/selenium/tests/JSPWikiTestAclJanneEdit.html (added)
+++ incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/tests/etc/selenium/tests/JSPWikiTestAclJanneEdit.html Tue Feb 12 22:31:22 2008
@@ -0,0 +1,74 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+  <meta content="text/html; charset=ISO-8859-1" http-equiv="content-type">
+  <title>JSPWiki Test Acl Janne Edit</title>
+</head>
+<body> 
+<table cellpadding="1" cellspacing="1" border="1">
+	<tbody>
+	<tr><td rowspan="1" colspan="3">JSPWiki Test Acl Janne Edit<br></td></tr>
+
+	<tr><td>store</td>	<td>javascript{'Acleditonly '+new Date().getTime()}</td>	<td>page</td></tr>
+	<tr><td>store</td>	<td>janne</td>		<td>TestUsername</td></tr>
+	<tr><td>store</td>	<td>myP@5sw0rd</td>	<td>TestPassword</td></tr>
+
+	<tr><td>store</td>	<td>../Wiki.jsp?page=${page}</td>	<td>url</td></tr>
+	<tr><td>store</td>	<td>../Edit.jsp?page=${page}</td>	<td>editurl</td></tr>
+	<tr><td>store</td>	<td>../Login.jsp</td>				<td>loginurl</td></tr>
+	<tr><td>store</td>	<td>This page was created with an ACL by janne.</td>	<td>PageContent</td></tr>
+
+	<!-- Login -->
+	<tr><td>open</td>	<td>${loginurl}</td>	<td>&nbsp;</td></tr>
+	<tr><td>type</td>	<td>j_username</td>	<td>${TestUsername}</td></tr>
+	<tr><td>type</td>	<td>j_password</td>	<td>${TestPassword}</td></tr>
+	
+	<tr><td>clickAndWait</td>	<td>submitlogin</td>	<td>&nbsp;</td></tr>
+
+	<!-- Create a new page -->
+	<tr><td>open</td>					<td>${editurl}</td>	<td>&nbsp;</td></tr>
+	<tr><td>verifyTitle</td>			<td>JSPWiki: Edit: ${page}</td>	<td>&nbsp;</td></tr>
+	<tr><td>verifyElementPresent</td>	<td>ok</td>	<td></td></tr>
+	<tr><td>verifyElementPresent</td>	<td>id=editorarea</td>	<td></td></tr>
+
+	<tr><td>type</td>			<td>id=editorarea</td>		<td>[{ALLOW edit janne}] ${PageContent}</td></tr>
+	<tr><td>clickAndWait</td>	<td>ok</td>	<td>&nbsp;</td></tr>
+
+	<tr><td>verifyTitle</td>		<td>JSPWiki: ${page}</td>	<td>&nbsp;</td></tr>
+	<tr><td>verifyTextPresent</td>	<td>${PageContent}</td>	<td>&nbsp;</td></tr>	
+	
+	<!-- Log out -->
+	<tr><td>clickAndWait</td>	<td>link=Log out</td> 	<td>&nbsp;</td></tr>
+
+	<!-- Anonymous viewing should NOT succeed -->
+	<tr><td>open</td>					<td>${url}</td>			<td>&nbsp;</td></tr>
+	<tr><td>verifyTextNotPresent</td>	<td>${PageContent}</td>	<td>&nbsp;</td></tr>	
+	<tr><td>verifyTitle</td>			<td>JSPWiki: Login</td>	<td>&nbsp;</td></tr>
+
+	<!--  Anonymous editing should fail -->
+	<tr><td>open</td>					<td>${editurl}</td>		<td>&nbsp;</td></tr>
+	<tr><td>verifyTextNotPresent</td>	<td>${PageContent}</td>	<td>&nbsp;</td></tr>	
+	<tr><td>verifyTitle</td>			<td>JSPWiki: Login</td>	<td>&nbsp;</td></tr>
+	    
+	<!-- Now log in as janne again and view/edit it successfully -->
+	<tr><td>type</td>			<td>j_username</td>		<td>${TestUsername}</td></tr>
+	<tr><td>type</td>			<td>j_password</td>		<td>${TestPassword}</td></tr>
+	<tr><td>clickAndWait</td>	<td>submitlogin</td>	<td>&nbsp;</td></tr>
+
+	<tr><td>open</td>				<td>${url}</td>			<td>&nbsp;</td></tr>
+	<tr><td>verifyTextPresent</td>	<td>${PageContent}</td>	<td>&nbsp;</td></tr>
+
+	<tr><td>open</td>					<td>${editurl}</td>		<td>&nbsp;</td></tr>
+	<tr><td>verifyTitle</td>			<td>JSPWiki: Edit: ${page}</td>	<td>&nbsp;</td></tr>
+	<tr><td>verifyElementPresent</td>	<td>ok</td>				<td></td></tr>
+	<tr><td>verifyElementPresent</td>	<td>id=editorarea</td>	<td></td></tr>
+	<tr><td>clickAndWait</td>			<td>ok</td>				<td>&nbsp;</td></tr>
+
+	<!-- Log out -->
+	<tr><td>clickAndWait</td>	<td>link=Log out</td> 	<td>&nbsp;</td></tr>
+	
+	</tbody>
+</table>
+
+</body>
+</html>

Added: incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/tests/etc/selenium/tests/JSPWikiTestAclJanneEditAllView.html
URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/tests/etc/selenium/tests/JSPWikiTestAclJanneEditAllView.html?rev=627278&view=auto
==============================================================================
--- incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/tests/etc/selenium/tests/JSPWikiTestAclJanneEditAllView.html (added)
+++ incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/tests/etc/selenium/tests/JSPWikiTestAclJanneEditAllView.html Tue Feb 12 22:31:22 2008
@@ -0,0 +1,77 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+  <meta content="text/html; charset=ISO-8859-1"
+ http-equiv="content-type">
+  <title>JSPWiki Test Acl Janne Edit All View</title>
+</head>
+<body> 
+<table cellpadding="1" cellspacing="1" border="1">
+	<tbody>
+	<tr><td rowspan="1" colspan="3">JSPWiki Test Acl Janne Edit All View<br></td></tr>
+
+	<tr><td>store</td>	<td>javascript{'Aclviewandeditonly '+new Date().getTime()}</td>	<td>page</td></tr>
+	<tr><td>store</td>	<td>janne</td>		<td>TestUsername</td></tr>
+    <tr><td>store</td>	<td>myP@5sw0rd</td>	<td>TestPassword</td></tr>
+
+	<tr><td>store</td>	<td>../Wiki.jsp?page=${page}</td>	<td>url</td></tr>
+	<tr><td>store</td>	<td>../Edit.jsp?page=${page}</td>	<td>editurl</td></tr>
+	<tr><td>store</td>	<td>../Login.jsp</td>				<td>loginurl</td></tr>
+    <tr><td>store</td>	<td>This page was created with an ACL by janne.</td>	<td>PageContent</td></tr>
+
+	<!-- Login -->
+    <tr><td>open</td>	<td>${loginurl}</td>	<td>&nbsp;</td></tr>
+
+    <tr><td>type</td>	<td>j_username</td>	<td>${TestUsername}</td></tr>
+    <tr><td>type</td>	<td>j_password</td>	<td>${TestPassword}</td></tr>
+
+    <tr><td>clickAndWait</td>	<td>submitlogin</td>	<td>&nbsp;</td></tr>
+
+	<!-- Create a new page -->
+    <tr><td>open</td>	<td>${editurl}</td>	<td>&nbsp;</td></tr>
+
+    <tr><td>verifyTitle</td>			<td>JSPWiki: Edit: ${page}</td>	<td>&nbsp;</td></tr>
+    <tr><td>verifyElementPresent</td>	<td>ok</td>	<td></td></tr>
+    <tr><td>verifyElementPresent</td>	<td>id=editorarea</td>	<td></td></tr>
+
+    <tr><td>type</td>			<td>id=editorarea</td>		<td>[{ALLOW edit janne}] [{ALLOW view All}] ${PageContent}</td></tr>
+    <tr><td>clickAndWait</td>	<td>ok</td>	<td>&nbsp;</td></tr>
+
+    <tr><td>verifyTitle</td>		<td>JSPWiki: ${page}</td>	<td>&nbsp;</td></tr>
+    <tr><td>verifyTextPresent</td>	<td>${PageContent}</td>	<td>&nbsp;</td></tr>	
+    
+    <!-- Log out -->
+    <tr><td>clickAndWait</td>	<td>link=Log out</td> 	<td>&nbsp;</td></tr>
+
+    <!-- Anonymous viewing should succeed -->
+    <tr><td>open</td>				<td>${url}</td>				<td>&nbsp;</td></tr>
+    <tr><td>verifyTitle</td>		<td>JSPWiki: ${page}</td>	<td>&nbsp;</td></tr>
+    <tr><td>verifyTextPresent</td>	<td>${PageContent}</td>		<td>&nbsp;</td></tr>	
+
+    <!--  Anonymous editing should fail -->
+    <tr><td>open</td>					<td>${editurl}</td>		<td>&nbsp;</td></tr>
+    <tr><td>verifyTextNotPresent</td>	<td>${PageContent}</td>	<td>&nbsp;</td></tr>	
+    <tr><td>verifyTitle</td>			<td>JSPWiki: Login</td>	<td>&nbsp;</td></tr>
+        
+    <!-- Now log in as janne again and view/edit it successfully -->
+    <tr><td>type</td>			<td>j_username</td>		<td>${TestUsername}</td></tr>
+    <tr><td>type</td>			<td>j_password</td>		<td>${TestPassword}</td></tr>
+    <tr><td>clickAndWait</td>	<td>submitlogin</td>	<td>&nbsp;</td></tr>
+
+    <tr><td>open</td>				<td>${url}</td>			<td>&nbsp;</td></tr>
+    <tr><td>verifyTextPresent</td>	<td>${PageContent}</td>	<td>&nbsp;</td></tr>
+
+    <tr><td>open</td>					<td>${editurl}</td>		<td>&nbsp;</td></tr>
+    <tr><td>verifyTitle</td>			<td>JSPWiki: Edit: ${page}</td>	<td>&nbsp;</td></tr>
+    <tr><td>verifyElementPresent</td>	<td>ok</td>				<td></td></tr>
+    <tr><td>verifyElementPresent</td>	<td>id=editorarea</td>	<td></td></tr>
+    <tr><td>clickAndWait</td>			<td>ok</td>				<td>&nbsp;</td></tr>
+
+    <!-- Log out -->
+    <tr><td>clickAndWait</td>	<td>link=Log out</td> 	<td>&nbsp;</td></tr>    
+    
+	</tbody>
+</table>
+
+</body>
+</html>

Added: incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/tests/etc/selenium/tests/JSPWikiTestAnonymousCreateGroup.html
URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/tests/etc/selenium/tests/JSPWikiTestAnonymousCreateGroup.html?rev=627278&view=auto
==============================================================================
--- incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/tests/etc/selenium/tests/JSPWikiTestAnonymousCreateGroup.html (added)
+++ incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/tests/etc/selenium/tests/JSPWikiTestAnonymousCreateGroup.html Tue Feb 12 22:31:22 2008
@@ -0,0 +1,32 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+  <meta content="text/html; charset=ISO-8859-1"
+ http-equiv="content-type">
+  <title>JSPWiki Test Anonymous Create Group</title>
+</head>
+<body> 
+<table cellpadding="1" cellspacing="1" border="1">
+	<tbody>
+	<tr><td rowspan="1" colspan="3">
+	JSPWiki Test Anonymous Create Group<br>
+	Try to create a group; we should get redirected to login page
+	</td></tr>
+	<tr><td>store</td>	<td>../NewGroup.jsp</td>	<td>newgroupurl</td></tr>
+	<tr><td>store</td>	<td>../UserPreferences.jsp?redirect=Main</td>	<td>prefsurl</td></tr>
+
+    <tr><td>open</td>	<td>${prefsurl}</td>	<td>&nbsp;</td></tr>
+    <tr><td>verifyElementPresent</td>	<td>css=form#clearCookie input[name="ok"]</td>		<td>&nbsp;</td></tr>
+    <tr><td>clickAndWait</td>	<td>css=form#clearCookie input[name="ok"]</td>	<td>&nbsp;</td></tr>
+
+
+    <tr><td>open</td>	<td>${newgroupurl}</td>	<td>&nbsp;</td></tr>
+    
+    <tr><td>assertTitle</td>	<td>JSPWiki: Login</td>	<td>&nbsp;</td></tr>
+    <tr><td>assertTextPresent</td>	<td>Please sign in</td>	<td>&nbsp;</td></tr>
+    
+	</tbody>
+</table>
+
+</body>
+</html>

Added: incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/tests/etc/selenium/tests/JSPWikiTestAnonymousView.html
URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/tests/etc/selenium/tests/JSPWikiTestAnonymousView.html?rev=627278&view=auto
==============================================================================
--- incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/tests/etc/selenium/tests/JSPWikiTestAnonymousView.html (added)
+++ incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/tests/etc/selenium/tests/JSPWikiTestAnonymousView.html Tue Feb 12 22:31:22 2008
@@ -0,0 +1,28 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+  <meta content="text/html; charset=ISO-8859-1" http-equiv="content-type">
+  <title>JSPWiki Test Anonymous View</title>
+</head>
+<body> 
+<table cellpadding="1" cellspacing="1" border="1">
+	<tbody>
+	<tr><td rowspan="1" colspan="3">JSPWiki Test Anonymous View<br></td></tr>
+
+	<tr><td>store</td>	<td>../Wiki.jsp?page=Main</td>	<td>url</td></tr>
+
+    <tr><td>open</td>	<td>${url}</td>	<td>&nbsp;</td></tr>
+
+    <tr><td>verifyTextPresent</td>		<td>You have successfully installed</td>	<td>&nbsp;</td></tr>
+
+    <tr><td>verifyElementPresent</td>	<td>link=About</td>		<td></td></tr>
+
+    <tr><td>clickAndWait</td>			<td>link=About</td> 	<td>&nbsp;</td></tr>
+
+    <tr><td>verifyTextPresent</td>		<td>This Wiki is done using</td>	<td>&nbsp;</td></tr>
+
+	</tbody>
+</table>
+
+</body>
+</html>

Added: incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/tests/etc/selenium/tests/JSPWikiTestAnonymousViewImage.html
URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/tests/etc/selenium/tests/JSPWikiTestAnonymousViewImage.html?rev=627278&view=auto
==============================================================================
--- incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/tests/etc/selenium/tests/JSPWikiTestAnonymousViewImage.html (added)
+++ incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/tests/etc/selenium/tests/JSPWikiTestAnonymousViewImage.html Tue Feb 12 22:31:22 2008
@@ -0,0 +1,29 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+  <meta content="text/html; charset=ISO-8859-1"
+ http-equiv="content-type">
+  <title>JSPWiki Test Anonymous View Image</title>
+</head>
+<body> 
+<table cellpadding="1" cellspacing="1" border="1">
+	<tbody>
+	<tr><td rowspan="1" colspan="3">
+	JSPWiki Test Anonymous View Image<br>See if we can view the JSPWiki logo
+	</td></tr>
+
+	<tr><td>store</td>	<td>../images/jspwiki_logo_s.png</td>	<td>imgurl</td></tr>
+
+    <tr><td>open</td>			<td>${imgurl}</td>	<td>&nbsp;</td></tr>
+    <tr><td>assertBodyText</td>	<td></td>			<td>&nbsp;</td></tr>
+    
+	<tr><td>store</td>	<td>../images/jspwiki_logo_ss.png</td>	<td>imgurl</td></tr>
+
+    <tr><td>open</td>			<td>${imgurl}</td>	<td>&nbsp;</td></tr>
+    <tr><td>assertNotBodyText</td>	<td></td>			<td>&nbsp;</td></tr>
+    
+	</tbody>
+</table>
+
+</body>
+</html>

Added: incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/tests/etc/selenium/tests/JSPWikiTestAssertedName.html
URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/tests/etc/selenium/tests/JSPWikiTestAssertedName.html?rev=627278&view=auto
==============================================================================
--- incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/tests/etc/selenium/tests/JSPWikiTestAssertedName.html (added)
+++ incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/tests/etc/selenium/tests/JSPWikiTestAssertedName.html Tue Feb 12 22:31:22 2008
@@ -0,0 +1,61 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+  <meta content="text/html; charset=ISO-8859-1" http-equiv="content-type">
+  <title>JSPWiki Test Asserted Name</title>
+</head>
+<body> 
+<table cellpadding="1" cellspacing="1" border="1">
+	<tbody>
+	<tr><td rowspan="1" colspan="3">JSPWiki Test Asserted Name<br></td></tr>
+
+	<tr><td>store</td>	<td>../Wiki.jsp?page=Main</td>	<td>url</td></tr>
+	<tr><td>store</td>	<td>../UserPreferences.jsp?redirect=Main</td>	<td>prefsurl</td></tr>
+	<tr><td>store</td>	<td>DonQuixote</td>						<td>TestUsername</td></tr>
+
+	<!-- Navigate to Prefs page; see the 'G'day message' for the anonymous user -->
+    <tr><td>open</td>	<td>${url}</td>	<td>&nbsp;</td></tr>
+
+    <tr><td>verifyTitle</td>		<td>JSPWiki: Main</td>	<td>&nbsp;</td></tr>
+    <tr><td>verifyTextPresent</td>	<td>G&#8217;day (anonymous guest)</td>	<td>&nbsp;</td></tr>
+
+    <!-- Go to the UserPreferences page; see the set-cookie form, plus welcome text that invites -->
+    <tr><td>open</td>	<td>${prefsurl}</td>	<td>&nbsp;</td></tr>
+
+    <tr><td>verifyTitle</td>			<td>JSPWiki: User Preferences</td>	<td>&nbsp;</td></tr>
+    <tr><td>verifyTextPresent</td>		<td>You wouldn&#8217;t lie to us would you?</td>	<td>&nbsp;</td></tr>
+    <tr><td>verifyElementPresent</td>	<td>assertedName</td>	<td>&nbsp;</td></tr>
+    <tr><td>verifyElementPresent</td>	<td>css=form#setCookie input[name="ok"]</td>	<td>&nbsp;</td></tr>
+
+    <tr><td>type</td>			<td>assertedName</td>	<td>${TestUsername}</td></tr>
+    <tr><td>clickAndWait</td>	<td>css=form#setCookie input[name="ok"]</td>	<td>&nbsp;</td></tr>
+
+    <!-- Now navigate back to the main page; see the 'G'day message' for the test user -->
+    <tr><td>verifyTitle</td>		<td>JSPWiki: Main</td>		<td>&nbsp;</td></tr>
+    <tr><td>verifyTextPresent</td>	<td>G&#8217;day</td>		<td>&nbsp;</td></tr>
+    <tr><td>verifyElementPresent</td>	<td>link=${TestUsername}</td>	<td>&nbsp;</td></tr>
+    <tr><td>verifyTextPresent</td>	<td>(not logged in)</td>	<td>&nbsp;</td></tr>
+
+    <tr><td>assertCookie</td>	<td>regex:JSPWikiAssertedName=${TestUsername}</td>	<td></td></tr>
+
+    <!-- Clear user cookie -->
+    <tr><td>open</td>	<td>${prefsurl}</td>	<td>&nbsp;</td></tr>
+
+    <tr><td>verifyTitle</td>			<td>JSPWiki: User Preferences</td>	<td>&nbsp;</td></tr>
+    <tr><td>verifyValue</td>			<td>assertedName</td>				<td>${TestUsername}</td></tr>
+    <tr><td>verifyElementPresent</td>	<td>css=form#clearCookie input[name="ok"]</td>		<td>&nbsp;</td></tr>
+
+    <tr><td>clickAndWait</td>	<td>css=form#clearCookie input[name="ok"]</td>	<td>&nbsp;</td></tr>
+        
+    <!-- Go back to the main page, and see the 'G'day message for the anonymous user again -->
+    <tr><td>verifyTitle</td><td>JSPWiki: Main</td><td>&nbsp;</td></tr>
+    <tr><td>verifyTextPresent</td>		<td>G&#8217;day (anonymous guest)</td>	<td>&nbsp;</td></tr>
+    <tr><td>verifyTextNotPresent</td>	<td>${TextUsername}</td>	<td>&nbsp;</td></tr>
+    <tr><td>assertNotCookie</td>	<td>regex:JSPWikiAssertedName=</td>	<td></td></tr>
+
+    
+	</tbody>
+</table>
+
+</body>
+</html>

Added: incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/tests/etc/selenium/tests/JSPWikiTestAssertedPermissions.html
URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/tests/etc/selenium/tests/JSPWikiTestAssertedPermissions.html?rev=627278&view=auto
==============================================================================
--- incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/tests/etc/selenium/tests/JSPWikiTestAssertedPermissions.html (added)
+++ incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/tests/etc/selenium/tests/JSPWikiTestAssertedPermissions.html Tue Feb 12 22:31:22 2008
@@ -0,0 +1,130 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+  <meta content="text/html; charset=ISO-8859-1" http-equiv="content-type">
+  <title>JSPWiki Test Asserted Permissions</title>
+</head>
+<body> 
+<table cellpadding="1" cellspacing="1" border="1">
+	<tbody>
+	<tr><td rowspan="1" colspan="3">JSPWiki Test Asserted Permissions<br></td></tr>
+
+	<tr><td>store</td>	<td>javascript{'Test-asserted-permissions-'+new Date().getTime()}</td>	<td>group</td></tr>
+	<tr><td>store</td>	<td>Janne Jalkanen<br />FredFlintstone</td>		<td>members</td></tr>
+	<tr><td>store</td>	<td>../Wiki.jsp</td>			<td>url</td></tr>
+	<tr><td>store</td>	<td>../UserPreferences.jsp?redirect=Main</td>	<td>prefsurl</td></tr>
+	<tr><td>store</td>	<td>../Login.jsp</td>		<td>loginurl</td></tr>
+	<tr><td>store</td>	<td>../Group.jsp?</td>		<td>viewgroupurl</td></tr>
+	<tr><td>store</td>	<td>../NewGroup.jsp?</td>	<td>newgroupurl</td></tr>
+	<tr><td>store</td>	<td>../EditGroup.jsp?</td>	<td>editgroupurl</td></tr>
+	<tr><td>store</td>	<td>janne</td>	<td>TestUsername</td></tr>
+    <tr><td>store</td>	<td>myP@5sw0rd</td>	<td>TestPassword</td></tr>
+
+    <tr><td rowspan="1" colspan="3"> Create new group with 'janne' and 'FredFlintstone' as members </td></tr>
+
+    <tr><td>open</td>				<td>${url}</td>	<td>&nbsp;</td></tr>
+    <tr><td>verifyTitle</td>		<td>JSPWiki: Main</td>	<td>&nbsp;</td></tr>
+    <tr><td>verifyTextPresent</td>	<td>G&#8217;day (anonymous guest)</td>	<td>&nbsp;</td></tr>
+
+    <tr><td rowspan="1" colspan="3"> login </td></tr>
+
+    <tr><td>open</td>			<td>${loginurl}</td>	<td>&nbsp;</td></tr>
+    <tr><td>verifyTitle</td>	<td>JSPWiki: Login</td>	<td>&nbsp;</td></tr>
+    <tr><td>type</td>			<td>j_username</td>		<td>${TestUsername}</td></tr>
+    <tr><td>type</td>			<td>j_password</td>		<td>${TestPassword}</td></tr>
+    <tr><td>clickAndWait</td>	<td>submitlogin</td>	<td>&nbsp;</td></tr>
+
+    <tr><td>verifyTextNotPresent</td>	<td>Please sign in</td>	<td></td></tr>
+    <tr><td>verifyTextPresent</td>	<td>G&#8217;day</td>	<td></td></tr>
+    <tr><td>verifyTextPresent</td>	<td>(authenticated)</td>	<td></td></tr>
+        
+    <tr><td rowspan="1" colspan="3"> First, name the group </td></tr>
+
+    <tr><td>open</td>					<td>${newgroupurl}</td>	<td>&nbsp;</td></tr>
+    <tr><td>verifyTitle</td>			<td>JSPWiki: New Group</td>	<td>&nbsp;</td></tr>
+    <tr><td>verifyElementPresent</td>	<td>css=form#createGroup input[name="ok"]</td>	<td></td></tr>
+    <tr><td>verifyElementPresent</td>	<td>group</td>	<td></td></tr>
+    <tr><td>verifyElementPresent</td>	<td>members</td>	<td></td></tr>
+
+    <tr><td>type</td>			<td>group</td>		<td>${group}</td></tr>
+    <tr><td>type</td>			<td>members</td>	<td>${members}</td></tr>
+    <tr><td>clickAndWait</td>	<td>css=form#createGroup input[name="ok"]</td>	<td>&nbsp;</td></tr>
+                
+    <tr><td rowspan="1" colspan="3"> Verify the group was created </td></tr>
+
+    <tr><td>verifyTextNotPresent</td>	<td>Could not create group</td>	<td></td></tr>
+
+    <tr><td>open</td>	<td>${viewgroupurl}group=${group}</td>	<td>&nbsp;</td></tr>
+    <tr><td>verifyTitle</td>		<td>JSPWiki: ${group}</td>	<td>&nbsp;</td></tr>
+    <tr><td>verifyTextPresent</td>	<td>This is the wiki group called</td>	<td></td></tr>
+        
+    <tr><td rowspan="1" colspan="3"> Log out </td></tr>
+
+    <tr><td>clickAndWait</td>	<td>link=Log out</td> 	<td>&nbsp;</td></tr>
+
+    <tr><td rowspan="1" colspan="3"> Verifiy that anonymous users can't view the group </td></tr>
+
+    <tr><td>open</td>	<td>${viewgroupurl}group=${group}</td>	<td>&nbsp;</td></tr>
+    <tr><td>verifyTextPresent</td>	<td>Please sign in</td>	<td></td></tr>
+                
+    <tr><td rowspan="1" colspan="3"> Log in again and verify we can read it </td></tr>
+
+    <tr><td>open</td>	<td>${loginurl}</td>	<td>&nbsp;</td></tr>
+
+    <tr><td>type</td>	<td>j_username</td>	<td>${TestUsername}</td></tr>
+    <tr><td>type</td>	<td>j_password</td>	<td>${TestPassword}</td></tr>
+    <tr><td>clickAndWait</td>	<td>submitlogin</td>	<td>&nbsp;</td></tr>
+
+    <tr><td>open</td>	<td>${viewgroupurl}group=${group}</td>	<td>&nbsp;</td></tr>
+    <tr><td>verifyTextPresent</td>	<td>This is the wiki group called</td>	<td></td></tr>
+                
+    <tr><td rowspan="1" colspan="3"> Log out </td></tr>
+
+    <tr><td>clickAndWait</td>	<td>link=Log out</td> 	<td>&nbsp;</td></tr>
+
+    <tr><td rowspan="1" colspan="3"> Verify that asserted user 'Fred' can view the group but not edit </td></tr>
+
+    <tr><td>open</td>	<td>${url}</td>	<td>&nbsp;</td></tr>
+    
+    <tr><td>clickAndWait</td>	<td>link=My Prefs</td> 	<td>&nbsp;</td></tr>
+    <!--<tr><td>open</td>	<td>${prefsurl}</td>	<td>&nbsp;</td></tr>-->
+
+    <tr><td>verifyTitle</td>			<td>JSPWiki: User Preferences</td>	<td>&nbsp;</td></tr>
+    <tr><td>verifyElementPresent</td>	<td>assertedName</td>	<td>&nbsp;</td></tr>
+    <tr><td>verifyElementPresent</td>	<td>css=form#setCookie input[name="ok"]</td>	<td>&nbsp;</td></tr>
+
+    <tr><td>type</td>			<td>assertedName</td>	<td>FredFlintstone</td></tr>
+    <tr><td>clickAndWait</td>	<td>css=form#setCookie input[name="ok"]</td>	<td>&nbsp;</td></tr>
+
+    <tr><td rowspan="1" colspan="3"> Now navigate back to the main page; see the 'G'day message' for FredFlintstone </td></tr>
+
+    <tr><td>verifyTitle</td>		<td>JSPWiki: Main</td>		<td>&nbsp;</td></tr>
+    <tr><td>verifyTextPresent</td>	<td>G&#8217;day</td>		<td>&nbsp;</td></tr>
+    <tr><td>verifyElementPresent</td>	<td>link=FredFlintstone</td>	<td>&nbsp;</td></tr>
+    <tr><td>verifyTextPresent</td>	<td>(not logged in)</td>	<td>&nbsp;</td></tr>
+
+    <tr><td>assertCookie</td>	<td>regex:JSPWikiAssertedName=FredFlintstone</td>	<td></td></tr>
+
+    <tr><td>open</td>	<td>${viewgroupurl}group=${group}</td>	<td>&nbsp;</td></tr>
+    <tr><td>verifyTitle</td>		<td>JSPWiki: ${group}</td>	<td>&nbsp;</td></tr>
+    <tr><td>verifyTextPresent</td>	<td>This is the wiki group called</td>	<td></td></tr>
+
+    <tr><td rowspan="1" colspan="3"> Try to edit it should not be allowed </td></tr>
+
+    <tr><td>open</td>	<td>${editgroupurl}group=${group}</td>	<td>&nbsp;</td></tr>
+    <tr><td>verifyTextPresent</td>	<td>Please sign in</td>	<td></td></tr>
+        
+    <tr><td rowspan="1" colspan="3"> Clear user cookie </td></tr>
+
+    <tr><td>open</td>			<td>${prefsurl}</td>				<td>&nbsp;</td></tr>
+    <tr><td>verifyTitle</td>	<td>JSPWiki: User Preferences</td>	<td>&nbsp;</td></tr>
+    <tr><td>verifyValue</td>	<td>assertedName</td>				<td>FredFlintstone</td></tr>
+    <tr><td>verifyElementPresent</td>	<td>css=form#clearCookie input[name="ok"]</td>	<td>&nbsp;</td></tr>
+    <tr><td>clickAndWait</td>			<td>css=form#clearCookie input[name="ok"]</td>	<td>&nbsp;</td></tr>
+
+    
+	</tbody>
+</table>
+
+</body>
+</html>

Added: incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/tests/etc/selenium/tests/JSPWikiTestCreateGroupFullName.html
URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/tests/etc/selenium/tests/JSPWikiTestCreateGroupFullName.html?rev=627278&view=auto
==============================================================================
--- incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/tests/etc/selenium/tests/JSPWikiTestCreateGroupFullName.html (added)
+++ incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/tests/etc/selenium/tests/JSPWikiTestCreateGroupFullName.html Tue Feb 12 22:31:22 2008
@@ -0,0 +1,89 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+  <meta content="text/html; charset=ISO-8859-1" http-equiv="content-type">
+  <title>JSPWiki Test Create Group Full Name</title>
+</head>
+<body> 
+<table cellpadding="1" cellspacing="1" border="1">
+	<tbody>
+	<tr><td rowspan="1" colspan="3">JSPWiki Test Create Group Full Name<br></td></tr>
+
+	<tr><td>store</td>	<td>javascript{'Test-group-'+new Date().getTime()}</td>	<td>group</td></tr>
+	<tr><td>store</td>	<td>Janne Jalkanen</td>									<td>members</td></tr>
+	<tr><td>store</td>	<td>../Wiki.jsp</td>			<td>url</td></tr>
+	<tr><td>store</td>	<td>../Login.jsp</td>		<td>loginurl</td></tr>
+	<tr><td>store</td>	<td>../Group.jsp?</td>		<td>viewgroupurl</td></tr>
+	<tr><td>store</td>	<td>../NewGroup.jsp?</td>	<td>newgroupurl</td></tr>
+	<tr><td>store</td>	<td>../EditGroup.jsp?</td>	<td>editgroupurl</td></tr>
+	<tr><td>store</td>	<td>janne</td>	<td>TestUsername</td></tr>
+    <tr><td>store</td>	<td>myP@5sw0rd</td>	<td>TestPassword</td></tr>
+
+    <tr><td>open</td>	<td>${url}</td>	<td>&nbsp;</td></tr>
+
+    <tr><td>verifyTitle</td>		<td>JSPWiki: Main</td>	<td>&nbsp;</td></tr>
+    <tr><td>verifyTextPresent</td>	<td>G&#8217;day (anonymous guest)</td>	<td>&nbsp;</td></tr>
+
+    <!-- login -->
+    <tr><td>open</td>	<td>${loginurl}</td>	<td>&nbsp;</td></tr>
+
+    <tr><td>verifyTitle</td>	<td>JSPWiki: Login</td>	<td>&nbsp;</td></tr>
+    <tr><td>type</td>	<td>j_username</td>	<td>${TestUsername}</td></tr>
+    <tr><td>type</td>	<td>j_password</td>	<td>${TestPassword}</td></tr>
+    <tr><td>clickAndWait</td>	<td>submitlogin</td>	<td>&nbsp;</td></tr>
+
+    <tr><td>verifyTextNotPresent</td>	<td>Please sign in</td>	<td></td></tr>
+    <tr><td>verifyTextPresent</td>	<td>G&#8217;day</td>	<td></td></tr>
+    <tr><td>verifyTextPresent</td>	<td>(authenticated)</td>	<td></td></tr>
+        
+    <!-- First, name the group -->
+    <tr><td>open</td>	<td>${newgroupurl}</td>	<td>&nbsp;</td></tr>
+
+    <tr><td>verifyTitle</td>		<td>JSPWiki: New Group</td>	<td>&nbsp;</td></tr>
+    <tr><td>verifyElementPresent</td>	<td>css=form#createGroup input[name="ok"]</td>	<td></td></tr>
+    <tr><td>verifyElementPresent</td>	<td>group</td>	<td></td></tr>
+    <tr><td>verifyElementPresent</td>	<td>members</td>	<td></td></tr>
+
+    <tr><td>type</td>			<td>group</td>		<td>${group}</td></tr>
+    <tr><td>type</td>			<td>members</td>	<td>${members}</td></tr>
+    <tr><td>clickAndWait</td>	<td>css=form#createGroup input[name="ok"]</td>	<td>&nbsp;</td></tr>
+        
+    <!-- Verify the group was created -->
+    <tr><td>verifyTextNotPresent</td>	<td>Could not create group</td>	<td></td></tr>
+
+    <tr><td>open</td>	<td>${viewgroupurl}group=${group}</td>	<td>&nbsp;</td></tr>
+    <tr><td>verifyTitle</td>		<td>JSPWiki: ${group}</td>	<td>&nbsp;</td></tr>
+    <tr><td>verifyTextPresent</td>	<td>This is the wiki group called</td>	<td></td></tr>
+        
+    <!-- Log out -->
+    <tr><td>clickAndWait</td>	<td>link=Log out</td> 	<td>&nbsp;</td></tr>
+
+    <!-- Verifiy that anonymous users can't view the group -->
+    <tr><td>open</td>	<td>${viewgroupurl}group=${group}</td>	<td>&nbsp;</td></tr>
+    <tr><td>verifyTextPresent</td>	<td>Please sign in</td>	<td></td></tr>
+        
+    <!-- Log in again and verify we can read it -->
+    <tr><td>open</td>	<td>${loginurl}</td>	<td>&nbsp;</td></tr>
+
+    <tr><td>type</td>	<td>j_username</td>	<td>${TestUsername}</td></tr>
+    <tr><td>type</td>	<td>j_password</td>	<td>${TestPassword}</td></tr>
+    <tr><td>clickAndWait</td>	<td>submitlogin</td>	<td>&nbsp;</td></tr>
+
+    <tr><td>open</td>	<td>${viewgroupurl}group=${group}</td>	<td>&nbsp;</td></tr>
+    <tr><td>verifyTextPresent</td>	<td>This is the wiki group called</td>	<td></td></tr>
+        
+    <!-- Try to edit, it should be allowed -->
+    <tr><td>open</td>	<td>${editgroupurl}group=${group}</td>	<td>&nbsp;</td></tr>
+    <tr><td>verifyTextNotPresent</td>	<td>Please sign in</td>	<td></td></tr>
+
+    <tr><td>verifyElementPresent</td>	<td>css=form#editGroup</td>	<td></td></tr>
+        
+    <!-- Log out -->
+    <tr><td>clickAndWait</td>	<td>link=Log out</td> 	<td>&nbsp;</td></tr>
+
+    
+	</tbody>
+</table>
+
+</body>
+</html>

Added: incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/tests/etc/selenium/tests/JSPWikiTestCreateGroupLoginName.html
URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/tests/etc/selenium/tests/JSPWikiTestCreateGroupLoginName.html?rev=627278&view=auto
==============================================================================
--- incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/tests/etc/selenium/tests/JSPWikiTestCreateGroupLoginName.html (added)
+++ incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/tests/etc/selenium/tests/JSPWikiTestCreateGroupLoginName.html Tue Feb 12 22:31:22 2008
@@ -0,0 +1,88 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+  <meta content="text/html; charset=ISO-8859-1" http-equiv="content-type">
+  <title>JSPWiki Test Create Group Login Name</title>
+</head>
+<body> 
+<table cellpadding="1" cellspacing="1" border="1">
+	<tbody>
+	<tr><td rowspan="1" colspan="3">JSPWiki Create Group Login Name<br></td></tr>
+
+	<tr><td>store</td>	<td>javascript{'Test-group-'+new Date().getTime()}</td>	<td>group</td></tr>
+	<tr><td>store</td>	<td>janne</td>									<td>members</td></tr>
+	<tr><td>store</td>	<td>../Wiki.jsp</td>			<td>url</td></tr>
+	<tr><td>store</td>	<td>../Login.jsp</td>		<td>loginurl</td></tr>
+	<tr><td>store</td>	<td>../Group.jsp?</td>		<td>viewgroupurl</td></tr>
+	<tr><td>store</td>	<td>../NewGroup.jsp?</td>	<td>newgroupurl</td></tr>
+	<tr><td>store</td>	<td>../EditGroup.jsp?</td>	<td>editgroupurl</td></tr>
+	<tr><td>store</td>	<td>janne</td>	<td>TestUsername</td></tr>
+    <tr><td>store</td>	<td>myP@5sw0rd</td>	<td>TestPassword</td></tr>
+
+    <tr><td>open</td>	<td>${url}</td>	<td>&nbsp;</td></tr>
+
+    <tr><td>verifyTitle</td>		<td>JSPWiki: Main</td>	<td>&nbsp;</td></tr>
+    <tr><td>verifyTextPresent</td>	<td>G&#8217;day (anonymous guest)</td>	<td>&nbsp;</td></tr>
+
+    <!-- login -->
+    <tr><td>open</td>	<td>${loginurl}</td>	<td>&nbsp;</td></tr>
+
+    <tr><td>verifyTitle</td>	<td>JSPWiki: Login</td>	<td>&nbsp;</td></tr>
+    <tr><td>type</td>	<td>j_username</td>	<td>${TestUsername}</td></tr>
+    <tr><td>type</td>	<td>j_password</td>	<td>${TestPassword}</td></tr>
+    <tr><td>clickAndWait</td>	<td>submitlogin</td>	<td>&nbsp;</td></tr>
+
+    <tr><td>verifyTextNotPresent</td>	<td>Please sign in</td>	<td></td></tr>
+    <tr><td>verifyTextPresent</td>	<td>G&#8217;day</td>	<td></td></tr>
+    <tr><td>verifyTextPresent</td>	<td>(authenticated)</td>	<td></td></tr>
+        
+    <!-- First, name the group -->
+    <tr><td>open</td>	<td>${newgroupurl}</td>	<td>&nbsp;</td></tr>
+
+    <tr><td>verifyTitle</td>		<td>JSPWiki: New Group</td>	<td>&nbsp;</td></tr>
+    <tr><td>verifyElementPresent</td>	<td>css=form#createGroup input[name="ok"]</td>	<td></td></tr>
+    <tr><td>verifyElementPresent</td>	<td>group</td>	<td></td></tr>
+    <tr><td>verifyElementPresent</td>	<td>members</td>	<td></td></tr>
+
+    <tr><td>type</td>			<td>group</td>		<td>${group}</td></tr>
+    <tr><td>type</td>			<td>members</td>	<td>${members}</td></tr>
+    <tr><td>clickAndWait</td>	<td>css=form#createGroup input[name="ok"]</td>	<td>&nbsp;</td></tr>
+        
+    <!-- Verify the group was created -->
+    <tr><td>verifyTextNotPresent</td>	<td>Could not create group</td>	<td></td></tr>
+
+    <tr><td>open</td>	<td>${viewgroupurl}group=${group}</td>	<td>&nbsp;</td></tr>
+    <tr><td>verifyTitle</td>		<td>JSPWiki: ${group}</td>	<td>&nbsp;</td></tr>
+    <tr><td>verifyTextPresent</td>	<td>This is the wiki group called</td>	<td></td></tr>
+        
+    <!-- Log out -->
+    <tr><td>clickAndWait</td>	<td>link=Log out</td> 	<td>&nbsp;</td></tr>
+
+    <!-- Verifiy that anonymous users can't view the group -->
+    <tr><td>open</td>	<td>${viewgroupurl}group=${group}</td>	<td>&nbsp;</td></tr>
+    <tr><td>verifyTextPresent</td>	<td>Please sign in</td>	<td></td></tr>
+        
+    <!-- Log in again and verify we can read it -->
+    <tr><td>open</td>	<td>${loginurl}</td>	<td>&nbsp;</td></tr>
+
+    <tr><td>type</td>	<td>j_username</td>	<td>${TestUsername}</td></tr>
+    <tr><td>type</td>	<td>j_password</td>	<td>${TestPassword}</td></tr>
+    <tr><td>clickAndWait</td>	<td>submitlogin</td>	<td>&nbsp;</td></tr>
+
+    <tr><td>open</td>	<td>${viewgroupurl}group=${group}</td>	<td>&nbsp;</td></tr>
+    <tr><td>verifyTextPresent</td>	<td>This is the wiki group called</td>	<td></td></tr>
+        
+    <!-- Try to edit, it should be allowed -->
+    <tr><td>open</td>	<td>${editgroupurl}group=${group}</td>	<td>&nbsp;</td></tr>
+    <tr><td>verifyTextNotPresent</td>	<td>Please sign in</td>	<td></td></tr>
+
+    <tr><td>verifyElementPresent</td>	<td>css=form#editGroup</td>	<td></td></tr>
+        
+    <!-- Log out -->
+    <tr><td>clickAndWait</td>	<td>link=Log out</td> 	<td>&nbsp;</td></tr>
+
+	</tbody>
+</table>
+
+</body>
+</html>

Added: incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/tests/etc/selenium/tests/JSPWikiTestCreateGroupWikiName.html
URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/tests/etc/selenium/tests/JSPWikiTestCreateGroupWikiName.html?rev=627278&view=auto
==============================================================================
--- incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/tests/etc/selenium/tests/JSPWikiTestCreateGroupWikiName.html (added)
+++ incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/tests/etc/selenium/tests/JSPWikiTestCreateGroupWikiName.html Tue Feb 12 22:31:22 2008
@@ -0,0 +1,88 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+  <meta content="text/html; charset=ISO-8859-1" http-equiv="content-type">
+  <title>JSPWiki Test Create Group WikiName</title>
+</head>
+<body> 
+<table cellpadding="1" cellspacing="1" border="1">
+	<tbody>
+	<tr><td rowspan="1" colspan="3">JSPWiki Test Create Group WikiName<br></td></tr>
+	
+	<tr><td>store</td>	<td>javascript{'Test-group-'+new Date().getTime()}</td>	<td>group</td></tr>
+	<tr><td>store</td>	<td>JanneJalkanen</td>									<td>members</td></tr>
+	<tr><td>store</td>	<td>../Wiki.jsp</td>			<td>url</td></tr>
+	<tr><td>store</td>	<td>../Login.jsp</td>		<td>loginurl</td></tr>
+	<tr><td>store</td>	<td>../Group.jsp?</td>		<td>viewgroupurl</td></tr>
+	<tr><td>store</td>	<td>../NewGroup.jsp?</td>	<td>newgroupurl</td></tr>
+	<tr><td>store</td>	<td>../EditGroup.jsp?</td>	<td>editgroupurl</td></tr>
+	<tr><td>store</td>	<td>janne</td>	<td>TestUsername</td></tr>
+    <tr><td>store</td>	<td>myP@5sw0rd</td>	<td>TestPassword</td></tr>
+
+    <tr><td>open</td>	<td>${url}</td>	<td>&nbsp;</td></tr>
+
+    <tr><td>verifyTitle</td>		<td>JSPWiki: Main</td>	<td>&nbsp;</td></tr>
+    <tr><td>verifyTextPresent</td>	<td>G&#8217;day (anonymous guest)</td>	<td>&nbsp;</td></tr>
+
+    <!-- login -->
+    <tr><td>open</td>	<td>${loginurl}</td>	<td>&nbsp;</td></tr>
+
+    <tr><td>verifyTitle</td>	<td>JSPWiki: Login</td>	<td>&nbsp;</td></tr>
+    <tr><td>type</td>	<td>j_username</td>	<td>${TestUsername}</td></tr>
+    <tr><td>type</td>	<td>j_password</td>	<td>${TestPassword}</td></tr>
+    <tr><td>clickAndWait</td>	<td>submitlogin</td>	<td>&nbsp;</td></tr>
+
+    <tr><td>verifyTextNotPresent</td>	<td>Please sign in</td>	<td></td></tr>
+    <tr><td>verifyTextPresent</td>	<td>G&#8217;day</td>	<td></td></tr>
+    <tr><td>verifyTextPresent</td>	<td>(authenticated)</td>	<td></td></tr>
+        
+    <!-- First, name the group -->
+    <tr><td>open</td>	<td>${newgroupurl}</td>	<td>&nbsp;</td></tr>
+
+    <tr><td>verifyTitle</td>		<td>JSPWiki: New Group</td>	<td>&nbsp;</td></tr>
+    <tr><td>verifyElementPresent</td>	<td>css=form#createGroup input[name="ok"]</td>	<td></td></tr>
+    <tr><td>verifyElementPresent</td>	<td>group</td>	<td></td></tr>
+    <tr><td>verifyElementPresent</td>	<td>members</td>	<td></td></tr>
+
+    <tr><td>type</td>			<td>group</td>		<td>${group}</td></tr>
+    <tr><td>type</td>			<td>members</td>	<td>${members}</td></tr>
+    <tr><td>clickAndWait</td>	<td>css=form#createGroup input[name="ok"]</td>	<td>&nbsp;</td></tr>
+        
+    <!-- Verify the group was created -->
+    <tr><td>verifyTextNotPresent</td>	<td>Could not create group</td>	<td></td></tr>
+
+    <tr><td>open</td>	<td>${viewgroupurl}group=${group}</td>	<td>&nbsp;</td></tr>
+    <tr><td>verifyTitle</td>		<td>JSPWiki: ${group}</td>	<td>&nbsp;</td></tr>
+    <tr><td>verifyTextPresent</td>	<td>This is the wiki group called</td>	<td></td></tr>
+        
+    <!-- Log out -->
+    <tr><td>clickAndWait</td>	<td>link=Log out</td> 	<td>&nbsp;</td></tr>
+
+    <!-- Verifiy that anonymous users can't view the group -->
+    <tr><td>open</td>	<td>${viewgroupurl}group=${group}</td>	<td>&nbsp;</td></tr>
+    <tr><td>verifyTextPresent</td>	<td>Please sign in</td>	<td></td></tr>
+        
+    <!-- Log in again and verify we can read it -->
+    <tr><td>open</td>	<td>${loginurl}</td>	<td>&nbsp;</td></tr>
+
+    <tr><td>type</td>	<td>j_username</td>	<td>${TestUsername}</td></tr>
+    <tr><td>type</td>	<td>j_password</td>	<td>${TestPassword}</td></tr>
+    <tr><td>clickAndWait</td>	<td>submitlogin</td>	<td>&nbsp;</td></tr>
+
+    <tr><td>open</td>	<td>${viewgroupurl}group=${group}</td>	<td>&nbsp;</td></tr>
+    <tr><td>verifyTextPresent</td>	<td>This is the wiki group called</td>	<td></td></tr>
+        
+    <!-- Try to edit, it should be allowed -->
+    <tr><td>open</td>	<td>${editgroupurl}group=${group}</td>	<td>&nbsp;</td></tr>
+    <tr><td>verifyTextNotPresent</td>	<td>Please sign in</td>	<td></td></tr>
+
+    <tr><td>verifyElementPresent</td>	<td>css=form#editGroup</td>	<td></td></tr>
+        
+    <!-- Log out -->
+    <tr><td>clickAndWait</td>	<td>link=Log out</td> 	<td>&nbsp;</td></tr>
+
+	</tbody>
+</table>
+
+</body>
+</html>

Added: incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/tests/etc/selenium/tests/JSPWikiTestCreatePage.html
URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/tests/etc/selenium/tests/JSPWikiTestCreatePage.html?rev=627278&view=auto
==============================================================================
--- incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/tests/etc/selenium/tests/JSPWikiTestCreatePage.html (added)
+++ incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/tests/etc/selenium/tests/JSPWikiTestCreatePage.html Tue Feb 12 22:31:22 2008
@@ -0,0 +1,47 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+  <meta content="text/html; charset=ISO-8859-1" http-equiv="content-type">
+  <title>JSPWiki Test Create Page</title>
+</head>
+<body> 
+<table cellpadding="1" cellspacing="1" border="1">
+	<tbody>
+	<tr><td rowspan="1" colspan="3">JSPWiki Test Create Page<br></td></tr>
+
+	<tr><td>store</td>	<td>javascript{'Createpage '+new Date().getTime()}</td>	<td>page</td></tr>
+	<tr><td>store</td>	<td>janne</td>			<td>TestUsername</td></tr>
+    <tr><td>store</td>	<td>myP@5sw0rd</td>		<td>TestPassword</td></tr>
+
+	<tr><td>store</td>	<td>../Wiki.jsp?page=Main</td>		<td>url</td></tr>
+	<tr><td>store</td>	<td>../Edit.jsp?page=${page}</td>	<td>editurl</td></tr>
+	<tr><td>store</td>	<td>../Login.jsp</td>			<td>loginurl</td></tr>
+    <tr><td>store</td>	<td>This page was created by the web unit tests.</td>	<td>PageContent</td></tr>
+
+	<!-- Login -->
+    <tr><td>open</td>	<td>${loginurl}</td>	<td>&nbsp;</td></tr>
+    <tr><td>type</td>	<td>j_username</td>	<td>${TestUsername}</td></tr>
+    <tr><td>type</td>	<td>j_password</td>	<td>${TestPassword}</td></tr>
+    <tr><td>clickAndWait</td>	<td>submitlogin</td>	<td>&nbsp;</td></tr>
+
+	<!-- create page -->
+    <tr><td>open</td>	<td>${editurl}</td>	<td>&nbsp;</td></tr>
+
+    <tr><td>verifyTitle</td>		<td>JSPWiki: Edit: ${page}</td>	<td>&nbsp;</td></tr>
+    <tr><td>verifyElementPresent</td>	<td>ok</td>	<td></td></tr>
+    <tr><td>verifyElementPresent</td>	<td>id=editorarea</td>	<td></td></tr>
+
+    <tr><td>type</td>			<td>id=editorarea</td>		<td>${PageContent}</td></tr>
+    <tr><td>clickAndWait</td>	<td>ok</td>	<td>&nbsp;</td></tr>
+
+    <tr><td>verifyTitle</td>		<td>JSPWiki: ${page}</td>	<td>&nbsp;</td></tr>
+    <tr><td>verifyTextPresent</td>	<td>${PageContent}</td>	<td>&nbsp;</td></tr>	
+    
+    <!-- Log out -->
+    <tr><td>clickAndWait</td>	<td>link=Log out</td> 	<td>&nbsp;</td></tr>
+
+	</tbody>
+</table>
+
+</body>
+</html>

Added: incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/tests/etc/selenium/tests/JSPWikiTestDeletePage.html
URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/tests/etc/selenium/tests/JSPWikiTestDeletePage.html?rev=627278&view=auto
==============================================================================
--- incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/tests/etc/selenium/tests/JSPWikiTestDeletePage.html (added)
+++ incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/tests/etc/selenium/tests/JSPWikiTestDeletePage.html Tue Feb 12 22:31:22 2008
@@ -0,0 +1,63 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+  <meta content="text/html; charset=ISO-8859-1" http-equiv="content-type">
+  <title>JSPWiki Test Delete Page</title>
+</head>
+<body> 
+<table cellpadding="1" cellspacing="1" border="1">
+	<tbody>
+	<tr><td rowspan="1" colspan="3">JSPWiki Test Delete Page<br></td></tr>
+
+	<tr><td>store</td>	<td>javascript{'Delete-page '+new Date().getTime()}</td>	<td>page</td></tr>
+	<tr><td>store</td>	<td>admin</td>		<td>TestUsername</td></tr>
+    <tr><td>store</td>	<td>myP@5sw0rd</td>		<td>TestPassword</td></tr>
+
+	<tr><td>store</td>	<td>/JSPWiki-pipo/Wiki.jsp?page=${page}</td>	<td>url</td></tr>
+	<tr><td>store</td>	<td>/JSPWiki-pipo/Edit.jsp?page=${page}</td>	<td>editurl</td></tr>
+	<tr><td>store</td>	<td>/JSPWiki-pipo/PageInfo.jsp?page=${page}</td><td>infourl</td></tr>
+	<tr><td>store</td>	<td>/JSPWiki-pipo/Login.jsp</td>				<td>loginurl</td></tr>
+    <tr><td>store</td>	<td>This page was created by the web unit tests.</td>	<td>PageContent</td></tr>
+
+	<!-- Login --!>
+    <tr><td>open</td>	<td>${loginurl}</td>	<td>&nbsp;</td></tr>
+    <tr><td>type</td>	<td>j_username</td>	<td>${TestUsername}</td></tr>
+    <tr><td>type</td>	<td>j_password</td>	<td>${TestPassword}</td></tr>
+    <tr><td>clickAndWait</td>	<td>submitlogin</td>	<td>&nbsp;</td></tr>
+
+	<!-- Create page --!>
+    <tr><td>open</td>					<td>${editurl}</td>	<td>&nbsp;</td></tr>
+    <tr><td>verifyTitle</td>			<td>JSPWiki: Edit: ${page}</td>	<td>&nbsp;</td></tr>
+    <tr><td>verifyElementPresent</td>	<td>ok</td>	<td></td></tr>
+    <tr><td>verifyElementPresent</td>	<td>id=editorarea</td>	<td></td></tr>
+
+    <tr><td>type</td>			<td>id=editorarea</td>		<td>${PageContent}</td></tr>
+    <tr><td>clickAndWait</td>	<td>ok</td>	<td>&nbsp;</td></tr>
+
+    <tr><td>open</td>				<td>${url}</td>	<td>&nbsp;</td></tr>
+    <tr><td>verifyTitle</td>		<td>JSPWiki: ${page}</td>	<td>&nbsp;</td></tr>
+    <tr><td>verifyTextPresent</td>	<td>${PageContent}</td>	<td>&nbsp;</td></tr>	
+    
+	<!-- Delete Page --!>
+    <tr><td>open</td>					<td>${infourl}</td>	<td>&nbsp;</td></tr>
+    <tr><td>verifyTitle</td>			<td>JSPWiki: ${page}</td>	<td>&nbsp;</td></tr>
+    <tr><td>assertElementPresent</td>	<td>id=delete-all</td>	<td>&nbsp;</td></tr>	
+    <tr><td>clickAndWait</td>			<td>id=delete-all</td> 	<td>&nbsp;</td></tr>
+
+    <!-- Confirm delete --!>
+    <tr><td>assertConfirmation</td>	<td>Please confirm that you want to delete this content permanently!</td>	<td>&nbsp;</td></tr>	
+
+
+    <!-- This page does not exist. Why don&#8217;t you go and create it? --!>
+    <tr><td>verifyTitle</td>		<td>JSPWiki: ${page}</td>	<td>&nbsp;</td></tr>
+    <tr><td>verifyTextPresent</td>	<td>This page does not exist. Why don&#8217;t you go and create it?</td> <td>&nbsp;</td></tr>	
+	<!-- class= information --!>
+
+    <!-- Log out --!>
+    <tr><td>clickAndWait</td>	<td>link=Log out</td> 	<td>&nbsp;</td></tr>
+
+	</tbody>
+</table>
+
+</body>
+</html>

Added: incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/tests/etc/selenium/tests/JSPWikiTestLogin.html
URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/tests/etc/selenium/tests/JSPWikiTestLogin.html?rev=627278&view=auto
==============================================================================
--- incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/tests/etc/selenium/tests/JSPWikiTestLogin.html (added)
+++ incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/tests/etc/selenium/tests/JSPWikiTestLogin.html Tue Feb 12 22:31:22 2008
@@ -0,0 +1,43 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+  <meta content="text/html; charset=ISO-8859-1" http-equiv="content-type">
+  <title>JSPWiki Test Login</title>
+</head>
+<body> 
+<table cellpadding="1" cellspacing="1" border="1">
+	<tbody>
+	<tr><td rowspan="1" colspan="3">JSPWiki Test Login<br></td></tr>
+
+	<tr><td>store</td>	<td>../Wiki.jsp?page=Main</td>	<td>url</td></tr>
+	<tr><td>store</td>	<td>janne</td>		<td>TestLoginname</td></tr>
+    <tr><td>store</td>	<td>myP@5sw0rd</td>	<td>TestPassword</td></tr>
+    
+    <tr><td>open</td>	<td>${url}</td>	<td>&nbsp;</td></tr>
+
+    <tr><td>verifyTitle</td>		<td>JSPWiki: Main</td>	<td>&nbsp;</td></tr>
+    <tr><td>verifyTextPresent</td>	<td>G&#8217;day (anonymous guest)</td>	<td>&nbsp;</td></tr>
+
+    <!-- login -->
+    <tr><td>clickAndWait</td>	<td>link=Log in</td> 	<td>&nbsp;</td></tr>
+
+    <tr><td>verifyTitle</td>	<td>JSPWiki: Login</td>	<td>&nbsp;</td></tr>
+    <tr><td>verifyValue</td>	<td>j_username</td>		<td>&nbsp;</td></tr>
+    <tr><td>verifyValue</td>	<td>j_password</td>		<td>&nbsp;</td></tr>
+    <tr><td>verifyElementPresent</td>	<td>submitlogin</td>	<td></td></tr>
+
+    <tr><td>type</td>	<td>j_username</td>	<td>${TestLoginname}</td></tr>
+    <tr><td>type</td>	<td>j_password</td>	<td>${TestPassword}</td></tr>
+
+    <tr><td>clickAndWait</td>	<td>submitlogin</td>	<td>&nbsp;</td></tr>
+
+    <tr><td>verifyTitle</td><td>JSPWiki: Main</td><td>&nbsp;</td></tr>
+    
+    <!-- Log out -->
+    <tr><td>clickAndWait</td>	<td>link=Log out</td> 	<td>&nbsp;</td></tr>
+
+	</tbody>
+</table>
+
+</body>
+</html>

Added: incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/tests/etc/selenium/tests/JSPWikiTestLogout.html
URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/tests/etc/selenium/tests/JSPWikiTestLogout.html?rev=627278&view=auto
==============================================================================
--- incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/tests/etc/selenium/tests/JSPWikiTestLogout.html (added)
+++ incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/tests/etc/selenium/tests/JSPWikiTestLogout.html Tue Feb 12 22:31:22 2008
@@ -0,0 +1,45 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+  <meta content="text/html; charset=ISO-8859-1" http-equiv="content-type">
+  <title>JSPWiki Test Logout</title>
+</head>
+<body> 
+<table cellpadding="1" cellspacing="1" border="1">
+	<tbody>
+	<tr><td rowspan="1" colspan="3">JSPWiki Test Logout<br></td></tr>
+
+	<tr><td>store</td>	<td>../Wiki.jsp?page=Main</td>	<td>url</td></tr>
+	<tr><td>store</td>	<td>../Login.jsp</td>			<td>loginurl</td></tr>
+	<tr><td>store</td>	<td>janne</td>			<td>TestUsername</td></tr>
+    <tr><td>store</td>	<td>myP@5sw0rd</td>		<td>TestPassword</td></tr>
+	<tr><td>store</td>	<td>JanneJalkanen</td>	<td>wikiname</td></tr>
+
+	<!-- Start at front page: try to log in -->
+    <tr><td>open</td>	<td>${loginurl}</td>	<td>&nbsp;</td></tr>
+
+    <tr><td>type</td>	<td>j_username</td>	<td>${TestUsername}</td></tr>
+    <tr><td>type</td>	<td>j_password</td>	<td>${TestPassword}</td></tr>
+
+    <tr><td>clickAndWait</td>	<td>submitlogin</td>	<td>&nbsp;</td></tr>
+
+    <tr><td>verifyTextNotPresent</td>	<td>Please sign in</td>	<td>&nbsp;</td></tr>
+    <tr><td>verifyTextPresent</td>		<td>G&#8217;day</td>	<td>&nbsp;</td></tr>
+    <tr><td>verifyTextPresent</td>		<td>(authenticated)</td><td>&nbsp;</td></tr>
+
+    <tr><td>assertCookie</td>	<td>regex:JSPWikiAssertedName=${wikiname}</td>	<td></td></tr>
+
+    <!-- Log out; we should NOT see any asserted identities -->
+    <tr><td>assertElementPresent</td>	<td>link=Log out</td>	<td></td></tr>
+    <tr><td>clickAndWait</td>			<td>link=Log out</td> 	<td>&nbsp;</td></tr>
+
+    <tr><td>verifyTextPresent</td>	<td>G&#8217;day (anonymous guest)</td>	<td>&nbsp;</td></tr>
+    <tr><td>verifyTitle</td>		<td>JSPWiki: Main</td>	<td>&nbsp;</td></tr>
+
+    <tr><td>assertNotCookie</td>	<td>regex:JSPWikiAssertedName=${wikiname}</td>	<td></td></tr>
+    
+	</tbody>
+</table>
+
+</body>
+</html>

Added: incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/tests/etc/selenium/tests/JSPWikiTestRedirectPageAfterLogin.html
URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/tests/etc/selenium/tests/JSPWikiTestRedirectPageAfterLogin.html?rev=627278&view=auto
==============================================================================
--- incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/tests/etc/selenium/tests/JSPWikiTestRedirectPageAfterLogin.html (added)
+++ incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/tests/etc/selenium/tests/JSPWikiTestRedirectPageAfterLogin.html Tue Feb 12 22:31:22 2008
@@ -0,0 +1,65 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+  <meta content="text/html; charset=ISO-8859-1" http-equiv="content-type">
+  <title>JSPWiki Test Redirect Page After Login</title>
+</head>
+<body> 
+<table cellpadding="1" cellspacing="1" border="1">
+	<tbody>
+	<tr><td rowspan="1" colspan="3">JSPWiki Test Redirect Page After Login<br></td></tr>
+
+	<tr><td>store</td>	<td>javascript{'Redirectpage '+new Date().getTime()}</td>	<td>page</td></tr>
+	<tr><td>store</td>	<td>janne</td>		<td>TestUsername</td></tr>
+    <tr><td>store</td>	<td>myP@5sw0rd</td>	<td>TestPassword</td></tr>
+
+	<tr><td>store</td>	<td>../Wiki.jsp?page=${page}</td>	<td>url</td></tr>
+	<tr><td>store</td>	<td>../Edit.jsp?page=${page}</td>	<td>editurl</td></tr>
+	<tr><td>store</td>	<td>../Login.jsp</td>				<td>loginurl</td></tr>
+    <tr><td>store</td>	<td>This page was created to test redirects.</td>	<td>RedirectText</td></tr>
+
+	<!-- Login -->
+    <tr><td>open</td>	<td>${loginurl}</td>	<td>&nbsp;</td></tr>
+
+    <tr><td>type</td>	<td>j_username</td>	<td>${TestUsername}</td></tr>
+    <tr><td>type</td>	<td>j_password</td>	<td>${TestPassword}</td></tr>
+
+    <tr><td>clickAndWait</td>	<td>submitlogin</td>	<td>&nbsp;</td></tr>
+
+	<!-- Create a new page -->
+    <tr><td>open</td>	<td>${editurl}</td>	<td>&nbsp;</td></tr>
+
+    <tr><td>verifyTitle</td>			<td>JSPWiki: Edit: ${page}</td>	<td>&nbsp;</td></tr>
+    <tr><td>verifyElementPresent</td>	<td>ok</td>	<td></td></tr>
+    <tr><td>verifyElementPresent</td>	<td>id=editorarea</td>	<td></td></tr>
+
+    <tr><td>type</td>			<td>id=editorarea</td>		<td>[{ALLOW view Authenticated}] ${RedirectText}</td></tr>
+    <tr><td>clickAndWait</td>	<td>ok</td>	<td>&nbsp;</td></tr>
+
+    <tr><td>verifyTitle</td>		<td>JSPWiki: ${page}</td>	<td>&nbsp;</td></tr>
+    <tr><td>verifyTextPresent</td>	<td>${RedirectText}</td>	<td>&nbsp;</td></tr>	
+    
+    <!-- Log out -->
+    <tr><td>clickAndWait</td>	<td>link=Log out</td> 	<td>&nbsp;</td></tr>
+
+    <!-- Now, from an anonymous session, try to view it, fail, then login -->
+    <tr><td>open</td>	<td>${url}</td>	<td>&nbsp;</td></tr>
+
+    <tr><td>verifyTextNotPresent</td>	<td>${RedirectText}</td><td>&nbsp;</td></tr>	
+    <tr><td>verifyTitle</td>			<td>JSPWiki: Login</td>	<td>&nbsp;</td></tr>
+    <tr><td>verifyElementPresent</td>	<td>j_username</td>		<td>&nbsp;</td></tr>
+    <tr><td>verifyElementPresent</td>	<td>j_password</td>		<td>&nbsp;</td></tr>
+
+    <tr><td>type</td>	<td>j_username</td>	<td>${TestUsername}</td></tr>
+    <tr><td>type</td>	<td>j_password</td>	<td>${TestPassword}</td></tr>
+
+    <tr><td>clickAndWait</td>	<td>submitlogin</td>	<td>&nbsp;</td></tr>
+
+    <!-- We should be able to see the page now -->
+    <tr><td>verifyTextPresent</td>	<td>${RedirectText}</td>	<td>&nbsp;</td></tr>
+
+	</tbody>
+</table>
+
+</body>
+</html>

Added: incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/tests/etc/selenium/tests/JSPWikiTestRenamePage.html
URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/tests/etc/selenium/tests/JSPWikiTestRenamePage.html?rev=627278&view=auto
==============================================================================
--- incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/tests/etc/selenium/tests/JSPWikiTestRenamePage.html (added)
+++ incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/tests/etc/selenium/tests/JSPWikiTestRenamePage.html Tue Feb 12 22:31:22 2008
@@ -0,0 +1,57 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+  <meta content="text/html; charset=ISO-8859-1" http-equiv="content-type">
+  <title>JSPWiki Test Rename Page</title>
+</head>
+<body> 
+<table cellpadding="1" cellspacing="1" border="1">
+	<tbody>
+	<tr><td rowspan="1" colspan="3">JSPWiki Test Rename Page<br></td></tr>
+
+	<tr><td>store</td>	<td>javascript{'Rename-page '+new Date().getTime()}</td>	<td>page</td></tr>
+	<tr><td>store</td>	<td>janne</td>			<td>TestUsername</td></tr>
+    <tr><td>store</td>	<td>myP@5sw0rd</td>		<td>TestPassword</td></tr>
+
+	<tr><td>store</td>	<td>/JSPWiki-pipo/Wiki.jsp?page=${page}</td>		<td>url</td></tr>
+	<tr><td>store</td>	<td>/JSPWiki-pipo/Edit.jsp?page=${page}</td>		<td>editurl</td></tr>
+	<tr><td>store</td>	<td>/JSPWiki-pipo/PageInfo.jsp?page=${page}</td>	<td>infourl</td></tr>
+	<tr><td>store</td>	<td>/JSPWiki-pipo/Login.jsp</td>				<td>loginurl</td></tr>
+    <tr><td>store</td>	<td>This page was created by the rename web unit tests.</td>	<td>PageContent</td></tr>
+
+	<!-- Login --!>
+    <tr><td>open</td>	<td>${loginurl}</td>	<td>&nbsp;</td></tr>
+    <tr><td>type</td>	<td>j_username</td>	<td>${TestUsername}</td></tr>
+    <tr><td>type</td>	<td>j_password</td>	<td>${TestPassword}</td></tr>
+    <tr><td>clickAndWait</td>	<td>submitlogin</td>	<td>&nbsp;</td></tr>
+
+	<!-- Create a new page --!>
+    <tr><td>open</td>	<td>${editurl}</td>	<td>&nbsp;</td></tr>
+
+    <tr><td>verifyTitle</td>		<td>JSPWiki: Edit: ${page}</td>	<td>&nbsp;</td></tr>
+    <tr><td>verifyElementPresent</td>	<td>ok</td>	<td></td></tr>
+    <tr><td>verifyElementPresent</td>	<td>id=editorarea</td>	<td></td></tr>
+    <tr><td>type</td>					<td>id=editorarea</td>		<td>${PageContent}</td></tr>
+    <tr><td>clickAndWait</td>			<td>ok</td>	<td>&nbsp;</td></tr>
+
+    <tr><td>verifyTitle</td>		<td>JSPWiki: ${page}</td>	<td>&nbsp;</td></tr>
+    <tr><td>verifyTextPresent</td>	<td>${PageContent}</td>	<td>&nbsp;</td></tr>	
+    
+	<!-- Rename Page --!>
+    <tr><td>open</td>					<td>${infourl}</td>	<td>&nbsp;</td></tr>
+    <tr><td>verifyTitle</td>			<td>JSPWiki: ${page}</td>	<td>&nbsp;</td></tr>
+    <tr><td>assertElementPresent</td>	<td>rename</td>			<td>&nbsp;</td></tr>	
+    <tr><td>assertElementPresent</td>	<td>renameto</td>		<td>&nbsp;</td></tr>
+    <tr><td>type</td>					<td>renameto</td>	<td>${page}-renamed</td></tr>
+    <tr><td>clickAndWait</td>			<td>rename</td> 	<td>&nbsp;</td></tr>
+
+    <tr><td>verifyTitle</td>	<td>JSPWiki: ${page}-renamed</td>	<td>&nbsp;</td></tr>
+
+    <!-- Log out --!>
+    <tr><td>clickAndWait</td>	<td>link=Log out</td> 	<td>&nbsp;</td></tr>
+
+	</tbody>
+</table>
+
+</body>
+</html>

Added: incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/tests/etc/selenium/tests/JSPWikiTestRenameProfile.html
URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/tests/etc/selenium/tests/JSPWikiTestRenameProfile.html?rev=627278&view=auto
==============================================================================
--- incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/tests/etc/selenium/tests/JSPWikiTestRenameProfile.html (added)
+++ incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/tests/etc/selenium/tests/JSPWikiTestRenameProfile.html Tue Feb 12 22:31:22 2008
@@ -0,0 +1,136 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+  <meta content="text/html; charset=ISO-8859-1" http-equiv="content-type">
+  <title>JSPWiki Test Rename Profile</title>
+</head>
+<body> 
+<table cellpadding="1" cellspacing="1" border="1">
+	<tbody>
+	<tr><td rowspan="1" colspan="3">
+	JSPWiki Test Rename Profile<br>
+<!--
+0. Clear all session/assertion cookies using the browser options preferences tools.
+1. Create new user profile with login name "TestRenameProfileUser", name "TestRenameProfileUser" and password "password".
+2. Verify that it was created by looking for the text "G'Day TestRenameProfileUser".
+3. Clear all session/assertion cookies using the browser options preferences tools.
+4. Log in with test user name and password (janne/myP@5sw0rd).
+5. Create a new page called "TestRenameProfilePage" with these contents:
+
+[{ALLOW edit TestRenameProfileUser}]
+This page was created with an ACL by TestRenameProfileUser
+
+6. Clear all session/assertion cookies using the browser options preferences tools.
+7. Log in with renamed user name (TestRenameProfileUser/password).
+8. Try to view page 'TestRenameProfilePage'. It should succeed.
+9. Try to edit page 'TestRenameProfilePage'. It should succeed also.
+A. Go to the My Prefs page, the Profile tab. Change the login name and wiki name to "RenamedUser".
+B. Verify that the front page now shows "G'Day RenamedUser".
+C. Try to edit page 'TestRenameProfilePage'. It should still succeed. Verify that the ACL contains:
+
+[{ALLOW edit RenamedUser}]
+This page was created with an ACL by TestRenameProfileUser
+-->
+	</td></tr>
+	<tr><td>store</td>	<td>javascript{'Test Rename Profile Page '+new Date().getTime()}</td>	<td>page</td></tr>
+	<tr><td>store</td>	<td>javascript{'TestRenameProfileUser'+new Date().getTime()}</td>	<td>user</td></tr>
+	<tr><td>store</td>	<td>janne</td>			<td>TestUsername</td></tr>
+    <tr><td>store</td>	<td>myP@5sw0rd</td>		<td>TestPassword</td></tr>
+
+	<tr><td>store</td>	<td>../Wiki.jsp?page=${page}</td>	<td>viewurl</td></tr>
+	<tr><td>store</td>	<td>../Edit.jsp?page=${page}</td>	<td>editurl</td></tr>
+	<tr><td>store</td>	<td>../Group.jsp?</td>		<td>viewgroupurl</td></tr>
+	<tr><td>store</td>	<td>../NewGroup.jsp?</td>	<td>newgroupurl</td></tr>
+	<tr><td>store</td>	<td>../UserPreferences.jsp?redirect=Main&tab=profile</td>	<td>prefsurl</td></tr>
+	<tr><td>store</td>	<td>../Login.jsp</td>			<td>loginurl</td></tr>
+	<tr><td>store</td>	<td>../Logout.jsp</td>			<td>logouturl</td></tr>
+    <tr><td>store</td>	<td>This page was created with an ACL by ${user}</td>	<td>PageContent</td></tr>
+
+	<tr><td rowspan="1" colspan="3"> Create a new user and group (and log in)<br/></td></tr>
+    <tr><td>open</td>	<td>${loginurl}?tab=profile</td>	<td>&nbsp;</td></tr>
+	<tr><td>type</td>	<td>loginname</td>	<td>${user}</td></tr>
+	<tr><td>type</td>	<td>password</td>	<td>password</td></tr>
+	<tr><td>type</td>	<td>password2</td>	<td>password</td></tr>
+	<tr><td>type</td>	<td>fullname</td>	<td>${user}</td></tr>
+	<tr><td>clickAndWait</td>	<td>ok</td>	<td></td></tr>
+    <!-- Log out -->
+    <tr><td>clickAndWait</td>	<td>link=Log out</td> 	<td>&nbsp;</td></tr>
+        
+	<!-- Login --!>
+    <tr><td>open</td>	<td>${loginurl}</td>	<td>&nbsp;</td></tr>
+    <tr><td>type</td>	<td>j_username</td>	<td>${TestUsername}</td></tr>
+    <tr><td>type</td>	<td>j_password</td>	<td>${TestPassword}</td></tr>
+    <tr><td>clickAndWait</td>	<td>submitlogin</td>	<td>&nbsp;</td></tr>
+
+	<tr><td rowspan="1" colspan="3"> Create a page with a view ACL restricted to the new user<br/></td></tr>
+
+    <tr><td>open</td>	<td>${editurl}</td>	<td>&nbsp;</td></tr>
+    <tr><td>verifyTitle</td>		<td>JSPWiki: Edit: ${page}</td>	<td>&nbsp;</td></tr>
+    <tr><td>verifyElementPresent</td>	<td>ok</td>	<td></td></tr>
+    <tr><td>verifyElementPresent</td>	<td>id=editorarea</td>	<td></td></tr>
+
+    <tr><td>type</td>			<td>id=editorarea</td>		<td>[{ALLOW edit ${user} }]<br />${PageContent}</td></tr>
+    <tr><td>clickAndWait</td>	<td>ok</td>	<td>&nbsp;</td></tr>
+<!--
+    <tr><td>verifyTitle</td>		<td>JSPWiki: ${page}</td>	<td>&nbsp;</td></tr>
+    <tr><td>verifyTextPresent</td>	<td>${PageContent}</td>	<td>&nbsp;</td></tr>	
+-->    
+	<tr><td rowspan="1" colspan="3"> Anonymous editing should fail<br/></td></tr>
+
+    <!-- Log out -->
+    <tr><td>open</td>	<td>${logouturl}</td> 	<td>&nbsp;</td></tr>
+
+    <tr><td>open</td>				<td>${editurl}</td>	<td>&nbsp;</td></tr>
+    <tr><td>verifyTextPresent</td>	<td>Please sign in</td>	<td></td></tr>
+
+	<tr><td rowspan="1" colspan="3"> Now log in as the test user and view/edit it successfully<br/></td></tr>
+
+    <tr><td>open</td>	<td>${loginurl}</td>	<td>&nbsp;</td></tr>
+    <tr><td>type</td>	<td>j_username</td>	<td>${user}</td></tr>
+    <tr><td>type</td>	<td>j_password</td>	<td>password</td></tr>
+    <tr><td>clickAndWait</td>	<td>submitlogin</td>	<td>&nbsp;</td></tr>
+
+    <tr><td>open</td>				<td>${viewurl}</td>	<td>&nbsp;</td></tr>
+    <tr><td>verifyTitle</td>		<td>JSPWiki: ${page}</td>	<td>&nbsp;</td></tr>
+    <tr><td>verifyTextPresent</td>	<td>${PageContent}</td>	<td>&nbsp;</td></tr>	
+
+    <tr><td>open</td>			<td>${editurl}</td>	<td>&nbsp;</td></tr>
+    <tr><td>verifyTitle</td>	<td>JSPWiki: Edit: ${page}</td>	<td>&nbsp;</td></tr>
+
+	<tr><td rowspan="1" colspan="3"> Verify that our ACL test is present (note the extra linebreak at the end of the text<br/></td></tr>
+
+    <tr><td>verifyElementPresent</td>	<td>ok</td>	<td></td></tr>
+    <tr><td>verifyElementPresent</td>	<td>id=editorarea</td>	<td></td></tr>
+    <tr><td>verifyValue</td>	<td>id=editorarea</td>		<td>[{ALLOW edit ${user} }]<br />${PageContent}</td></tr>
+
+	<tr><td rowspan="1" colspan="3"> OK -- now that we've got a user, a protected page and a group  successfully set up, let's change the profile name<br/></td></tr>
+
+    <tr><td>open</td>	<td>${prefsurl}</td>	<td>&nbsp;</td></tr>
+
+	<tr><td>verifyElementPresent</td>	<td>css=form#editProfile input[name="ok"]</td>	<td></td></tr>
+	<tr><td>type</td>			<td>fullname</td>	<td>Renamed${user}</td></tr>
+	<tr><td>type</td>			<td>loginname</td>	<td>Renamed${user}</td></tr>
+	<tr><td>clickAndWait</td>	<td>css=form#editProfile input[name="ok"]</td>	<td></td></tr>
+
+	<tr><td rowspan="1" colspan="3"> Now, the main page should show the new authenticated user name<br/></td></tr>
+
+    <tr><td>verifyTitle</td>			<td>JSPWiki: Main</td>		<td>&nbsp;</td></tr>
+    <tr><td>verifyTextPresent</td>		<td>G&#8217;day</td>		<td>&nbsp;</td></tr>
+    <tr><td>verifyElementPresent</td>	<td>link=Renamed${user}</td>	<td>&nbsp;</td></tr>
+    <tr><td>verifyTextPresent</td>		<td>(authenticated)</td>	<td>&nbsp;</td></tr>
+
+	<tr><td rowspan="1" colspan="3"> When we navigate to the protected page, the ACL should have the NEW name in it<br/></td></tr>
+
+    <tr><td>open</td>			<td>${editurl}</td>				<td>&nbsp;</td></tr>
+    <tr><td>verifyTitle</td>	<td>JSPWiki: Edit: ${page}</td>	<td>&nbsp;</td></tr>
+<!--CHECK!! seems to double the carriage returns when renaming the profile and remove the last space from the ACL -->
+    <tr><td>assertValue</td>	<td>id=editorarea</td>			<td>[{ALLOW edit Renamed${user}}]<br /><br />${PageContent}</td></tr>
+    
+    <!-- Log out -->
+    <tr><td>clickAndWait</td>	<td>link=Log out</td> 	<td>&nbsp;</td></tr>
+
+	</tbody>
+</table>
+
+</body>
+</html>

Added: incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/tests/etc/selenium/tests/JSPWikiTestSuite.html
URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/tests/etc/selenium/tests/JSPWikiTestSuite.html?rev=627278&view=auto
==============================================================================
--- incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/tests/etc/selenium/tests/JSPWikiTestSuite.html (added)
+++ incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/tests/etc/selenium/tests/JSPWikiTestSuite.html Tue Feb 12 22:31:22 2008
@@ -0,0 +1,47 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta content="text/html; charset=ISO-8859-1" http-equiv="content-type">
+<title>Test Suite</title>
+</head>
+
+<body>
+
+    <table id="suiteTable"    cellpadding="1"
+           cellspacing="1"
+           border="1"
+           class="selenium">
+        <tbody>
+		<tr><td><b>JSPWiki Test Suite for @selenium.context@</b></td></tr>
+        
+        <tr><td><a href="./JSPWikiTestAnonymousView.html">JSPWikiTestAnonymousView</a></td></tr>
+        <tr><td><a href="./JSPWikiTestAnonymousViewImage.html">JSPWikiTestAnonymousViewImage</a></td></tr>
+
+        <tr><td><a href="./JSPWikiTestAssertedName.html">JSPWikiTestAssertedName</a></td></tr>
+
+        <tr><td><a href="./JSPWikiTestLogin.html">JSPWikiTestLogin</a></td></tr>
+        <tr><td><a href="./JSPWikiTestLogout.html">JSPWikiTestLogout</a></td></tr>
+
+        <tr><td><a href="./JSPWikiTestCreatePage.html">JSPWikiTestCreatePage</a></td></tr>
+        <tr><td><a href="./JSPWikiTestRenamePage.html">JSPWikiTestRenamePage</a></td></tr>
+        <tr><td><a href="./JSPWikiTestDeletePage.html">JSPWikiTestDeletePage</a></td></tr>
+		
+        <tr><td><a href="./JSPWikiTestRedirectPageAfterLogin.html">JSPWikiTestRedirectPageAfterLogin</a></td></tr>
+
+        <tr><td><a href="./JSPWikiTestAclJanneEdit.html">JSPWikiTestAclJanneEdit</a></td></tr>
+        <tr><td><a href="./JSPWikiTestAclJanneEditAllView.html">JSPWikiTestAclJanneEditAllView</a></td></tr>
+
+        <tr><td><a href="./JSPWikiTestAnonymousCreateGroup.html">JSPWikiTestAnonymousCreateGroup</a></td></tr>
+        <tr><td><a href="./JSPWikiTestCreateGroupFullName.html">JSPWikiTestCreateGroupFullName</a></td></tr>
+        <tr><td><a href="./JSPWikiTestCreateGroupLoginName.html">JSPWikiTestCreateGroupLoginName</a></td></tr>
+        <tr><td><a href="./JSPWikiTestCreateGroupWikiName.html">JSPWikiTestCreateGroupWikiName</a></td></tr>
+
+        <tr><td><a href="./JSPWikiTestAssertedPermissions.html">JSPWikiTestAssertedPermissions</a></td></tr>
+
+        <tr><td><a href="./JSPWikiTestRenameProfile.html">JSPWikiTestRenameProfile</a></td></tr>
+
+        </tbody>
+    </table>
+
+</body>
+</html>



Mime
View raw message