mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
Updated windmill tests - sleeps and waits
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@48424 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
96fee2a031
commit
dc173c6d5c
@ -3,8 +3,8 @@
|
|||||||
{"params": {"text": "password", "id": "MemberLoginForm_LoginForm_Password"}, "method": "type"}
|
{"params": {"text": "password", "id": "MemberLoginForm_LoginForm_Password"}, "method": "type"}
|
||||||
{"params": {"id": "MemberLoginForm_LoginForm_action_dologin"}, "method": "click"}
|
{"params": {"id": "MemberLoginForm_LoginForm_action_dologin"}, "method": "click"}
|
||||||
|
|
||||||
{"params": {"id": "heading_sitetree"}, "method": "waits.forElement"}
|
{"params": {"id": "heading_sitetree", "timeout": 240000}, "method": "waits.forElement"}
|
||||||
{"params": {"timeout": 60000, "id": "heading_sitetree"}, "method": "waits.sleep"}
|
{"params": {"milliseconds": 30000}, "method": "waits.sleep"}
|
||||||
|
|
||||||
{"params": {"xpath": "\/html\/body\/div\/div\/div\/ul\/li\/button"}, "method": "click"}
|
{"params": {"xpath": "\/html\/body\/div\/div\/div\/ul\/li\/button"}, "method": "click"}
|
||||||
{"params": {"id": "Form_AddPageOptionsForm_PageType"}, "method": "click"}
|
{"params": {"id": "Form_AddPageOptionsForm_PageType"}, "method": "click"}
|
||||||
@ -15,7 +15,7 @@
|
|||||||
|
|
||||||
{"params": {"xpath": "\/html\/body\/div\/div\/div\/form\/div[2]\/input"}, "method": "click"}
|
{"params": {"xpath": "\/html\/body\/div\/div\/div\/form\/div[2]\/input"}, "method": "click"}
|
||||||
|
|
||||||
{"params": {"timeout": 10000, "id": "heading_sitetree"}, "method": "waits.sleep"}
|
{"params": {"milliseconds": 10000}, "method": "waits.sleep"}
|
||||||
{"params": {"timeout": 10000, "id": "Form_EditForm_Title"}, "method": "waits.forElement"}
|
{"params": {"timeout": 10000, "id": "Form_EditForm_Title"}, "method": "waits.forElement"}
|
||||||
{"params": {"validator": "New Page", "id": "Form_EditForm_Title"}, "method": "asserts.assertValue"}
|
{"params": {"validator": "New Page", "id": "Form_EditForm_Title"}, "method": "asserts.assertValue"}
|
||||||
{"params": {"id": "Form_EditForm_Title"}, "method": "click"}
|
{"params": {"id": "Form_EditForm_Title"}, "method": "click"}
|
||||||
|
Loading…
Reference in New Issue
Block a user