diff --git a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/page_templates_zuite/testDialogDialogCategoryPropagation.xml b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/page_templates_zuite/testDialogDialogCategoryPropagation.xml new file mode 100644 index 0000000000000000000000000000000000000000..e561c7a8226ec6b63c785e56af7bbab879706b55 --- /dev/null +++ b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/page_templates_zuite/testDialogDialogCategoryPropagation.xml @@ -0,0 +1,128 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.PageTemplates.ZopePageTemplate</string> + <string>ZopePageTemplate</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_bind_names</string> </key> + <value> + <object> + <klass> + <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_asgns</string> </key> + <value> + <dictionary> + <item> + <key> <string>name_subpath</string> </key> + <value> <string>traverse_subpath</string> </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>_text</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<html xmlns:tal="http://xml.zope.org/namespaces/tal"\n + xmlns:metal="http://xml.zope.org/namespaces/metal">\n +<head>\n +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">\n +<title>Test Exchange Actions</title>\n +</head>\n +<body>\n +<table cellpadding="1" cellspacing="1" border="1">\n +<thead>\n +<tr><td rowspan="1" colspan="3">test_dialog_category_propagation</td></tr>\n +</thead><tbody>\n +<tal:block metal:use-macro="here/PTZuite_CommonTemplate/macros/init" />\n +<tr>\n + <td>open</td>\n + <td tal:content="string: ${here/portal_url}/portal_types/Foo/PortalType_addAction?id=test_action&name=Dummy Exchange&category=object_exchange&action=string:%24{object_url}/Foo_viewDummyDialog">Create a dummy 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_addAction?id=test_action_2&name=Another Dummy Exchange&category=object_exchange&action=string:%24{object_url}/Foo_viewDummyDialog">Create another dummy action</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 + <td></td>\n +</tr>\n +<tr>\n + <td>assertElementNotPresent</td>\n + <td>//input[@name=\'selection_name\']</td>\n + <td></td>\n +</tr>\n +<tr>\n + <td>clickAndWait</td>\n + <td>link=Import / Export</td>\n + <td></td>\n +</tr>\n +<tr>\n + <td>selectAndWait</td>\n + <td>dialog_selector</td>\n + <td>label=Another Dummy Exchange</td>\n +</tr>\n +<tr>\n + <td>assertElementPresent</td>\n + <td>//input[@name=\'dialog_category\' and @value=\'object_exchange\']</td>\n + <td></td>\n +</tr>\n +</tbody></table>\n +</body>\n +</html>\n + + +]]></string> </value> + </item> + <item> + <key> <string>content_type</string> </key> + <value> <string>text/html</string> </value> + </item> + <item> + <key> <string>expand</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>testDialogDialogCategoryPropagation</string> </value> + </item> + <item> + <key> <string>isIndexable</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_ui_test/bt/revision b/bt5/erp5_ui_test/bt/revision index 780fea92d290e030d3636fa09844dfb11e96ef2a..8e14edce9ccd63cedb63bd0c07f8b829438a6c8a 100644 --- a/bt5/erp5_ui_test/bt/revision +++ b/bt5/erp5_ui_test/bt/revision @@ -1 +1 @@ -77 \ No newline at end of file +78