From dc173c6d5cc9fd479de1ed948002d372dac45844 Mon Sep 17 00:00:00 2001 From: Sam Minnee Date: Tue, 22 Jan 2008 05:13:04 +0000 Subject: [PATCH] Updated windmill tests - sleeps and waits git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@48424 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- tests/test_windmill/login-and-create-page.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test_windmill/login-and-create-page.json b/tests/test_windmill/login-and-create-page.json index f25a28ea..894fb2e9 100644 --- a/tests/test_windmill/login-and-create-page.json +++ b/tests/test_windmill/login-and-create-page.json @@ -3,8 +3,8 @@ {"params": {"text": "password", "id": "MemberLoginForm_LoginForm_Password"}, "method": "type"} {"params": {"id": "MemberLoginForm_LoginForm_action_dologin"}, "method": "click"} -{"params": {"id": "heading_sitetree"}, "method": "waits.forElement"} -{"params": {"timeout": 60000, "id": "heading_sitetree"}, "method": "waits.sleep"} +{"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"} @@ -15,7 +15,7 @@ {"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": {"validator": "New Page", "id": "Form_EditForm_Title"}, "method": "asserts.assertValue"} {"params": {"id": "Form_EditForm_Title"}, "method": "click"}