[Yanel-commits] rev 37748 - public/yanel/trunk/src/realms/use-cases/yanel/config/src/test/canoo/tests

michi at wyona.com michi at wyona.com
Wed Jul 30 16:14:10 CEST 2008


Author: michi
Date: 2008-07-30 16:14:10 +0200 (Wed, 30 Jul 2008)
New Revision: 37748

Modified:
   public/yanel/trunk/src/realms/use-cases/yanel/config/src/test/canoo/tests/usecase-test-create-resource.xml
Log:
resource creation fixed

Modified: public/yanel/trunk/src/realms/use-cases/yanel/config/src/test/canoo/tests/usecase-test-create-resource.xml
===================================================================
--- public/yanel/trunk/src/realms/use-cases/yanel/config/src/test/canoo/tests/usecase-test-create-resource.xml	2008-07-30 12:52:44 UTC (rev 37747)
+++ public/yanel/trunk/src/realms/use-cases/yanel/config/src/test/canoo/tests/usecase-test-create-resource.xml	2008-07-30 14:14:10 UTC (rev 37748)
@@ -20,14 +20,14 @@
 
     <webtest name="Usecase Test 'Create resource: Resource created'">
       &config;
-      <invoke description="Get the page: " url="/${realm.prefix}resource-creator.html?resource-type=http%3A%2F%2Fwww.wyona.org%2Fyanel%2Fresource%2F1.0%3A%3Awiki&amp;referer=http%3A%2F%2F127.0.0.1%3A8080%2Fyanel%2Ftest%2Fuse-cases%2F"/>
+      <invoke method="POST" content="dummy.gif" description="Get the page: " url="/${realm.prefix}resource-creator.html?save=Save...&amp;resource-type=http%3A%2F%2Fwww.wyona.org%2Fyanel%2Fresource%2F1.0%3A%3Awiki&amp;create-name=test-resource-creator-wiki.html&amp;rp.title=Title+101&amp;referer=http%3A%2F%2F127.0.0.1%3A8080%2Fyanel%2Ftest%2Fuse-cases%2F&amp;lookin=/"/>
       <verifyText description="Verify that text is contained in the page" text="Resource has been created"/>
     </webtest>
 
     <webtest name="Usecase Test 'Create resource: New Resource'">
       &config;
       <invoke description="Get the page: " url="/${realm.prefix}test-resource-creator-wiki.html"/>
-      <verifyText description="Verify that text is contained in the page" text="Test 101"/>
+      <verifyText description="Verify that text is contained in the page" text="Title 101"/>
     </webtest>
   </target>
 



More information about the Yanel-commits mailing list