# HG changeset patch # User Julien Jehannet # Date 1286811982 -7200 # Node ID f5d1b10257025743969fc17e90c659e3c0c5aa13 # Parent 878fcf10cead6317ea2113e99d61b8bb3bdc6d31 [tests] update windmill use cases from link corrections diff -r 878fcf10cead -r f5d1b1025702 web/test/windmill/test_creation.py --- a/web/test/windmill/test_creation.py Mon Oct 11 18:01:25 2010 +0200 +++ b/web/test/windmill/test_creation.py Mon Oct 11 17:46:22 2010 +0200 @@ -26,7 +26,7 @@ client.type(text=u'myuser', id=u'upassword-subject:A') client.type(text=u'myuser', name=u'upassword-subject-confirm:A') client.type(text=u'myuser', id=u'firstname-subject:A') - client.select(val=u'4', id=u'in_group-subject:A') + client.select(option=u'managers', id=u'in_group-subject:A') client.waits.forPageLoad(timeout=u'20000') client.click(id=u'adduse_email:Alink') client.waits.forPageLoad(timeout=u'20000') diff -r 878fcf10cead -r f5d1b1025702 web/test/windmill/test_edit_relation.py --- a/web/test/windmill/test_edit_relation.py Mon Oct 11 18:01:25 2010 +0200 +++ b/web/test/windmill/test_edit_relation.py Mon Oct 11 17:46:22 2010 +0200 @@ -22,8 +22,8 @@ client.type(text=u'folder1', id=u'name-subject:A') client.click(value=u'button_ok') client.waits.forPageLoad(timeout=u'20000') - client.waits.forElement(link=u'add add Folder filed_under Folder object', timeout=u'8000') - client.click(link=u'add add Folder filed_under Folder object') + client.waits.forElement(link=u'add Folder filed_under Folder object', timeout=u'8000') + client.click(link=u'add Folder filed_under Folder object') client.waits.forPageLoad(timeout=u'20000') client.waits.forElement(timeout=u'8000', id=u'name-subject:A') client.click(id=u'name-subject:A') @@ -44,8 +44,8 @@ client.click(link=u'x') client.click(value=u'button_ok') client.waits.forPageLoad(timeout=u'20000') - client.waits.forElement(link=u'add add Folder filed_under Folder object', timeout=u'8000') - client.click(link=u'add add Folder filed_under Folder object') + client.waits.forElement(link=u'add Folder filed_under Folder object', timeout=u'8000') + client.click(link=u'add Folder filed_under Folder object') client.waits.forPageLoad(timeout=u'20000') client.type(text=u'subfolder2', id=u'name-subject:A') client.click(value=u'button_ok')