Commit 859c2e8c authored by Rafael Monnerat's avatar Rafael Monnerat

Included test for Consulting workflow.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@42150 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 91c34475
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>Script_magic</string> </key>
<value> <int>3</int> </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_container</string> </key>
<value> <string>container</string> </value>
</item>
<item>
<key> <string>name_context</string> </key>
<value> <string>context</string> </value>
</item>
<item>
<key> <string>name_m_self</string> </key>
<value> <string>script</string> </value>
</item>
<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>_body</string> </key>
<value> <string>test_documents_home = context.Zuite_getConfiguratorTestDocumentsHome()\n
return \'%s/%s\' %(test_documents_home, filename)\n
</string> </value>
</item>
<item>
<key> <string>_params</string> </key>
<value> <string>filename</string> </value>
</item>
<item>
<key> <string>_proxy_roles</string> </key>
<value>
<tuple>
<string>Manager</string>
</tuple>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>Zuite_getConfiguratorFilenameLocation</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="ExternalMethod" module="Products.ExternalMethod.ExternalMethod"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_function</string> </key>
<value> <string>Zuite_getTestDocumentsHome</string> </value>
</item>
<item>
<key> <string>_module</string> </key>
<value> <string>ConfiguratorTestUtils</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>Zuite_getConfiguratorTestDocumentsHome</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -91,7 +91,7 @@ business_configuration = context.business_configuration_module.newContent(\n
title=bc_id,\n
reference=configuration_info[\'configuration_key\'])\n
\n
business_configuration.setResource("workflow_module/erp5_standard_workflow")\n
business_configuration.setResource(workflow_path)\n
\n
# (Re)Create the Person with already used login.\n
kw = dict(portal_type="Person",\n
......@@ -111,7 +111,7 @@ return "### Init Ok ###"\n
</item>
<item>
<key> <string>_params</string> </key>
<value> <string></string> </value>
<value> <string>workflow_path="workflow_module/erp5_standard_workflow"</string> </value>
</item>
<item>
<key> <string>_proxy_roles</string> </key>
......
......@@ -149,6 +149,115 @@
</tr>\n
</tal:block>\n
\n
<tal:block metal:define-macro="configurator_consulting_frame_check">\n
\n
<tr>\n
<td>verifyTextPresent</td>\n
<td>ERP5 Configuration</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyTextPresent</td>\n
<td>Hello</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyTextPresent</td>\n
<td>Installation steps</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyTextPresent</td>\n
<td>Your categories</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyTextPresent</td>\n
<td>Your roles settings</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyTextPresent</td>\n
<td>Number of user accounts</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyTextPresent</td>\n
<td>User accounts configuration</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyTextPresent</td>\n
<td>Accounting</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyTextPresent</td>\n
<td>Application preferences</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyTextPresent</td>\n
<td>ERP5 installation</td>\n
<td></td>\n
</tr>\n
</tal:block>\n
\n
<tal:block metal:define-macro="configurator_consulting_page1_check">\n
<tr>\n
<td>verifyTextPresent</td>\n
<td>Your Categories</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyTextPresent</td>\n
<td>Upload your categories spreadsheet.</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyTextPresent</td>\n
<td>Categories Spreadsheet</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyElementPresent</td>\n
<td>//input[@name="next:method"]</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyValue</td>\n
<td>//input[@name="next:method"]</td>\n
<td>Configure Categories</td>\n
</tr>\n
</tal:block>\n
\n
<tal:block metal:define-macro="configurator_consulting_page2_check">\n
<tr>\n
<td>verifyTextPresent</td>\n
<td>Your roles settings</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyTextPresent</td>\n
<td>Upload your roles settings spreadsheet.</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyTextPresent</td>\n
<td>Portal Type Roles Spreadsheet</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyElementPresent</td>\n
<td>//input[@name="next:method"]</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyValue</td>\n
<td>//input[@name="next:method"]</td>\n
<td>Configure Rules</td>\n
</tr>\n
</tal:block>\n
\n
<tal:block metal:define-macro="configurator_page1_check">\n
<tr>\n
......
2010-01-07 rafael
* Inicial release.
\ No newline at end of file
654
\ No newline at end of file
655
\ 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