Added initial windmill test

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@48035 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Sam Minnee 2008-01-15 22:30:55 +00:00
parent 88af8d89c1
commit 5f5b69b130
2 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,5 @@
import cherrypy.lib
import windmill.authoring
from windmill.authoring import setup_module, teardown_module, enable_collector
enable_collector()

View File

@ -0,0 +1,6 @@
{"params": {"id": "MemberLoginForm_LoginForm_Email"}, "method": "asserts.assertNode"}
{"params": {"id": "MemberLoginForm_LoginForm_Email"}, "method": "click"}
{"params": {"text": "td", "id": "MemberLoginForm_LoginForm_Email"}, "method": "type"}
{"params": {"text": "badpassword", "id": "MemberLoginForm_LoginForm_Password"}, "method": "type"}
{"params": {"id": "MemberLoginForm_LoginForm_action_dologin"}, "method": "click"}
{"params": {"id": "MemberLoginForm_LoginForm_error"}, "method": "asserts.assertNode"}