Commit d35cd02f authored by Alexandre Boeglin's avatar Alexandre Boeglin

document_zuite/testHistory: use ListBoxZuite_reset, FooModule_createObjects...

document_zuite/testHistory: use ListBoxZuite_reset, FooModule_createObjects (which sets some title at creation) and assert the new title. The test previously checked that the title was empty by default, which is no longer true (due to recently changed acquisition).

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19994 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 69b39a04
...@@ -3,11 +3,8 @@ ...@@ -3,11 +3,8 @@
<record id="1" aka="AAAAAAAAAAE="> <record id="1" aka="AAAAAAAAAAE=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <global name="ZopePageTemplate" module="Products.PageTemplates.ZopePageTemplate"/>
<string>Products.PageTemplates.ZopePageTemplate</string> <tuple/>
<string>ZopePageTemplate</string>
</tuple>
<none/>
</tuple> </tuple>
</pickle> </pickle>
<pickle> <pickle>
...@@ -66,16 +63,43 @@ ...@@ -66,16 +63,43 @@
<tr><td rowspan="1" colspan="3">Test History and edit_workflow</td></tr>\n <tr><td rowspan="1" colspan="3">Test History and edit_workflow</td></tr>\n
</thead><tbody>\n </thead><tbody>\n
\n \n
<tr>\n
<td>store</td>\n
<td tal:content="python: \'/\' + here.getPortalObject().getId()">erp5</td>\n
<td>base_url</td>\n
</tr>\n
<tr>\n
<td>open</td>\n
<td>${base_url}/bar_module/ListBoxZuite_reset</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>assertTextPresent</td>\n
<td>Reset Successfully.</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>open</td>\n
<td>${base_url}/bar_module/ListBoxZuite_waitForActivities</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>assertTextPresent</td>\n
<td>Done.</td>\n
<td></td>\n
</tr>\n
\n
<tr>\n <tr>\n
<td>open</td>\n <td>open</td>\n
<td tal:content="string: ${here/portal_url}/bar_module/view"></td>\n <td>${base_url}/bar_module/FooModule_createObjects?portal_type=Bar&amp;num:int=1</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>selectAndWait</td>\n <td>open</td>\n
<td>select_action</td>\n <td>${base_url}/bar_module/0</td>\n
<td>Add Bar</td>\n <td></td>\n
</tr>\n </tr>\n
\n
<tr>\n <tr>\n
<td>type</td>\n <td>type</td>\n
<td>field_my_title</td>\n <td>field_my_title</td>\n
...@@ -141,7 +165,7 @@ ...@@ -141,7 +165,7 @@
<tr>\n <tr>\n
<td>assertText</td>\n <td>assertText</td>\n
<td>//tr[@id=\'listbox_data_line_0\']/td[2]</td>\n <td>//tr[@id=\'listbox_data_line_0\']/td[2]</td>\n
<td></td> <!-- before -->\n <td>Title 0</td> <!-- before -->\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>assertText</td>\n <td>assertText</td>\n
......
327 328
\ No newline at end of file \ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment