[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.
This commit is contained in:
Christophe Monniez
2019-09-16 13:28:30 +00:00
committed by Xavier-Do
parent be5d48ef1d
commit 698a68614c
+1 -1
View File
@@ -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)