Commit f38a1e0b authored by Vincent Pelletier's avatar Vincent Pelletier

Add a test for multiple print actions.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@10584 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ad4ddcd2
...@@ -71,6 +71,11 @@ ...@@ -71,6 +71,11 @@
<td tal:content="string: ${here/portal_url}/portal_types/Foo/PortalType_addAction?id=test_action&name=Print Portal&category=object_print&action=string:%24{portal_url}/view">Create a dummy action that redirects to the portal</td>\n <td tal:content="string: ${here/portal_url}/portal_types/Foo/PortalType_addAction?id=test_action&name=Print Portal&category=object_print&action=string:%24{portal_url}/view">Create a dummy action that redirects to the portal</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n
<td>open</td>\n
<td tal:content="string: ${here/portal_url}/portal_types/Foo/PortalType_addAction?id=test_action2&name=Print Portal 2&category=object_print&action=string:%24{portal_url}/view">Create another dummy action that redirects to the portal</td>\n
<td></td>\n
</tr>\n
<tr>\n <tr>\n
<td>open</td>\n <td>open</td>\n
<td tal:content="string: ${here/portal_url}/foo_module/1/view">/erp5/foo_module/1/view</td>\n <td tal:content="string: ${here/portal_url}/foo_module/1/view">/erp5/foo_module/1/view</td>\n
...@@ -81,11 +86,31 @@ ...@@ -81,11 +86,31 @@
<td>//button[@title=\'Print\']</td>\n <td>//button[@title=\'Print\']</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n
<td>assertElementPresent</td>\n
<td>//select[@name=\'select_dialog\']</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>clickAndWait</td>\n
<td>//button[@name=\'Base_doDialog:method\']</td>\n
<td></td>\n
</tr>\n
<tr>\n <tr>\n
<td>assertTextPresent</td>\n <td>assertTextPresent</td>\n
<td>Welcome to ERP5</td>\n <td>Welcome to ERP5</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n
<td>open</td>\n
<td tal:content="string: ${here/portal_url}/portal_types/Foo/PortalType_deleteAction?id=test_action"></td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>open</td>\n
<td tal:content="string: ${here/portal_url}/portal_types/Foo/PortalType_deleteAction?id=test_action2"></td>\n
<td></td>\n
</tr>\n
</body>\n </body>\n
</html>\n </html>\n
......
100 101
\ 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