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 "Welcome to the Lenya default publication" 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 "Welcome to the Lenya default publication""/>
+ <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 "Welcome to the Lenya default publication" 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>
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.