--- a/doc/book/en/tutorials/tools/windmill.rst Tue Jul 06 13:55:10 2010 +0200
+++ b/doc/book/en/tutorials/tools/windmill.rst Tue Jul 06 11:45:11 2010 +0200
@@ -77,6 +77,16 @@
windmill -m firebug loadtest=<test_file.py> <instance url>
+But use the internal windmill shell to explore available commands:
+
+ windmill -m firebug shell <instance url>
+
+.. sourcecode:: python
+
+ >>> load_test(<your test file>)
+ >>> run_test(<your test file>)
+
+
Integrate Windmill tests into CubicWeb
======================================
--- a/web/test/windmill/test_creation.py Tue Jul 06 13:55:10 2010 +0200
+++ b/web/test/windmill/test_creation.py Tue Jul 06 11:45:11 2010 +0200
@@ -36,6 +36,7 @@
client.waits.forPageLoad(timeout=u'20000')
client.asserts.assertJS(js=u'$(\'.message\').text() == "entity created"')
client.open(url=u'/?rql=Any U WHERE U is CWUser, U login "myuser"')
+ client.waits.forPageLoad(timeout=u'20000')
client.asserts.assertJS(js=u'$(\'#contentmain h1\').text() == "myuser"')
client.waits.forPageLoad(timeout=u'8000')
client.open(url=u'/cwuser/myuser?vid=sameetypelist')