silverstripe-reports/tests/test_windmill/login-and-create-page.json

27 lines
1.6 KiB
JSON
Raw Normal View History

{"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"}