[FIX] website_portal: wait for tour to be ready

Commit 3d0cc2d6d2 introduced a new tour
but the test which launches it did not wait for it to be ready. For
unknown reasons, this seemed to never induce any problem... until now.
This commit is contained in:
qsm-odoo
2017-07-27 14:31:42 +02:00
parent 16f0e50318
commit 71eddcd11e
@@ -10,7 +10,6 @@ class TestUi(odoo.tests.HttpCase):
self.phantom_js(
"/",
"odoo.__DEBUG__.services['web_tour.tour'].run('portal_load_homepage')",
"",
"odoo.__DEBUG__.services['web_tour.tour'].tours.portal_load_homepage.ready",
login="portal"
)