silverstripe-reports/tests/test_windmill/login-and-create-page.json
Sam Minnee dc173c6d5c Updated windmill tests - sleeps and waits
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@48424 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-22 05:13:04 +00:00

27 lines
1.6 KiB
JSON

{"params": {"id": "MemberLoginForm_LoginForm_Email"}, "method": "click"}
{"params": {"text": "admin", "id": "MemberLoginForm_LoginForm_Email"}, "method": "type"}
{"params": {"text": "password", "id": "MemberLoginForm_LoginForm_Password"}, "method": "type"}
{"params": {"id": "MemberLoginForm_LoginForm_action_dologin"}, "method": "click"}
{"params": {"id": "heading_sitetree", "timeout": 240000}, "method": "waits.forElement"}
{"params": {"milliseconds": 30000}, "method": "waits.sleep"}
{"params": {"xpath": "\/html\/body\/div\/div\/div\/ul\/li\/button"}, "method": "click"}
{"params": {"id": "Form_AddPageOptionsForm_PageType"}, "method": "click"}
{"params": {"option": "Page", "id": "Form_AddPageOptionsForm_PageType"}, "method": "select"}
{"params": {"validator": "Page", "id": "Form_AddPageOptionsForm_PageType"}, "method": "asserts.assertValue"}
{"params": {"xpath": "\/html\/body\/div\/div\/div\/form\/div[2]\/input"}, "method": "click"}
{"params": {"milliseconds": 10000}, "method": "waits.sleep"}
{"params": {"timeout": 10000, "id": "Form_EditForm_Title"}, "method": "waits.forElement"}
{"params": {"validator": "New Page", "id": "Form_EditForm_Title"}, "method": "asserts.assertValue"}
{"params": {"id": "Form_EditForm_Title"}, "method": "click"}
{"params": {"text": "test page", "id": "Form_EditForm_Title"}, "method": "type"}
{"params": {"id": "tab-Root_Content_set_Metadata"}, "method": "click"}
{"params": {"validator": "test-page", "id": "Form_EditForm_URLSegment"}, "method": "asserts.assertValue"}
{"params": {"id": "Form_EditForm_action_publish"}, "method": "click"}
{"params": {"id": "viewLiveSite"}, "method": "click"}