diff --git a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/page_templates_zuite/testPrintActions.xml b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/page_templates_zuite/testPrintActions.xml index c38b65fb4e4681979ddf750933a4a8dcec9e9893..4343d7c44c5d20a1b96287b9a25fce996483c7fc 100644 --- a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/page_templates_zuite/testPrintActions.xml +++ b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/page_templates_zuite/testPrintActions.xml @@ -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></td>\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 <td>open</td>\n <td tal:content="string: ${here/portal_url}/foo_module/1/view">/erp5/foo_module/1/view</td>\n @@ -81,11 +86,31 @@ <td>//button[@title=\'Print\']</td>\n <td></td>\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 <td>assertTextPresent</td>\n <td>Welcome to ERP5</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_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 </html>\n diff --git a/bt5/erp5_ui_test/bt/revision b/bt5/erp5_ui_test/bt/revision index 105d7d9ad3afc7bb78a0dec4d829880831605dfb..398050c62c882fa5ebc8d8aaa2e730e70790beeb 100644 --- a/bt5/erp5_ui_test/bt/revision +++ b/bt5/erp5_ui_test/bt/revision @@ -1 +1 @@ -100 \ No newline at end of file +101