From 698a68614c294bdf20de738589c3d85aab50ec46 Mon Sep 17 00:00:00 2001 From: Christophe Monniez Date: Thu, 12 Sep 2019 12:09:49 +0000 Subject: [PATCH] [FIX] website: move rte_translator test to post install When executing test on an existing database with other module installed, browser_js test tends to crach because not all models are available in registry. A wip will force all js test to be executed in post_install. This will also have a side effect that make rte_translator test fail randomly more often since more module are installed, fix is done in next commits. --- addons/website/tests/test_ui.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/website/tests/test_ui.py b/addons/website/tests/test_ui.py index dd2171276f5..923ee7a098e 100644 --- a/addons/website/tests/test_ui.py +++ b/addons/website/tests/test_ui.py @@ -83,7 +83,7 @@ class TestUiHtmlEditor(odoo.tests.HttpCase): def test_html_editor_scss(self): self.start_tour("/", 'test_html_editor_scss', login='admin') - +@odoo.tests.tagged('-at_install', 'post_install') class TestUiTranslate(odoo.tests.HttpCase): def test_admin_tour_rte_translator(self): self.start_tour("/", 'rte_translator', login='admin', timeout=120)