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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Aaron Chen
erp5
Commits
aab9d088
Commit
aab9d088
authored
Dec 23, 2011
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Drop Configuration Key Tests
parent
e09ca249
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
59 deletions
+4
-59
bt5/erp5_configurator_standard_ui_test/PathTemplateItem/portal_tests/configurator_consulting_standard_zuite/testStandardConsultingConfigurationProcess.xml
...dard_zuite/testStandardConsultingConfigurationProcess.xml
+0
-27
bt5/erp5_configurator_standard_ui_test/PathTemplateItem/portal_tests/configurator_standard_zuite/testStandardConfigurationProcess.xml
...rator_standard_zuite/testStandardConfigurationProcess.xml
+0
-27
bt5/erp5_configurator_standard_ui_test/SkinTemplateItem/portal_skins/erp5_configurator_standard_ui_test/Zuite_getConfigurationTestDict.xml
...rator_standard_ui_test/Zuite_getConfigurationTestDict.xml
+0
-1
bt5/erp5_configurator_standard_ui_test/SkinTemplateItem/portal_skins/erp5_configurator_standard_ui_test/Zuite_setUpConfigurationTest.xml
...gurator_standard_ui_test/Zuite_setUpConfigurationTest.xml
+4
-4
No files found.
bt5/erp5_configurator_standard_ui_test/PathTemplateItem/portal_tests/configurator_consulting_standard_zuite/testStandardConsultingConfigurationProcess.xml
View file @
aab9d088
...
...
@@ -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
...
...
bt5/erp5_configurator_standard_ui_test/PathTemplateItem/portal_tests/configurator_standard_zuite/testStandardConfigurationProcess.xml
View file @
aab9d088
...
...
@@ -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
...
...
bt5/erp5_configurator_standard_ui_test/SkinTemplateItem/portal_skins/erp5_configurator_standard_ui_test/Zuite_getConfigurationTestDict.xml
View file @
aab9d088
...
...
@@ -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
...
...
bt5/erp5_configurator_standard_ui_test/SkinTemplateItem/portal_skins/erp5_configurator_standard_ui_test/Zuite_setUpConfigurationTest.xml
View file @
aab9d088
...
...
@@ -79,8 +79,9 @@ 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
repository_list = configuration_info[\'bt_repository_list\'])\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
bc_id = configuration_info[\'business_configuration_id\']\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
...
...
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