jspwiki-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ajaqu...@apache.org
Subject svn commit: r685190 - in /incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium: ./ selenium-core-0.8.3-patches/ tests/ tests/all/
Date Tue, 12 Aug 2008 15:40:33 GMT
Author: ajaquith
Date: Tue Aug 12 08:40:31 2008
New Revision: 685190

URL: http://svn.apache.org/viewvc?rev=685190&view=rev
Log:
Merged STRIPES_BRANCH with trunk revision 685086.

Added:
    incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/
    incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/AclJanneEdit.html   (with props)
    incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/AclJanneEditAllView.html   (with props)
    incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/AnonymousCreateGroup.html   (with props)
    incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/AnonymousView.html   (with props)
    incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/AnonymousViewImage.html   (with props)
    incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/AssertedName.html   (with props)
    incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/AssertedPermissions.html   (with props)
    incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/CreateGroupFullName.html   (with props)
    incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/CreateGroupLoginName.html   (with props)
    incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/CreateGroupWikiName.html   (with props)
    incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/CreatePage.html   (with props)
    incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/DeletePage.html   (with props)
    incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/DeletePageNonAdmin.html   (with props)
    incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/Login.html   (with props)
    incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/Logout.html   (with props)
    incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/RedirectAfterLogin.html   (with props)
    incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/RenamePage.html   (with props)
    incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/RenameProfile.html   (with props)
    incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/TestSuite.html   (with props)
Removed:
    incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/selenium-core-0.8.3-patches/
    incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/JSPWikiTestAclJanneEdit.html
    incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/JSPWikiTestAclJanneEditAllView.html
    incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/JSPWikiTestAnonymousCreateGroup.html
    incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/JSPWikiTestAnonymousView.html
    incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/JSPWikiTestAnonymousViewImage.html
    incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/JSPWikiTestAssertedName.html
    incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/JSPWikiTestAssertedPermissions.html
    incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/JSPWikiTestCreateGroupFullName.html
    incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/JSPWikiTestCreateGroupLoginName.html
    incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/JSPWikiTestCreateGroupWikiName.html
    incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/JSPWikiTestCreatePage.html
    incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/JSPWikiTestDeletePage.html
    incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/JSPWikiTestLogin.html
    incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/JSPWikiTestLogout.html
    incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/JSPWikiTestRedirectPageAfterLogin.html
    incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/JSPWikiTestRenamePage.html
    incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/JSPWikiTestRenameProfile.html
    incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/JSPWikiTestSuite.html
Modified:
    incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/readme.txt

Modified: incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/readme.txt
URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/readme.txt?rev=685190&r1=685189&r2=685190&view=diff
==============================================================================
--- incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/readme.txt (original)
+++ incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/readme.txt Tue Aug 12 08:40:31 2008
@@ -1,80 +1 @@
-This file is tests/etc/selenium/tests/readme.txt
-
-Here's a quick start to selenium web unit tests
-
-    * Type 'ant webtests' from the command line
-    
-    * You may find it useful to restart Tomcat before running webtests
-
-	
-ARJ notes 10-Dec-2007:	
-Note: To get Selenium to work, Dirk patched the following two Selenium-core files, which were re-injected into lib/selenium-server.jar:
-
-core/scripts/htmlutils.js
-
-OLD:
-function triggerEvent(element, eventType, canBubble, controlKeyDown, altKeyDown, shiftKeyDown, metaKeyDown) {
-    canBubble = (typeof(canBubble) == undefined) ? true : canBubble;
-    if (element.fireEvent) {
-
-function triggerKeyEvent(element, eventType, keySequence, canBubble, controlKeyDown, altKeyDown, shiftKeyDown, metaKeyDown) {
-    var keycode = getKeyCodeFromKeySequence(keySequence);
-    canBubble = (typeof(canBubble) == undefined) ? true : canBubble;
-    if (element.fireEvent) {
- 
-NEW:
-function triggerEvent(element, eventType, canBubble, controlKeyDown, altKeyDown, shiftKeyDown, metaKeyDown) {
-    canBubble = (typeof(canBubble) == undefined) ? true : canBubble;
-
-    //if (element.fireEvent) {  
-    /* support for mootools patch Dirk Frederickx Dec 07*/
-	/* see http://forum.mootools.net/viewtopic.php?id=1639 */
-    if (element.ownerDocument.createEventObject) {
-
-function triggerKeyEvent(element, eventType, keySequence, canBubble, controlKeyDown, altKeyDown, shiftKeyDown, metaKeyDown) {
-    var keycode = getKeyCodeFromKeySequence(keySequence);
-    canBubble = (typeof(canBubble) == undefined) ? true : canBubble;
-
-    //if (element.fireEvent) {  
-    /* support for mootools patch Dirk Frederickx Dec 07*/
-	/* see http://forum.mootools.net/viewtopic.php?id=1639 */
-    if (element.ownerDocument.createEventObject) {
-
-(the last line, "if (element.fireEvent" is what's replaced)
-
-
-core/scripts/selenium-browserbot.js
-
-OLD:
-BrowserBot.prototype.triggerMouseEvent = function(element, eventType, canBubble, clientX, clientY) {
-    clientX = clientX ? clientX : 0;
-    clientY = clientY ? clientY : 0;
-
-    LOG.debug("triggerMouseEvent assumes setting screenX and screenY to 0 is ok");
-    var screenX = 0;
-    var screenY = 0;
-
-    canBubble = (typeof(canBubble) == undefined) ? true : canBubble;
-    if (element.fireEvent) {
-
-NEW:
-BrowserBot.prototype.triggerMouseEvent = function(element, eventType, canBubble, clientX, clientY) {
-    clientX = clientX ? clientX : 0;
-    clientY = clientY ? clientY : 0;
-
-    LOG.debug("triggerMouseEvent assumes setting screenX and screenY to 0 is ok");
-    var screenX = 0;
-    var screenY = 0;
-
-    canBubble = (typeof(canBubble) == undefined) ? true : canBubble;
-    //if (element.fireEvent) {  
-    /* support for mootools patch Dirk Frederickx Dec 07*/
-	/* see http://forum.mootools.net/viewtopic.php?id=1639 */
-    if (element.ownerDocument.createEventObject) {
-
-(the last line, "if (element.fireEvent" is what's replaced)
-
-
-Commands to re-inject these files:
-cd tests/etc/selenium/selenium-core-0.8.3-patches
-jar -uvf ../../../../lib/selenium-server-0.9.2.jar core/scripts/selenium-browserbot.js core/scripts/htmlutils.js 
+This file is tests/etc/selenium/tests/readme.txt

You can run Selenium web unit tests in one of two ways:

1) Automatically, using Ant

2) Manually, using Selenium IDE (a Firefox plugin)

RUNNING SELENIUM TESTS AUTOMATICALLY
------------------------------------

Here's a quick start to selenium web unit tests

    * Type 'ant webtests' from the command line
    
    * You may find it useful to restart Tomcat before running webtests

RUNNING SELENIUM TESTS IN FIREFOX
---------------------------------

Start Tomcat and deploy the test-custom WAR.

Start the Selenium server...

java -jar tests/lib/selenium-server-0.9.2-patched.jar -interactive

Open Firefox.
Set the browser proxy to localhost:4444

Open URL:
chrome://selenium-ide/content/selenium/TestRunner.html?test=file:///Users/arj/workspace/JSPWiki-SVN/tests/build/selenium/test-custom/JSPWikiTestSuite.html&baseURL=http://localhost:8080

CREATING TESTS
--------------
Selenium-IDE is the preferred way to create test files. Th
 e master
test suite file is tests/etc/selenium/tests/JSPWikiTestSuite.html.

You can add a new test file (such as one recorded in Selenium-IDE) to
the suite file by appending a table row like this:

        <tr><td><a href="./JSPWikiTestAnonymousView.html">JSPWikiTestAnonymousView</a></td></tr>

Add the new test file (in this case, JSPWikiTestAnonymousView.html) to the test
directory (tests/etc/selenium/tests).

However, simply adding the file to the suite is NOT enough. To make it run
for all of the five sample webapp contexts we test (test-custom, test-container, etc),
you MUST add a short preamble to each test file so that the Selenium-RC
test runner starts at the correct URL. Here is that preamble:

    <tr><td>store</td>	<td>/@selenium.context@</td>	<td>baseUrl</td></tr>
    <tr><td>open</td>	<td>$${baseUrl}/Wiki.jsp?page=Main</td>	<td>&nbsp;</td></tr>

The first line is important: at build time (that is, when the Ant webtests
target executes), the @selenium.context@ va
 riable will be replaced with the
correct test context (e.g., test-custom). You MUST ensure that the first
Selenese 'open' command (such as the one shown in the second line, above)
opens to the correct context. Setting, then using, the ${baseUrl} property
is the recommended way.

To put it simply: just make sure you add somethign similar to the two lines shown above
to the top of your test, and you should be good to go.

You need to keep in mind two other issues:
1) Creating unique resources for each test
2) Restoring the correct session state at the end of your test

Web unit tests should NOT make any assumptions about what wiki pages, users and groups
are present in the test context, other than these:
Users: janne, admin, user
Groups: Admin
Pages: Main

If you need to run tests that create, delete  or rename users, groups or pages,
you should always write tests that use unique names for those resources.
The best way to do this is to store a unique value in a variable, then
 use the value of that variable in your script. Generating unique values is easy:

	<tr><td>store</td>	<td>javascript{'Test-group-'+new Date().getTime()}</td>	<td>group</td></tr>

(from JSPWikiTestCreateGroupWikiName.html)

Second, you should make sure that a particular unit test doesn't hose the next one, and 
restore the user session to an anonymous state. Make sure your unit test includes
the following Selenese at the end of the test script:

    <!-- Log out -->
    <tr><td>clickAndWait</td>	<td>link=Log out</td> 	<td>&nbsp;</td></tr>


BUILD NOTES
-----------
\ No newline at end of file

Added: incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/AclJanneEdit.html
URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/AclJanneEdit.html?rev=685190&view=auto
==============================================================================
--- incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/AclJanneEdit.html (added)
+++ incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/AclJanneEdit.html Tue Aug 12 08:40:31 2008
@@ -0,0 +1,75 @@
+<!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>/@selenium.context@</td>	<td>baseUrl</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>${baseUrl}/Wiki.jsp?page=${page}</td>	<td>url</td></tr>
+	<tr><td>store</td>	<td>${baseUrl}/Edit.jsp?page=${page}</td>	<td>editurl</td></tr>
+	<tr><td>store</td>	<td>${baseUrl}/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>

Propchange: incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/AclJanneEdit.html
------------------------------------------------------------------------------
    svn:executable = *

Added: incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/AclJanneEditAllView.html
URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/AclJanneEditAllView.html?rev=685190&view=auto
==============================================================================
--- incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/AclJanneEditAllView.html (added)
+++ incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/AclJanneEditAllView.html Tue Aug 12 08:40:31 2008
@@ -0,0 +1,78 @@
+<!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>/@selenium.context@</td>	<td>baseUrl</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>${baseUrl}/Wiki.jsp?page=${page}</td>	<td>url</td></tr>
+	<tr><td>store</td>	<td>${baseUrl}/Edit.jsp?page=${page}</td>	<td>editurl</td></tr>
+	<tr><td>store</td>	<td>${baseUrl}/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>

Propchange: incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/AclJanneEditAllView.html
------------------------------------------------------------------------------
    svn:executable = *

Added: incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/AnonymousCreateGroup.html
URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/AnonymousCreateGroup.html?rev=685190&view=auto
==============================================================================
--- incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/AnonymousCreateGroup.html (added)
+++ incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/AnonymousCreateGroup.html Tue Aug 12 08:40:31 2008
@@ -0,0 +1,33 @@
+<!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>/@selenium.context@</td>	<td>baseUrl</td></tr>
+	<tr><td>store</td>	<td>${baseUrl}/NewGroup.jsp</td>	<td>newgroupurl</td></tr>
+	<tr><td>store</td>	<td>${baseUrl}/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>

Propchange: incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/AnonymousCreateGroup.html
------------------------------------------------------------------------------
    svn:executable = *

Added: incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/AnonymousView.html
URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/AnonymousView.html?rev=685190&view=auto
==============================================================================
--- incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/AnonymousView.html (added)
+++ incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/AnonymousView.html Tue Aug 12 08:40:31 2008
@@ -0,0 +1,20 @@
+<!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>/@selenium.context@</td>	<td>baseUrl</td></tr>
+	<tr><td>open</td>	<td>${baseUrl}/Wiki.jsp?page=Main</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>

Propchange: incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/AnonymousView.html
------------------------------------------------------------------------------
    svn:executable = *

Added: incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/AnonymousViewImage.html
URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/AnonymousViewImage.html?rev=685190&view=auto
==============================================================================
--- incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/AnonymousViewImage.html (added)
+++ incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/AnonymousViewImage.html Tue Aug 12 08:40:31 2008
@@ -0,0 +1,30 @@
+<!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>/@selenium.context@</td>	<td>baseUrl</td></tr>
+	<tr><td>store</td>	<td>${baseUrl}/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>

Propchange: incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/AnonymousViewImage.html
------------------------------------------------------------------------------
    svn:executable = *

Added: incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/AssertedName.html
URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/AssertedName.html?rev=685190&view=auto
==============================================================================
--- incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/AssertedName.html (added)
+++ incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/AssertedName.html Tue Aug 12 08:40:31 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 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>/@selenium.context@</td>	<td>baseUrl</td></tr>
+	<tr><td>store</td>	<td>${baseUrl}/Wiki.jsp?page=Main</td>	<td>url</td></tr>
+	<tr><td>store</td>	<td>${baseUrl}/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>verifyTextPresent</td>	<td>DonQuixote</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>

Propchange: incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/AssertedName.html
------------------------------------------------------------------------------
    svn:executable = *

Added: incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/AssertedPermissions.html
URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/AssertedPermissions.html?rev=685190&view=auto
==============================================================================
--- incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/AssertedPermissions.html (added)
+++ incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/AssertedPermissions.html Tue Aug 12 08:40:31 2008
@@ -0,0 +1,131 @@
+<!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>/@selenium.context@</td>	<td>baseUrl</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>${baseUrl}/Wiki.jsp</td>			<td>url</td></tr>
+	<tr><td>store</td>	<td>${baseUrl}/UserPreferences.jsp?redirect=Main</td>	<td>prefsurl</td></tr>
+	<tr><td>store</td>	<td>${baseUrl}/Login.jsp</td>		<td>loginurl</td></tr>
+	<tr><td>store</td>	<td>${baseUrl}/Group.jsp?</td>		<td>viewgroupurl</td></tr>
+	<tr><td>store</td>	<td>${baseUrl}/NewGroup.jsp?</td>	<td>newgroupurl</td></tr>
+	<tr><td>store</td>	<td>${baseUrl}/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>

Propchange: incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/AssertedPermissions.html
------------------------------------------------------------------------------
    svn:executable = *

Added: incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/CreateGroupFullName.html
URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/CreateGroupFullName.html?rev=685190&view=auto
==============================================================================
--- incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/CreateGroupFullName.html (added)
+++ incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/CreateGroupFullName.html Tue Aug 12 08:40:31 2008
@@ -0,0 +1,90 @@
+<!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>/@selenium.context@</td>	<td>baseUrl</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>${baseUrl}/Wiki.jsp</td>			<td>url</td></tr>
+	<tr><td>store</td>	<td>${baseUrl}/Login.jsp</td>		<td>loginurl</td></tr>
+	<tr><td>store</td>	<td>${baseUrl}/Group.jsp?</td>		<td>viewgroupurl</td></tr>
+	<tr><td>store</td>	<td>${baseUrl}/NewGroup.jsp?</td>	<td>newgroupurl</td></tr>
+	<tr><td>store</td>	<td>${baseUrl}/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>

Propchange: incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/CreateGroupFullName.html
------------------------------------------------------------------------------
    svn:executable = *

Added: incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/CreateGroupLoginName.html
URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/CreateGroupLoginName.html?rev=685190&view=auto
==============================================================================
--- incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/CreateGroupLoginName.html (added)
+++ incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/CreateGroupLoginName.html Tue Aug 12 08:40:31 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 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>/@selenium.context@</td>	<td>baseUrl</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>${baseUrl}/Wiki.jsp</td>			<td>url</td></tr>
+	<tr><td>store</td>	<td>${baseUrl}/Login.jsp</td>		<td>loginurl</td></tr>
+	<tr><td>store</td>	<td>${baseUrl}/Group.jsp?</td>		<td>viewgroupurl</td></tr>
+	<tr><td>store</td>	<td>${baseUrl}/NewGroup.jsp?</td>	<td>newgroupurl</td></tr>
+	<tr><td>store</td>	<td>${baseUrl}/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>

Propchange: incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/CreateGroupLoginName.html
------------------------------------------------------------------------------
    svn:executable = *

Added: incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/CreateGroupWikiName.html
URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/CreateGroupWikiName.html?rev=685190&view=auto
==============================================================================
--- incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/CreateGroupWikiName.html (added)
+++ incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/CreateGroupWikiName.html Tue Aug 12 08:40:31 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 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>/@selenium.context@</td>	<td>baseUrl</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>${baseUrl}/Wiki.jsp</td>			<td>url</td></tr>
+	<tr><td>store</td>	<td>${baseUrl}/Login.jsp</td>		<td>loginurl</td></tr>
+	<tr><td>store</td>	<td>${baseUrl}/Group.jsp?</td>		<td>viewgroupurl</td></tr>
+	<tr><td>store</td>	<td>${baseUrl}/NewGroup.jsp?</td>	<td>newgroupurl</td></tr>
+	<tr><td>store</td>	<td>${baseUrl}/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>

Propchange: incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/CreateGroupWikiName.html
------------------------------------------------------------------------------
    svn:executable = *

Added: incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/CreatePage.html
URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/CreatePage.html?rev=685190&view=auto
==============================================================================
--- incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/CreatePage.html (added)
+++ incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/CreatePage.html Tue Aug 12 08:40:31 2008
@@ -0,0 +1,48 @@
+<!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>/@selenium.context@</td>	<td>baseUrl</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>${baseUrl}/Wiki.jsp?page=Main</td>		<td>url</td></tr>
+	<tr><td>store</td>	<td>${baseUrl}/Edit.jsp?page=${page}</td>	<td>editurl</td></tr>
+	<tr><td>store</td>	<td>${baseUrl}/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>

Propchange: incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/CreatePage.html
------------------------------------------------------------------------------
    svn:executable = *

Added: incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/DeletePage.html
URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/DeletePage.html?rev=685190&view=auto
==============================================================================
--- incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/DeletePage.html (added)
+++ incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/DeletePage.html Tue Aug 12 08:40:31 2008
@@ -0,0 +1,64 @@
+<!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>/@selenium.context@</td>	<td>baseUrl</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>${baseUrl}/Wiki.jsp?page=${page}</td>	<td>url</td></tr>
+	<tr><td>store</td>	<td>${baseUrl}/Edit.jsp?page=${page}</td>	<td>editurl</td></tr>
+	<tr><td>store</td>	<td>${baseUrl}/PageInfo.jsp?page=${page}</td><td>infourl</td></tr>
+	<tr><td>store</td>	<td>${baseUrl}/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>

Propchange: incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/DeletePage.html
------------------------------------------------------------------------------
    svn:executable = *

Added: incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/DeletePageNonAdmin.html
URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/DeletePageNonAdmin.html?rev=685190&view=auto
==============================================================================
--- incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/DeletePageNonAdmin.html (added)
+++ incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/DeletePageNonAdmin.html Tue Aug 12 08:40:31 2008
@@ -0,0 +1,54 @@
+<!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>/@selenium.context@</td>	<td>baseUrl</td></tr>
+	<tr><td>store</td>	<td>javascript{'Delete-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>${baseUrl}/Wiki.jsp?page=${page}</td>	<td>url</td></tr>
+	<tr><td>store</td>	<td>${baseUrl}/Edit.jsp?page=${page}</td>	<td>editurl</td></tr>
+	<tr><td>store</td>	<td>${baseUrl}/PageInfo.jsp?page=${page}</td><td>infourl</td></tr>
+	<tr><td>store</td>	<td>${baseUrl}/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>assertElementNotPresent</td>	<td>id=delete-all</td>	<td>&nbsp;</td></tr>	
+
+    <!-- Log out --!>
+    <tr><td>clickAndWait</td>	<td>link=Log out</td> 	<td>&nbsp;</td></tr>
+
+	</tbody>
+</table>
+
+</body>
+</html>

Propchange: incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/DeletePageNonAdmin.html
------------------------------------------------------------------------------
    svn:executable = *

Added: incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/Login.html
URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/Login.html?rev=685190&view=auto
==============================================================================
--- incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/Login.html (added)
+++ incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/Login.html Tue Aug 12 08:40:31 2008
@@ -0,0 +1,44 @@
+<!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>/@selenium.context@</td>	<td>baseUrl</td></tr>
+	<tr><td>store</td>	<td>${baseUrl}/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>

Propchange: incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/Login.html
------------------------------------------------------------------------------
    svn:executable = *

Added: incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/Logout.html
URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/Logout.html?rev=685190&view=auto
==============================================================================
--- incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/Logout.html (added)
+++ incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/Logout.html Tue Aug 12 08:40:31 2008
@@ -0,0 +1,46 @@
+<!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>/@selenium.context@</td>	<td>baseUrl</td></tr>
+	<tr><td>store</td>	<td>${baseUrl}/Wiki.jsp?page=Main</td>	<td>url</td></tr>
+	<tr><td>store</td>	<td>${baseUrl}/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>Janne\+Jalkanen</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>

Propchange: incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/Logout.html
------------------------------------------------------------------------------
    svn:executable = *

Added: incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/RedirectAfterLogin.html
URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/RedirectAfterLogin.html?rev=685190&view=auto
==============================================================================
--- incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/RedirectAfterLogin.html (added)
+++ incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/RedirectAfterLogin.html Tue Aug 12 08:40:31 2008
@@ -0,0 +1,69 @@
+<!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>/@selenium.context@</td>	<td>baseUrl</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>${baseUrl}/Wiki.jsp?page=${page}</td>	<td>url</td></tr>
+	<tr><td>store</td>	<td>${baseUrl}/Edit.jsp?page=${page}</td>	<td>editurl</td></tr>
+	<tr><td>store</td>	<td>${baseUrl}/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>
+
+    <!-- Log out --!>
+    <tr><td>clickAndWait</td>	<td>link=Log out</td> 	<td>&nbsp;</td></tr>
+
+	</tbody>
+</table>
+
+</body>
+</html>

Propchange: incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/RedirectAfterLogin.html
------------------------------------------------------------------------------
    svn:executable = *

Added: incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/RenamePage.html
URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/RenamePage.html?rev=685190&view=auto
==============================================================================
--- incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/RenamePage.html (added)
+++ incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/RenamePage.html Tue Aug 12 08:40:31 2008
@@ -0,0 +1,58 @@
+<!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>/@selenium.context@</td>	<td>baseUrl</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>${baseUrl}/Wiki.jsp?page=${page}</td>		<td>url</td></tr>
+	<tr><td>store</td>	<td>${baseUrl}/Edit.jsp?page=${page}</td>		<td>editurl</td></tr>
+	<tr><td>store</td>	<td>${baseUrl}/PageInfo.jsp?page=${page}</td>	<td>infourl</td></tr>
+	<tr><td>store</td>	<td>${baseUrl}/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>

Propchange: incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/RenamePage.html
------------------------------------------------------------------------------
    svn:executable = *

Added: incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/RenameProfile.html
URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/RenameProfile.html?rev=685190&view=auto
==============================================================================
--- incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/RenameProfile.html (added)
+++ incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/RenameProfile.html Tue Aug 12 08:40:31 2008
@@ -0,0 +1,137 @@
+<!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>/@selenium.context@</td>	<td>baseUrl</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>${baseUrl}/Wiki.jsp?page=${page}</td>	<td>viewurl</td></tr>
+	<tr><td>store</td>	<td>${baseUrl}/Edit.jsp?page=${page}</td>	<td>editurl</td></tr>
+	<tr><td>store</td>	<td>${baseUrl}/Group.jsp?</td>		<td>viewgroupurl</td></tr>
+	<tr><td>store</td>	<td>${baseUrl}/NewGroup.jsp?</td>	<td>newgroupurl</td></tr>
+	<tr><td>store</td>	<td>${baseUrl}/UserPreferences.jsp?redirect=Main&tab=profile</td>	<td>prefsurl</td></tr>
+	<tr><td>store</td>	<td>${baseUrl}/Login.jsp</td>			<td>loginurl</td></tr>
+	<tr><td>store</td>	<td>${baseUrl}/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>

Propchange: incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/RenameProfile.html
------------------------------------------------------------------------------
    svn:executable = *

Added: incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/TestSuite.html
URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/TestSuite.html?rev=685190&view=auto
==============================================================================
--- incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/TestSuite.html (added)
+++ incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/TestSuite.html Tue Aug 12 08:40:31 2008
@@ -0,0 +1,55 @@
+<!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>
+		
+        <!-- Anonymous user tests -->
+        <tr><td><a href="./AnonymousView.html">Anonymous View</a></td></tr>
+        <tr><td><a href="./AnonymousViewImage.html">Anonymous View Image</a></td></tr>
+
+        <!-- Asserted user tests -->
+        <tr><td><a href="./AssertedName.html">Asserted Name</a></td></tr>
+        <tr><td><a href="./AssertedPermissions.html">Asserted Permissions</a></td></tr>
+
+        <!-- Authentication tests -->
+        <tr><td><a href="./Login.html">Login</a></td></tr>
+        <tr><td><a href="./Logout.html">Logout</a></td></tr>
+        <tr><td><a href="./RedirectAfterLogin.html">Redirect After Login</a></td></tr>
+
+        <!-- Page creation/rename tests -->
+        <tr><td><a href="./CreatePage.html">Create Page</a></td></tr>
+        <tr><td><a href="./RenamePage.html">Rename Page</a></td></tr>
+        
+        <!-- Page deletion tests -->
+        <tr><td><a href="./DeletePage.html">Delete Page</a></td></tr>
+        <tr><td><a href="./DeletePageNonAdmin.html">Delete Page (non admin)</a></td></tr>
+        
+        <!-- ACL tests -->
+        <tr><td><a href="./AclJanneEdit.html">Acl: Janne Edit (nobody else can view)</a></td></tr>
+        <tr><td><a href="./AclJanneEditAllView.html">Acl: Janne Edit (all view)</a></td></tr>
+        
+        <!-- Group creation tests -->
+        <tr><td><a href="./AnonymousCreateGroup.html">Anonymous Create Group</a></td></tr>
+        <tr><td><a href="./CreateGroupFullName.html">Create Group (FullName)</a></td></tr>
+        <tr><td><a href="./CreateGroupLoginName.html">Create Group (LoginName)</a></td></tr>
+        <tr><td><a href="./CreateGroupWikiName.html">Create Group (WikiName)</a></td></tr>
+        
+        <!-- User profile/preferences tests -->
+        <tr><td><a href="./RenameProfile.html">Rename Profile</a></td></tr>
+
+        </tbody>
+    </table>
+
+</body>
+</html>

Propchange: incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/tests/etc/selenium/tests/all/TestSuite.html
------------------------------------------------------------------------------
    svn:executable = *



Mime
View raw message