[tests] update windmill use cases from link corrections
authorJulien Jehannet <julien.jehannet@logilab.fr>
Mon, 11 Oct 2010 17:46:22 +0200
changeset 6447 f5d1b1025702
parent 6446 878fcf10cead
child 6448 8590d82e9b1b
[tests] update windmill use cases from link corrections
web/test/windmill/test_creation.py
web/test/windmill/test_edit_relation.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')
--- 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')