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 2008/01/04 12:21:53 UTC

svn commit: r608803 - /lenya/trunk/src/modules-core/workflow/test/canoo/test.xml

Author: andreas
Date: Fri Jan  4 03:21:52 2008
New Revision: 608803

URL: http://svn.apache.org/viewvc?rev=608803&view=rev
Log:
Updating web test to GUI change, adding accept-language header to configuration

Modified:
    lenya/trunk/src/modules-core/workflow/test/canoo/test.xml

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?rev=608803&r1=608802&r2=608803&view=diff
==============================================================================
--- lenya/trunk/src/modules-core/workflow/test/canoo/test.xml (original)
+++ lenya/trunk/src/modules-core/workflow/test/canoo/test.xml Fri Jan  4 03:21:52 2008
@@ -41,7 +41,7 @@
         
         <!-- submit -->
         <invoke url="index.html?lenya.usecase=workflow.submit"/>
-        <verifyText text="Submit &quot;Welcome to the Lenya default publication&quot; for approval"/>
+        <verifyText text="Do you want to submit the document"/>
         <clickButton name="submit"/>
         <verifyElementText type="span" name="workflow-state" text="review"/>
         
@@ -54,7 +54,7 @@
         
         <!-- reject -->
         <invoke url="index.html?lenya.usecase=workflow.reject"/>
-        <verifyText text="Reject document &quot;Welcome to the Lenya default publication&quot;"/>
+        <verifyText text="Do you want to reject the document"/>
         <clickButton name="submit"/>
         <verifyElementText type="span" name="workflow-state" text="authoring"/>
         
@@ -67,7 +67,7 @@
         
         <!-- submit -->
         <invoke url="index.html?lenya.usecase=workflow.submit"/>
-        <verifyText text="Submit &quot;Welcome to the Lenya default publication&quot; for approval"/>
+        <verifyText text="Do you want to submit the document"/>
         <clickButton name="submit"/>
         <verifyElementText type="span" name="workflow-state" text="review"/>
         
@@ -98,8 +98,12 @@
 
   <target name="published-footer">
     <webtest name="Workflow sequence">
-      <config host="${webtest.config.host}" port="${webtest.config.port}"
-             protocol="http" basepath="default">
+      <config host="${webtest.config.host}"
+        port="${webtest.config.port}"
+        protocol="http"
+        basepath="${webtest.config.basepath}">
+        <header name="Accept-Language" value="en"/>
+        <option name="JavaScriptEnabled" value="false"/>
         <option name="ThrowExceptionOnFailingStatusCode" value="false"/>
       </config>
       <steps>



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org