mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
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:
parent
88af8d89c1
commit
5f5b69b130
5
tests/test_windmill/__init__.py
Normal file
5
tests/test_windmill/__init__.py
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
import cherrypy.lib
|
||||||
|
import windmill.authoring
|
||||||
|
from windmill.authoring import setup_module, teardown_module, enable_collector
|
||||||
|
|
||||||
|
enable_collector()
|
6
tests/test_windmill/login.json
Normal file
6
tests/test_windmill/login.json
Normal 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"}
|
Loading…
Reference in New Issue
Block a user