diff --git a/bt5/erp5_configurator_standard_ui_test/PathTemplateItem/portal_tests/configurator_standard_zuite/testStandardConfigurationProcess.xml b/bt5/erp5_configurator_standard_ui_test/PathTemplateItem/portal_tests/configurator_standard_zuite/testStandardConfigurationProcess.xml index 31f2a800bb160888905e94f80580483bb1790dbd..6b6fa5725d7946acafa542872d0e30cac9ad6051 100644 --- a/bt5/erp5_configurator_standard_ui_test/PathTemplateItem/portal_tests/configurator_standard_zuite/testStandardConfigurationProcess.xml +++ b/bt5/erp5_configurator_standard_ui_test/PathTemplateItem/portal_tests/configurator_standard_zuite/testStandardConfigurationProcess.xml @@ -127,7 +127,8 @@ </tr>\n <tr>\n <td>clickAndWait</td>\n - <td>//input[@name="Base_callDialogMethod:method"]</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 @@ -141,14 +142,10 @@ <td tal:content="python:\n here.Zuite_getConfigurationTestDict()[\'configuration_key\']"></td>\n </tr>\n -<tr>\n - <td>select</td>\n - <td>//select[@name="field_your_business_configuration"]</td>\n - <td>STANDARD_CONFIGURATOR_TEST</td>\n -</tr>\n <tr>\n <td>clickAndWait</td>\n - <td>//input[@name="Base_callDialogMethod:method"]</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 \n @@ -658,7 +655,8 @@ Wait for activities</span>\n <td></td>\n </tr>\n \n -</tbody></table>\n +</tbody>\n +</table>\n </body>\n </html> diff --git a/bt5/erp5_configurator_standard_ui_test/PathTemplateItem/portal_tests/configurator_standard_zuite/testStandardConsultingConfigurationProcess.xml b/bt5/erp5_configurator_standard_ui_test/PathTemplateItem/portal_tests/configurator_standard_zuite/testStandardConsultingConfigurationProcess.xml index 22a5314e36c34e255ee031425e8a812ddd965795..3ebe82b692ef1395b2a01b9dd944411895893694 100644 --- a/bt5/erp5_configurator_standard_ui_test/PathTemplateItem/portal_tests/configurator_standard_zuite/testStandardConsultingConfigurationProcess.xml +++ b/bt5/erp5_configurator_standard_ui_test/PathTemplateItem/portal_tests/configurator_standard_zuite/testStandardConsultingConfigurationProcess.xml @@ -40,12 +40,12 @@ xmlns:metal="http://xml.zope.org/namespaces/metal">\n <head>\n <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">\n -<title>Configuration Standard Consulting</title>\n +<title>Standard Consulting Configuration</title>\n </head>\n <body>\n <table cellpadding="1" cellspacing="1" border="1">\n <thead>\n -<tr><td rowspan="1" colspan="3">Standard Configuration</td></tr>\n +<tr><td rowspan="1" colspan="3">Standard Consulting Configuration</td></tr>\n </thead><tbody>\n \n <span metal:use-macro="container/Zuite_viewConfiguratorTestMacroLibrary/macros/init_test_environment" />\n @@ -127,7 +127,8 @@ </tr>\n <tr>\n <td>clickAndWait</td>\n - <td>//input[@name="Base_callDialogMethod:method"]</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 @@ -141,14 +142,10 @@ <td tal:content="python:\n here.Zuite_getConfigurationTestDict()[\'configuration_key\']"></td>\n </tr>\n -<tr>\n - <td>select</td>\n - <td>//select[@name="field_your_business_configuration"]</td>\n - <td>STANDARD_CONFIGURATOR_TEST</td>\n -</tr>\n <tr>\n <td>clickAndWait</td>\n - <td>//input[@name="Base_callDialogMethod:method"]</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 \n diff --git a/bt5/erp5_configurator_standard_ui_test/bt/change_log b/bt5/erp5_configurator_standard_ui_test/bt/change_log index b5dc90bd864323e371f156f87c5c9938878182c4..a93e55dd0a4cc0545d4065f6cad33608180da886 100644 --- a/bt5/erp5_configurator_standard_ui_test/bt/change_log +++ b/bt5/erp5_configurator_standard_ui_test/bt/change_log @@ -1,2 +1,5 @@ +2011-04-07 lucas +* Updated the test to work with the new user interface. + 2010-01-07 rafael * Inicial release. \ No newline at end of file diff --git a/bt5/erp5_configurator_standard_ui_test/bt/revision b/bt5/erp5_configurator_standard_ui_test/bt/revision index ed4df3c909416ce15dc1a8653600d7ff03c6e99c..97db18970969c1ea1c574804d760b7b09c26b02f 100644 --- a/bt5/erp5_configurator_standard_ui_test/bt/revision +++ b/bt5/erp5_configurator_standard_ui_test/bt/revision @@ -1 +1 @@ -666 \ No newline at end of file +667 \ No newline at end of file