summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorqsm-odoo <qsm@odoo.com>2017-07-27 13:18:04 +0200
committerqsm-odoo <qsm@odoo.com>2017-07-27 14:31:42 +0200
commit71eddcd11edfaf5a88f84ca86d75aab16416ff7d (patch)
treee47afab7e48c6590a0df553609961634c45d889d
parent16f0e5031835765dcfed84a250119ea0f15eb30a (diff)
[FIX] website_portal: wait for tour to be ready
Commit 3d0cc2d6d2dbd567cfaa93de4cb90787d0c07c9e 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.
-rw-r--r--addons/website_portal/tests/test_load_process.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/addons/website_portal/tests/test_load_process.py b/addons/website_portal/tests/test_load_process.py
index 25b139e6dfc..344d8bec7a9 100644
--- a/addons/website_portal/tests/test_load_process.py
+++ b/addons/website_portal/tests/test_load_process.py
@@ -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"
)
-