Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Levin Zimmermann
erp5
Commits
eb40af42
Commit
eb40af42
authored
Apr 14, 2021
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
crm_renderjs_ui_test: port existing tests to erp5_xhtml_style
to ensure no regressions in legacy UI
parent
597f0237
Changes
12
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
953 additions
and
0 deletions
+953
-0
bt5/erp5_crm_renderjs_ui_test/PathTemplateItem/portal_tests/crm_action_zuite.xml
...i_test/PathTemplateItem/portal_tests/crm_action_zuite.xml
+26
-0
bt5/erp5_crm_renderjs_ui_test/PathTemplateItem/portal_tests/crm_action_zuite/testCRMCreateResponse.xml
...m/portal_tests/crm_action_zuite/testCRMCreateResponse.xml
+58
-0
bt5/erp5_crm_renderjs_ui_test/PathTemplateItem/portal_tests/crm_action_zuite/testCRMCreateResponse.zpt
...m/portal_tests/crm_action_zuite/testCRMCreateResponse.zpt
+62
-0
bt5/erp5_crm_renderjs_ui_test/PathTemplateItem/portal_tests/crm_action_zuite/testCRMCreateResponseFromNotificationMessage.xml
...on_zuite/testCRMCreateResponseFromNotificationMessage.xml
+58
-0
bt5/erp5_crm_renderjs_ui_test/PathTemplateItem/portal_tests/crm_action_zuite/testCRMCreateResponseFromNotificationMessage.zpt
...on_zuite/testCRMCreateResponseFromNotificationMessage.zpt
+62
-0
bt5/erp5_crm_renderjs_ui_test/PathTemplateItem/portal_tests/crm_action_zuite/testCRMUpdateCreateResponseDialog.xml
...ts/crm_action_zuite/testCRMUpdateCreateResponseDialog.xml
+58
-0
bt5/erp5_crm_renderjs_ui_test/PathTemplateItem/portal_tests/crm_action_zuite/testCRMUpdateCreateResponseDialog.zpt
...ts/crm_action_zuite/testCRMUpdateCreateResponseDialog.zpt
+62
-0
bt5/erp5_crm_renderjs_ui_test/PathTemplateItem/portal_tests/crm_action_zuite/testCRMUpdateCreateResponseDialogFromNotificationMessage.xml
...tCRMUpdateCreateResponseDialogFromNotificationMessage.xml
+58
-0
bt5/erp5_crm_renderjs_ui_test/PathTemplateItem/portal_tests/crm_action_zuite/testCRMUpdateCreateResponseDialogFromNotificationMessage.zpt
...tCRMUpdateCreateResponseDialogFromNotificationMessage.zpt
+62
-0
bt5/erp5_crm_renderjs_ui_test/SkinTemplateItem/portal_skins/erp5_crm_renderjs_ui_test/Zuite_CommonTemplateForCRMUiTest.xml
...crm_renderjs_ui_test/Zuite_CommonTemplateForCRMUiTest.xml
+79
-0
bt5/erp5_crm_renderjs_ui_test/SkinTemplateItem/portal_skins/erp5_crm_renderjs_ui_test/Zuite_CommonTemplateForCRMUiTest.zpt
...crm_renderjs_ui_test/Zuite_CommonTemplateForCRMUiTest.zpt
+366
-0
bt5/erp5_crm_renderjs_ui_test/bt/template_path_list
bt5/erp5_crm_renderjs_ui_test/bt/template_path_list
+2
-0
No files found.
bt5/erp5_crm_renderjs_ui_test/PathTemplateItem/portal_tests/crm_action_zuite.xml
0 → 100644
View file @
eb40af42
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Zuite"
module=
"Products.Zelenium.zuite"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_objects
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
crm_action_zuite
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_crm_renderjs_ui_test/PathTemplateItem/portal_tests/crm_action_zuite/testCRMCreateResponse.xml
0 → 100644
View file @
eb40af42
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"ZopePageTemplate"
module=
"Products.PageTemplates.ZopePageTemplate"
/>
</pickle>
<pickle>
<dictionary>
<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>
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>
testCRMCreateResponse
</string>
</value>
</item>
<item>
<key>
<string>
output_encoding
</string>
</key>
<value>
<string>
utf-8
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<unicode></unicode>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_crm_renderjs_ui_test/PathTemplateItem/portal_tests/crm_action_zuite/testCRMCreateResponse.zpt
0 → 100644
View file @
eb40af42
<html
xmlns:tal=
"http://xml.zope.org/namespaces/tal"
xmlns:metal=
"http://xml.zope.org/namespaces/metal"
>
<head>
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=UTF-8"
>
<title
tal:content=
"template/title_or_id"
></title>
</head>
<body>
<table
cellpadding=
"1"
cellspacing=
"1"
border=
"1"
>
<thead>
<tr><td
rowspan=
"1"
colspan=
"3"
tal:content=
"template/title_or_id"
></td></tr>
</thead><tbody>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForCRMUiTest/macros/init"
/>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForCRMUiTest/macros/prepare_data"
/>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForCRMUiTest/macros/view_create_response_dialog"
/>
<tal:block
tal:define=
"dialog_content_configuration python: {'field_your_response_event_title': 'Re: erp5_crm_renderjs_ui_test_event_title',
'field_your_response_event_portal_type': 'Note',
'field_your_response_event_resource': '',
'field_your_response_event_notification_message': '',
'field_your_response_workflow_action': 'send',
'field_my_default_destination': 'person_module/erp5_crm_renderjs_ui_test_agent',
'field_your_response_event_text_content': '<p><br></p><blockquote type="cite">Hello, I have an issue</blockquote><p><br></p>'}"
>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForCRMUiTest/macros/check_create_response_dialog_content"
/>
</tal:block>
<tal:block
tal:define=
"dialog_content_configuration python: {'field_your_response_event_title': 'erp5_crm_renderjs_ui_test_response_title',
'field_your_response_event_portal_type': 'Letter',
'field_your_response_event_resource': '',
'field_your_response_event_start_date': '2010-01-01T00:00:00',
'field_your_response_event_notification_message': '',
'field_your_response_workflow_action': 'draft',
'field_my_default_destination': 'person_module/erp5_crm_renderjs_ui_test_agent',
'field_your_response_event_text_content': '<p>Foo<br>Bar</p>'}"
>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForCRMUiTest/macros/fill_create_response_dialog_content"
/>
</tal:block>
<tr>
<td>
clickAndWait
</td>
<td>
dialog_submit_button
</td>
<td></td>
</tr>
<tr>
<td>
assertPortalStatusMessage
</td>
<td>
Response Created.
</td>
<td></td>
</tr>
<tal:block
tal:define=
"response_configuration python: {'field_my_title': 'erp5_crm_renderjs_ui_test_response_title',
'field_my_portal_type': 'Letter',
'field_my_resource': '',
'field_my_start_date': '2010-01-01T00:00:00',
'simulation_state': 'Draft',
'field_my_source_title': 'erp5_crm_renderjs_ui_test_agent_title',
'field_my_destination_title': 'erp5_crm_renderjs_ui_test_customer_title',
'field_my_text_content': '<p>Foo<br>Bar</p>'}"
>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForCRMUiTest/macros/check_response_content"
/>
</tal:block>
</tbody></table>
</body>
</html>
\ No newline at end of file
bt5/erp5_crm_renderjs_ui_test/PathTemplateItem/portal_tests/crm_action_zuite/testCRMCreateResponseFromNotificationMessage.xml
0 → 100644
View file @
eb40af42
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"ZopePageTemplate"
module=
"Products.PageTemplates.ZopePageTemplate"
/>
</pickle>
<pickle>
<dictionary>
<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>
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>
testCRMCreateResponseFromNotificationMessage
</string>
</value>
</item>
<item>
<key>
<string>
output_encoding
</string>
</key>
<value>
<string>
utf-8
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<unicode></unicode>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_crm_renderjs_ui_test/PathTemplateItem/portal_tests/crm_action_zuite/testCRMCreateResponseFromNotificationMessage.zpt
0 → 100644
View file @
eb40af42
<html
xmlns:tal=
"http://xml.zope.org/namespaces/tal"
xmlns:metal=
"http://xml.zope.org/namespaces/metal"
>
<head>
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=UTF-8"
>
<title
tal:content=
"template/title_or_id"
></title>
</head>
<body>
<table
cellpadding=
"1"
cellspacing=
"1"
border=
"1"
>
<thead>
<tr><td
rowspan=
"1"
colspan=
"3"
tal:content=
"template/title_or_id"
></td></tr>
</thead><tbody>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForCRMUiTest/macros/init"
/>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForCRMUiTest/macros/prepare_data"
/>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForCRMUiTest/macros/view_create_response_dialog"
/>
<tal:block
tal:define=
"dialog_content_configuration python: {'field_your_response_event_title': 'Re: erp5_crm_renderjs_ui_test_event_title',
'field_your_response_event_portal_type': 'Note',
'field_your_response_event_resource': '',
'field_your_response_event_notification_message': '',
'field_your_response_workflow_action': 'send',
'field_my_default_destination': 'person_module/erp5_crm_renderjs_ui_test_agent',
'field_your_response_event_text_content': '<p><br></p><blockquote type="cite">Hello, I have an issue</blockquote><p><br></p>'}"
>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForCRMUiTest/macros/check_create_response_dialog_content"
/>
</tal:block>
<tal:block
tal:define=
"dialog_content_configuration python: {'field_your_response_event_title': 'erp5_crm_renderjs_ui_test_response_title',
'field_your_response_event_portal_type': 'Letter',
'field_your_response_event_resource': '',
'field_your_response_event_start_date': '2010-01-01T00:00:00',
'field_your_response_event_notification_message': 'erp5_crm_renderjs_ui_test_notification_reference',
'field_your_response_workflow_action': 'draft',
'field_my_default_destination': 'person_module/erp5_crm_renderjs_ui_test_agent',
'field_your_response_event_text_content': '<p>Foo<br>Bar</p>'}"
>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForCRMUiTest/macros/fill_create_response_dialog_content"
/>
</tal:block>
<tr>
<td>
clickAndWait
</td>
<td>
dialog_submit_button
</td>
<td></td>
</tr>
<tr>
<td>
assertPortalStatusMessage
</td>
<td>
Response Created.
</td>
<td></td>
</tr>
<tal:block
tal:define=
"response_configuration python: {'field_my_title': 'erp5_crm_renderjs_ui_test_response_title',
'field_my_portal_type': 'Letter',
'field_my_resource': '',
'field_my_start_date': '2010-01-01T00:00:00',
'simulation_state': 'Draft',
'field_my_source_title': 'erp5_crm_renderjs_ui_test_agent_title',
'field_my_destination_title': 'erp5_crm_renderjs_ui_test_customer_title',
'field_my_text_content': '<p>No pbl. We will solve your issue.</p>'}"
>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForCRMUiTest/macros/check_response_content"
/>
</tal:block>
</tbody></table>
</body>
</html>
\ No newline at end of file
bt5/erp5_crm_renderjs_ui_test/PathTemplateItem/portal_tests/crm_action_zuite/testCRMUpdateCreateResponseDialog.xml
0 → 100644
View file @
eb40af42
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"ZopePageTemplate"
module=
"Products.PageTemplates.ZopePageTemplate"
/>
</pickle>
<pickle>
<dictionary>
<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>
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>
testCRMUpdateCreateResponseDialog
</string>
</value>
</item>
<item>
<key>
<string>
output_encoding
</string>
</key>
<value>
<string>
utf-8
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<unicode></unicode>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_crm_renderjs_ui_test/PathTemplateItem/portal_tests/crm_action_zuite/testCRMUpdateCreateResponseDialog.zpt
0 → 100644
View file @
eb40af42
<html
xmlns:tal=
"http://xml.zope.org/namespaces/tal"
xmlns:metal=
"http://xml.zope.org/namespaces/metal"
>
<head>
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=UTF-8"
>
<title
tal:content=
"template/title_or_id"
></title>
</head>
<body>
<table
cellpadding=
"1"
cellspacing=
"1"
border=
"1"
>
<thead>
<tr><td
rowspan=
"1"
colspan=
"3"
tal:content=
"template/title_or_id"
></td></tr>
</thead><tbody>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForCRMUiTest/macros/init"
/>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForCRMUiTest/macros/prepare_data"
/>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForCRMUiTest/macros/view_create_response_dialog"
/>
<tal:block
tal:define=
"dialog_content_configuration python: {'field_your_response_event_title': 'Re: erp5_crm_renderjs_ui_test_event_title',
'field_your_response_event_portal_type': 'Note',
'field_your_response_event_resource': '',
'field_your_response_event_notification_message': '',
'field_your_response_workflow_action': 'send',
'field_my_default_destination': 'person_module/erp5_crm_renderjs_ui_test_agent',
'field_your_response_event_text_content': '<p><br></p><blockquote type="cite">Hello, I have an issue</blockquote><p><br></p>'}"
>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForCRMUiTest/macros/check_create_response_dialog_content"
/>
</tal:block>
<tal:block
tal:define=
"dialog_content_configuration python: {'field_your_response_event_title': 'erp5_crm_renderjs_ui_test_response_title',
'field_your_response_event_portal_type': 'Letter',
'field_your_response_event_resource': '',
'field_your_response_event_start_date': '2010-01-01T00:00:00',
'field_your_response_event_notification_message': '',
'field_your_response_workflow_action': 'draft',
'field_my_default_destination': 'person_module/erp5_crm_renderjs_ui_test_agent',
'field_your_response_event_text_content': '<p>Foo<br>Bar</p>'}"
>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForCRMUiTest/macros/fill_create_response_dialog_content"
/>
</tal:block>
<tr>
<td>
clickAndWait
</td>
<td>
dialog_update_button
</td>
<td></td>
</tr>
<tr>
<td>
assertPortalStatusMessage
</td>
<td></td>
<td></td>
</tr>
<tal:block
tal:define=
"dialog_content_configuration python: {'field_your_response_event_title': 'erp5_crm_renderjs_ui_test_response_title',
'field_your_response_event_portal_type': 'Letter',
'field_your_response_event_resource': '',
'field_your_response_event_start_date': '2010-01-01T00:00:00',
'field_your_response_event_notification_message': '',
'field_your_response_workflow_action': 'draft',
'field_my_default_destination': 'person_module/erp5_crm_renderjs_ui_test_agent',
'field_your_response_event_text_content': '<p>Foo<br>Bar</p>'}"
>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForCRMUiTest/macros/check_create_response_dialog_content"
/>
</tal:block>
</tbody></table>
</body>
</html>
\ No newline at end of file
bt5/erp5_crm_renderjs_ui_test/PathTemplateItem/portal_tests/crm_action_zuite/testCRMUpdateCreateResponseDialogFromNotificationMessage.xml
0 → 100644
View file @
eb40af42
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"ZopePageTemplate"
module=
"Products.PageTemplates.ZopePageTemplate"
/>
</pickle>
<pickle>
<dictionary>
<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>
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>
testCRMUpdateCreateResponseDialogFromNotificationMessage
</string>
</value>
</item>
<item>
<key>
<string>
output_encoding
</string>
</key>
<value>
<string>
utf-8
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<unicode></unicode>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_crm_renderjs_ui_test/PathTemplateItem/portal_tests/crm_action_zuite/testCRMUpdateCreateResponseDialogFromNotificationMessage.zpt
0 → 100644
View file @
eb40af42
<html
xmlns:tal=
"http://xml.zope.org/namespaces/tal"
xmlns:metal=
"http://xml.zope.org/namespaces/metal"
>
<head>
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=UTF-8"
>
<title
tal:content=
"template/title_or_id"
></title>
</head>
<body>
<table
cellpadding=
"1"
cellspacing=
"1"
border=
"1"
>
<thead>
<tr><td
rowspan=
"1"
colspan=
"3"
tal:content=
"template/title_or_id"
></td></tr>
</thead><tbody>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForCRMUiTest/macros/init"
/>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForCRMUiTest/macros/prepare_data"
/>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForCRMUiTest/macros/view_create_response_dialog"
/>
<tal:block
tal:define=
"dialog_content_configuration python: {'field_your_response_event_title': 'Re: erp5_crm_renderjs_ui_test_event_title',
'field_your_response_event_portal_type': 'Note',
'field_your_response_event_resource': '',
'field_your_response_event_notification_message': '',
'field_your_response_workflow_action': 'send',
'field_my_default_destination': 'person_module/erp5_crm_renderjs_ui_test_agent',
'field_your_response_event_text_content': '<p><br></p><blockquote type="cite">Hello, I have an issue</blockquote><p><br></p>'}"
>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForCRMUiTest/macros/check_create_response_dialog_content"
/>
</tal:block>
<tal:block
tal:define=
"dialog_content_configuration python: {'field_your_response_event_title': 'erp5_crm_renderjs_ui_test_response_title',
'field_your_response_event_portal_type': 'Letter',
'field_your_response_event_resource': '',
'field_your_response_event_start_date': '2010-01-01T00:00:00',
'field_your_response_event_notification_message': 'erp5_crm_renderjs_ui_test_notification_reference',
'field_your_response_workflow_action': 'draft',
'field_my_default_destination': 'person_module/erp5_crm_renderjs_ui_test_agent',
'field_your_response_event_text_content': '<p>Foo<br>Bar</p>'}"
>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForCRMUiTest/macros/fill_create_response_dialog_content"
/>
</tal:block>
<tr>
<td>
clickAndWait
</td>
<td>
dialog_update_button
</td>
<td></td>
</tr>
<tr>
<td>
assertPortalStatusMessage
</td>
<td></td>
<td></td>
</tr>
<tal:block
tal:define=
"dialog_content_configuration python: {'field_your_response_event_title': 'erp5_crm_renderjs_ui_test_notification_title',
'field_your_response_event_portal_type': 'Letter',
'field_your_response_event_resource': '',
'field_your_response_event_start_date': '2010-01-01T00:00:00',
'field_your_response_event_notification_message': '',
'field_your_response_workflow_action': 'draft',
'field_my_default_destination': 'person_module/erp5_crm_renderjs_ui_test_agent',
'field_your_response_event_text_content': '<p>No pbl. We will solve your issue.</p>'}"
>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForCRMUiTest/macros/check_create_response_dialog_content"
/>
</tal:block>
</tbody></table>
</body>
</html>
\ No newline at end of file
bt5/erp5_crm_renderjs_ui_test/SkinTemplateItem/portal_skins/erp5_crm_renderjs_ui_test/Zuite_CommonTemplateForCRMUiTest.xml
0 → 100644
View file @
eb40af42
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"ZopePageTemplate"
module=
"Products.PageTemplates.ZopePageTemplate"
/>
</pickle>
<pickle>
<dictionary>
<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>
_local_properties
</string>
</key>
<value>
<tuple>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
description
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
text
</string>
</value>
</item>
</dictionary>
</tuple>
</value>
</item>
<item>
<key>
<string>
content_type
</string>
</key>
<value>
<string>
text/html
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
Common Template for PTZuite, it will reuse parts of the Listbox Zuite
</string>
</value>
</item>
<item>
<key>
<string>
expand
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
Zuite_CommonTemplateForCRMUiTest
</string>
</value>
</item>
<item>
<key>
<string>
output_encoding
</string>
</key>
<value>
<string>
utf-8
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<unicode>
Common Template for All erp5_xhtml_style ui Zuite
</unicode>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_crm_renderjs_ui_test/SkinTemplateItem/portal_skins/erp5_crm_renderjs_ui_test/Zuite_CommonTemplateForCRMUiTest.zpt
0 → 100644
View file @
eb40af42
This diff is collapsed.
Click to expand it.
bt5/erp5_crm_renderjs_ui_test/bt/template_path_list
View file @
eb40af42
portal_tests/crm_action_zuite
portal_tests/crm_action_zuite/**
portal_tests/renderjs_ui_crm_action_zuite
portal_tests/renderjs_ui_crm_action_zuite/**
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment