From 2b33502b5d22704dcee3e0ee73f13e82a51d1614 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com> Date: Tue, 9 Sep 2008 08:40:52 +0000 Subject: [PATCH] Those tests were changing langage to clear the cache, this is no longer needed cache is now cleared automatically when preference is modified (and changing langage does not clear the cache anymore) git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@23501 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../test_account_module_at_date.html.xml | 19 ++----------------- .../test_account_module_from_date.html.xml | 19 ++----------------- ..._account_transaction_list_at_date.html.xml | 19 ++----------------- ...ccount_transaction_list_from_date.html.xml | 19 ++----------------- ..._account_transaction_list_at_date.html.xml | 19 ++----------------- ...nisation_transaction_list_at_date.html.xml | 19 ++----------------- ...sation_transaction_list_from_date.html.xml | 12 ------------ bt5/erp5_accounting_ui_test/bt/revision | 2 +- 8 files changed, 13 insertions(+), 115 deletions(-) diff --git a/bt5/erp5_accounting_ui_test/PathTemplateItem/portal_tests/accounting_zuite/test_account_module/test_account_module_at_date.html.xml b/bt5/erp5_accounting_ui_test/PathTemplateItem/portal_tests/accounting_zuite/test_account_module/test_account_module_at_date.html.xml index 06643ddd25..b83294d31c 100644 --- a/bt5/erp5_accounting_ui_test/PathTemplateItem/portal_tests/accounting_zuite/test_account_module/test_account_module_at_date.html.xml +++ b/bt5/erp5_accounting_ui_test/PathTemplateItem/portal_tests/accounting_zuite/test_account_module/test_account_module_at_date.html.xml @@ -3,11 +3,8 @@ <record id="1" aka="AAAAAAAAAAE="> <pickle> <tuple> - <tuple> - <string>Products.PageTemplates.ZopePageTemplate</string> - <string>ZopePageTemplate</string> - </tuple> - <none/> + <global name="ZopePageTemplate" module="Products.PageTemplates.ZopePageTemplate"/> + <tuple/> </tuple> </pickle> <pickle> @@ -96,12 +93,6 @@ Test display of Account Module, with at_date parameter\n <td>Base_edit:method</td>\n <td></td>\n </tr>\n -<!-- XXX manually clear the cache ? -->\n -<tr>\n - <td>clickAndWait</td>\n - <td>//button[@title=\'Select Language\']</td>\n - <td></td>\n -</tr>\n <tr>\n <td>selectAndWait</td>\n <td>select_module</td>\n @@ -312,12 +303,6 @@ Test display of Account Module, with at_date parameter\n <td>Base_edit:method</td>\n <td></td>\n </tr>\n -<!-- XXX manually clear the cache ? -->\n -<tr>\n - <td>clickAndWait</td>\n - <td>//button[@title=\'Select Language\']</td>\n - <td></td>\n -</tr>\n <!-- }}} -->\n \n </tbody></table>\n diff --git a/bt5/erp5_accounting_ui_test/PathTemplateItem/portal_tests/accounting_zuite/test_account_module/test_account_module_from_date.html.xml b/bt5/erp5_accounting_ui_test/PathTemplateItem/portal_tests/accounting_zuite/test_account_module/test_account_module_from_date.html.xml index 806f293ee7..cfd4fcdb10 100644 --- a/bt5/erp5_accounting_ui_test/PathTemplateItem/portal_tests/accounting_zuite/test_account_module/test_account_module_from_date.html.xml +++ b/bt5/erp5_accounting_ui_test/PathTemplateItem/portal_tests/accounting_zuite/test_account_module/test_account_module_from_date.html.xml @@ -3,11 +3,8 @@ <record id="1" aka="AAAAAAAAAAE="> <pickle> <tuple> - <tuple> - <string>Products.PageTemplates.ZopePageTemplate</string> - <string>ZopePageTemplate</string> - </tuple> - <none/> + <global name="ZopePageTemplate" module="Products.PageTemplates.ZopePageTemplate"/> + <tuple/> </tuple> </pickle> <pickle> @@ -96,12 +93,6 @@ Test display of Account Module, with from_date parameter (which has no impact)\n <td>Base_edit:method</td>\n <td></td>\n </tr>\n -<!-- XXX manually clear the cache ? -->\n -<tr>\n - <td>clickAndWait</td>\n - <td>//button[@title=\'Select Language\']</td>\n - <td></td>\n -</tr>\n <tr>\n <td>selectAndWait</td>\n <td>select_module</td>\n @@ -600,12 +591,6 @@ Test display of Account Module, with from_date parameter (which has no impact)\n <td>Base_edit:method</td>\n <td></td>\n </tr>\n -<!-- XXX manually clear the cache ? -->\n -<tr>\n - <td>clickAndWait</td>\n - <td>//button[@title=\'Select Language\']</td>\n - <td></td>\n -</tr>\n <!-- }}} -->\n \n </tbody></table>\n diff --git a/bt5/erp5_accounting_ui_test/PathTemplateItem/portal_tests/accounting_zuite/test_accounts/test_account_transaction_list_at_date.html.xml b/bt5/erp5_accounting_ui_test/PathTemplateItem/portal_tests/accounting_zuite/test_accounts/test_account_transaction_list_at_date.html.xml index e2d256b239..7fb2efdcd5 100644 --- a/bt5/erp5_accounting_ui_test/PathTemplateItem/portal_tests/accounting_zuite/test_accounts/test_account_transaction_list_at_date.html.xml +++ b/bt5/erp5_accounting_ui_test/PathTemplateItem/portal_tests/accounting_zuite/test_accounts/test_account_transaction_list_at_date.html.xml @@ -3,11 +3,8 @@ <record id="1" aka="AAAAAAAAAAE="> <pickle> <tuple> - <tuple> - <string>Products.PageTemplates.ZopePageTemplate</string> - <string>ZopePageTemplate</string> - </tuple> - <none/> + <global name="ZopePageTemplate" module="Products.PageTemplates.ZopePageTemplate"/> + <tuple/> </tuple> </pickle> <pickle> @@ -96,12 +93,6 @@ Test Transactions related to an account, with at date parameter\n <td>Base_edit:method</td>\n <td></td>\n </tr>\n -<!-- XXX manually clear the cache ? -->\n -<tr>\n - <td>clickAndWait</td>\n - <td>//button[@title=\'Select Language\']</td>\n - <td></td>\n -</tr>\n <!-- }}} -->\n \n <!-- {{{ Select Receivable account and check transaction list -->\n @@ -204,12 +195,6 @@ Test Transactions related to an account, with at date parameter\n <td>Base_edit:method</td>\n <td></td>\n </tr>\n -<!-- XXX manually clear the cache ? -->\n -<tr>\n - <td>clickAndWait</td>\n - <td>//button[@title=\'Select Language\']</td>\n - <td></td>\n -</tr>\n <!-- }}} -->\n \n </tbody></table>\n diff --git a/bt5/erp5_accounting_ui_test/PathTemplateItem/portal_tests/accounting_zuite/test_accounts/test_account_transaction_list_from_date.html.xml b/bt5/erp5_accounting_ui_test/PathTemplateItem/portal_tests/accounting_zuite/test_accounts/test_account_transaction_list_from_date.html.xml index f318a61705..a9262fb412 100644 --- a/bt5/erp5_accounting_ui_test/PathTemplateItem/portal_tests/accounting_zuite/test_accounts/test_account_transaction_list_from_date.html.xml +++ b/bt5/erp5_accounting_ui_test/PathTemplateItem/portal_tests/accounting_zuite/test_accounts/test_account_transaction_list_from_date.html.xml @@ -3,11 +3,8 @@ <record id="1" aka="AAAAAAAAAAE="> <pickle> <tuple> - <tuple> - <string>Products.PageTemplates.ZopePageTemplate</string> - <string>ZopePageTemplate</string> - </tuple> - <none/> + <global name="ZopePageTemplate" module="Products.PageTemplates.ZopePageTemplate"/> + <tuple/> </tuple> </pickle> <pickle> @@ -96,12 +93,6 @@ Test Transactions related to an account, with from date parameter\n <td>Base_edit:method</td>\n <td></td>\n </tr>\n -<!-- XXX manually clear the cache ? -->\n -<tr>\n - <td>clickAndWait</td>\n - <td>//button[@title=\'Select Language\']</td>\n - <td></td>\n -</tr>\n <tr>\n <td>selectAndWait</td>\n <td>select_module</td>\n @@ -252,12 +243,6 @@ client 1 invoice or client 2 invoice will have the first uid. -->\n <td>Base_edit:method</td>\n <td></td>\n </tr>\n -<!-- XXX manually clear the cache ? -->\n -<tr>\n - <td>clickAndWait</td>\n - <td>//button[@title=\'Select Language\']</td>\n - <td></td>\n -</tr>\n <!-- }}} -->\n \n \n diff --git a/bt5/erp5_accounting_ui_test/PathTemplateItem/portal_tests/accounting_zuite/test_bank_accounts/test_bank_account_transaction_list_at_date.html.xml b/bt5/erp5_accounting_ui_test/PathTemplateItem/portal_tests/accounting_zuite/test_bank_accounts/test_bank_account_transaction_list_at_date.html.xml index 98f3d17263..c6136bece5 100644 --- a/bt5/erp5_accounting_ui_test/PathTemplateItem/portal_tests/accounting_zuite/test_bank_accounts/test_bank_account_transaction_list_at_date.html.xml +++ b/bt5/erp5_accounting_ui_test/PathTemplateItem/portal_tests/accounting_zuite/test_bank_accounts/test_bank_account_transaction_list_at_date.html.xml @@ -3,11 +3,8 @@ <record id="1" aka="AAAAAAAAAAE="> <pickle> <tuple> - <tuple> - <string>Products.PageTemplates.ZopePageTemplate</string> - <string>ZopePageTemplate</string> - </tuple> - <none/> + <global name="ZopePageTemplate" module="Products.PageTemplates.ZopePageTemplate"/> + <tuple/> </tuple> </pickle> <pickle> @@ -90,12 +87,6 @@ Test Transactions related to an Organisation, with stop date\n <td>Base_edit:method</td>\n <td></td>\n </tr>\n -<!-- XXX manually clear the cache ? -->\n -<tr>\n - <td>clickAndWait</td>\n - <td>//button[@title=\'Select Language\']</td>\n - <td></td>\n -</tr>\n \n <tr>\n <td>selectAndWait</td>\n @@ -201,12 +192,6 @@ balance. -->\n <td>Base_edit:method</td>\n <td></td>\n </tr>\n -<!-- XXX manually clear the cache ? -->\n -<tr>\n - <td>clickAndWait</td>\n - <td>//button[@title=\'Select Language\']</td>\n - <td></td>\n -</tr>\n <!-- }}} -->\n \n </tbody></table>\n diff --git a/bt5/erp5_accounting_ui_test/PathTemplateItem/portal_tests/accounting_zuite/test_entities/test_organisation_transaction_list_at_date.html.xml b/bt5/erp5_accounting_ui_test/PathTemplateItem/portal_tests/accounting_zuite/test_entities/test_organisation_transaction_list_at_date.html.xml index 3e3f5cc2f2..113dd8f240 100644 --- a/bt5/erp5_accounting_ui_test/PathTemplateItem/portal_tests/accounting_zuite/test_entities/test_organisation_transaction_list_at_date.html.xml +++ b/bt5/erp5_accounting_ui_test/PathTemplateItem/portal_tests/accounting_zuite/test_entities/test_organisation_transaction_list_at_date.html.xml @@ -3,11 +3,8 @@ <record id="1" aka="AAAAAAAAAAE="> <pickle> <tuple> - <tuple> - <string>Products.PageTemplates.ZopePageTemplate</string> - <string>ZopePageTemplate</string> - </tuple> - <none/> + <global name="ZopePageTemplate" module="Products.PageTemplates.ZopePageTemplate"/> + <tuple/> </tuple> </pickle> <pickle> @@ -90,12 +87,6 @@ Test Transactions related to an Organisation, with stop date\n <td>Base_edit:method</td>\n <td></td>\n </tr>\n -<!-- XXX manually clear the cache ? -->\n -<tr>\n - <td>clickAndWait</td>\n - <td>//button[@title=\'Select Language\']</td>\n - <td></td>\n -</tr>\n \n <tr>\n <td>selectAndWait</td>\n @@ -201,12 +192,6 @@ balance. -->\n <td>Base_edit:method</td>\n <td></td>\n </tr>\n -<!-- XXX manually clear the cache ? -->\n -<tr>\n - <td>clickAndWait</td>\n - <td>//button[@title=\'Select Language\']</td>\n - <td></td>\n -</tr>\n <!-- }}} -->\n \n </tbody></table>\n diff --git a/bt5/erp5_accounting_ui_test/PathTemplateItem/portal_tests/accounting_zuite/test_entities/test_organisation_transaction_list_from_date.html.xml b/bt5/erp5_accounting_ui_test/PathTemplateItem/portal_tests/accounting_zuite/test_entities/test_organisation_transaction_list_from_date.html.xml index e5b9d3351f..047d6f1268 100644 --- a/bt5/erp5_accounting_ui_test/PathTemplateItem/portal_tests/accounting_zuite/test_entities/test_organisation_transaction_list_from_date.html.xml +++ b/bt5/erp5_accounting_ui_test/PathTemplateItem/portal_tests/accounting_zuite/test_entities/test_organisation_transaction_list_from_date.html.xml @@ -87,12 +87,6 @@ Test Transactions related to an Organisation, with start date\n <td>Base_edit:method</td>\n <td></td>\n </tr>\n -<!-- XXX manually clear the cache ? -->\n -<tr>\n - <td>clickAndWait</td>\n - <td>//button[@title=\'Select Language\']</td>\n - <td></td>\n -</tr>\n \n <tr>\n <td>selectAndWait</td>\n @@ -337,12 +331,6 @@ Test Transactions related to an Organisation, with start date\n <td>Base_edit:method</td>\n <td></td>\n </tr>\n -<!-- XXX manually clear the cache ? -->\n -<tr>\n - <td>clickAndWait</td>\n - <td>//button[@title=\'Select Language\']</td>\n - <td></td>\n -</tr>\n <!-- }}} -->\n \n </tbody></table>\n diff --git a/bt5/erp5_accounting_ui_test/bt/revision b/bt5/erp5_accounting_ui_test/bt/revision index c4fbb1cfac..d97edbb29f 100644 --- a/bt5/erp5_accounting_ui_test/bt/revision +++ b/bt5/erp5_accounting_ui_test/bt/revision @@ -1 +1 @@ -97 \ No newline at end of file +99 \ No newline at end of file -- 2.30.9