Commit db8faf5d authored by Łukasz Nowak's avatar Łukasz Nowak

- relate Foo with edit_workflow

 - check that while cloning or pasting Foo proper information is registered in edito_workflow's history


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@27827 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 572216b1
...@@ -148,7 +148,21 @@ another object of the same type. -->\n ...@@ -148,7 +148,21 @@ another object of the same type. -->\n
<td>Created Clone Foo.</td>\n <td>Created Clone Foo.</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
\n <tr>\n
<td>clickAndWait</td>\n
<td>link=History</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>x0_listbox_record_number</td>\n
<td>2 record(s)</td> <!-- Creation + paste notification -->\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>x0_listbox_data_line_1</td>\n
<td>regexp:Object copied from /erp5/foo_module/2$</td>\n
</tr>\n
</body>\n </body>\n
</html>\n </html>\n
......
...@@ -136,6 +136,21 @@ ...@@ -136,6 +136,21 @@
<td>//tr[@id="listbox_data_line_0"]/td[2]</td>\n <td>//tr[@id="listbox_data_line_0"]/td[2]</td>\n
<td>0</td>\n <td>0</td>\n
</tr>\n </tr>\n
<tr>\n
<td>open</td>\n
<td>${base_url}/bar_module/0/Base_viewHistory</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>x0_listbox_record_number</td>\n
<td>2 record(s)</td> <!-- Creation + paste notification -->\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>x0_listbox_data_line_1</td>\n
<td>regexp:Object copied from /erp5/foo_module/0$</td>\n
</tr>\n
<tr>\n <tr>\n
<td>open</td>\n <td>open</td>\n
<td>${base_url}/foo_module/view</td>\n <td>${base_url}/foo_module/view</td>\n
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
</chain> </chain>
<chain> <chain>
<type>Foo</type> <type>Foo</type>
<workflow>foo_workflow</workflow> <workflow>edit_workflow, foo_workflow</workflow>
</chain> </chain>
<chain> <chain>
<type>Foo Line</type> <type>Foo Line</type>
......
438 439
\ 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