Commit aab9d088 authored by Rafael Monnerat's avatar Rafael Monnerat

Drop Configuration Key Tests

parent e09ca249
......@@ -110,38 +110,11 @@
<td>Language</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyTextPresent</td>\n
<td>Configurator Key</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyTextPresent</td>\n
<td>ERP5 Configuration</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>type</td>\n
<td>//input[@name="field_my_ac_key"]</td>\n
<td>wrong_configuration_key</td>\n
</tr>\n
<tr>\n
<td>clickAndWait</td>\n
<td tal:content="python: \'//button[@value=\\\'business_configuration_module/%s\\\']\' %\n
here.Zuite_getConfigurationTestDict()[\'business_configuration_id\']"></td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyTextPresent</td>\n
<td>Incorrect Configuration Key</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>type</td>\n
<td>//input[@name="field_my_ac_key"]</td>\n
<td tal:content="python:\n
here.Zuite_getConfigurationTestDict()[\'configuration_key\']"></td>\n
</tr>\n
<tr>\n
<td>clickAndWait</td>\n
<td tal:content="python: \'//button[@value=\\\'business_configuration_module/%s\\\']\' %\n
......
......@@ -110,38 +110,11 @@
<td>Language</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyTextPresent</td>\n
<td>Configurator Key</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyTextPresent</td>\n
<td>ERP5 Configuration</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>type</td>\n
<td>//input[@name="field_my_ac_key"]</td>\n
<td>wrong_configuration_key</td>\n
</tr>\n
<tr>\n
<td>clickAndWait</td>\n
<td tal:content="python: \'//button[@value=\\\'business_configuration_module/%s\\\']\' %\n
here.Zuite_getConfigurationTestDict()[\'business_configuration_id\']"></td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyTextPresent</td>\n
<td>Incorrect Configuration Key</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>type</td>\n
<td>//input[@name="field_my_ac_key"]</td>\n
<td tal:content="python:\n
here.Zuite_getConfigurationTestDict()[\'configuration_key\']"></td>\n
</tr>\n
<tr>\n
<td>clickAndWait</td>\n
<td tal:content="python: \'//button[@value=\\\'business_configuration_module/%s\\\']\' %\n
......
......@@ -60,7 +60,6 @@
from DateTime import DateTime\n
\n
configuration_dict = {\n
\'configuration_key\': \'a\', # XXX: fill as appropriate for test env\n
\'customer_organisation_title\': \'Nexedi SA\',\n
\'customer_organisation_email\': \'webproject-report@erp5.org\',\n
\'customer_organisation_telephone\': \'+123 234 567 891\',\n
......
......@@ -79,7 +79,8 @@ if default_site_preference.getPreferenceState() != \'global\':\n
default_site_preference.enable()\n
\n
# update repository info of Configurator site\n
portal.portal_templates.updateRepositoryBusinessTemplateList(\n
if len(portal.portal_templates.getRepositoryList([])) == 0:\n
portal.portal_templates.updateRepositoryBusinessTemplateList(\n
repository_list = configuration_info[\'bt_repository_list\'])\n
\n
# (Re)Create the Business Configurator\n
......@@ -91,8 +92,7 @@ if business_configuration is not None:\n
business_configuration = context.business_configuration_module.newContent(\n
portal_type="Business Configuration",\n
id=bc_id, \n
title=bc_id,\n
reference=configuration_info[\'configuration_key\'])\n
title=bc_id)\n
\n
business_configuration.setResource(workflow_path)\n
\n
......
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