You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by an...@apache.org on 2007/02/09 19:34:50 UTC
svn commit: r505411 - in /lenya/trunk/src/modules-core/workflow:
resources/i18n/cmsui.xml test/canoo/test.xml
Author: andreas
Date: Fri Feb 9 10:34:50 2007
New Revision: 505411
URL: http://svn.apache.org/viewvc?view=rev&rev=505411
Log:
Fixed i18n issue, added basic test for workflow overview usecase
Modified:
lenya/trunk/src/modules-core/workflow/resources/i18n/cmsui.xml
lenya/trunk/src/modules-core/workflow/test/canoo/test.xml
Modified: lenya/trunk/src/modules-core/workflow/resources/i18n/cmsui.xml
URL: http://svn.apache.org/viewvc/lenya/trunk/src/modules-core/workflow/resources/i18n/cmsui.xml?view=diff&rev=505411&r1=505410&r2=505411
==============================================================================
--- lenya/trunk/src/modules-core/workflow/resources/i18n/cmsui.xml (original)
+++ lenya/trunk/src/modules-core/workflow/resources/i18n/cmsui.xml Fri Feb 9 10:34:50 2007
@@ -20,7 +20,7 @@
<catalogue xml:lang="en" xmlns:xhtml="http://www.w3.org/1999/xhtml">
- <message key="workflow.multiWorkflow">Workflow-Ãbersicht</message>
+ <message key="workflow.multiWorkflow">Workflow Overview</message>
<message key="back-to-document">Back to document</message>
<message key="workflow.submit">Submit</message>
<message key="workflow.reject">Reject</message>
Modified: lenya/trunk/src/modules-core/workflow/test/canoo/test.xml
URL: http://svn.apache.org/viewvc/lenya/trunk/src/modules-core/workflow/test/canoo/test.xml?view=diff&rev=505411&r1=505410&r2=505411
==============================================================================
--- lenya/trunk/src/modules-core/workflow/test/canoo/test.xml (original)
+++ lenya/trunk/src/modules-core/workflow/test/canoo/test.xml Fri Feb 9 10:34:50 2007
@@ -20,15 +20,13 @@
<import file="${webtest.home}/lib/taskdef.xml"/>
- <target name="main">
+ <target name="main" depends="sequence, overview"/>
+
+ <target name="sequence">
<echo>Using WebTest home: ${webtest.home}</echo>
<webtest name="myTest">
- <config
- host="localhost"
- port="8888"
- protocol="http"
- basepath="default/authoring" />
+ <config host="localhost" port="8888" protocol="http" basepath="default/authoring" />
<steps>
<!-- login as lenya -->
<invoke url="index.html" />
@@ -101,12 +99,36 @@
<clickButton name="submit"/>
<verifyElementText type="span" name="workflow-state" text="live"/>
+ <!-- deactivate -->
+ <invoke url="index.html?lenya.usecase=workflow.deactivate"/>
+ <clickButton name="submit"/>
+ <verifyElementText type="span" name="workflow-state" text="authoring"/>
+
<!-- logout -->
<invoke url="index.html?lenya.usecase=ac.logout"/>
<clickButton name="submit"/>
+ </steps>
+ </webtest>
+ </target>
+
+
+ <target name="overview">
+ <webtest name="myTest">
+ <config host="localhost" port="8888" protocol="http" basepath="default/authoring" />
+ <steps>
+ <!-- login as lenya -->
+ <invoke url="index.html" />
+ <setInputField name="username" value="lenya"/>
+ <setInputField name="password" value="levi"/>
+ <clickButton name="submit"/>
+ <verifyElementText type="span" name="workflow-state" text="authoring"/>
+
+ <invoke url="index.html?lenya.usecase=workflow.multiWorkflow"/>
+ <verifyText text="Workflow Overview"/>
</steps>
</webtest>
</target>
+
</project>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org