[Yanel-commits] rev 45410 -
public/yanel/trunk/src/realms/use-cases/yanel/src/test/canoo/tests
michi at wyona.com
michi at wyona.com
Wed Nov 11 14:20:56 CET 2009
Author: michi
Date: 2009-11-11 14:20:55 +0100 (Wed, 11 Nov 2009)
New Revision: 45410
Modified:
public/yanel/trunk/src/realms/use-cases/yanel/src/test/canoo/tests/usecase-test-404.xml
Log:
404 test improved
Modified: public/yanel/trunk/src/realms/use-cases/yanel/src/test/canoo/tests/usecase-test-404.xml
===================================================================
--- public/yanel/trunk/src/realms/use-cases/yanel/src/test/canoo/tests/usecase-test-404.xml 2009-11-11 13:20:43 UTC (rev 45409)
+++ public/yanel/trunk/src/realms/use-cases/yanel/src/test/canoo/tests/usecase-test-404.xml 2009-11-11 13:20:55 UTC (rev 45410)
@@ -1,16 +1,20 @@
<?xml version="1.0"?>
<!DOCTYPE project SYSTEM "../dtd/Project.dtd">
-<!-- NOTE: testing a 404 seems to be a problem, because the HTTP status is 404 and hence Canoo will fail the test! -->
<project name="404-test" default="test">
<import file="../definitions.xml"/>
<target name="test" depends="wt.defineMacros">
<webtest name="Usecase Test 404">
+ <!-- includes/config.xml -->
&config;
<invoke description="Get the page: " url="/${realm.prefix}404.html"/>
- <verifyText description="Verify that text is contained in the page" text="No such page"/>
+ <verifyText description="Verify that text is contained in the page" text="404"/>
+ <verifyText description="Verify that text is contained in the page" text="Page not found"/> <!-- The config above sets the "browser" language to english -->
+<!--
+ <verifyText description="Verify that text is contained in the page" text="Seite nicht gefunden"/>
+-->
</webtest>
</target>
More information about the Yanel-commits
mailing list