From 1b8b76cf7a805aa57d2bf15b3ecfe023c0694933 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Theys?= Date: Tue, 2 Apr 2019 08:45:41 +0000 Subject: [PATCH] [IMP] tests, *: add start_tour helper Enterprise counterpart of https://github.com/odoo/odoo/pull/32316 closes odoo/enterprise#3987 Signed-off-by: Christophe Monniez (moc) --- tests/test_website_form_editor.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test_website_form_editor.py b/tests/test_website_form_editor.py index df3378fd7b8..0bb993cb051 100644 --- a/tests/test_website_form_editor.py +++ b/tests/test_website_form_editor.py @@ -7,6 +7,6 @@ import odoo.tests @odoo.tests.tagged('post_install','-at_install') class TestWebsiteFormEditor(odoo.tests.HttpCase): def test_tour(self): - self.phantom_js("/", "odoo.__DEBUG__.services['web_tour.tour'].run('website_form_editor_tour')", "odoo.__DEBUG__.services['web_tour.tour'].tours.website_form_editor_tour.ready", login="admin") - self.phantom_js("/", "odoo.__DEBUG__.services['web_tour.tour'].run('website_form_editor_tour_submit')", "odoo.__DEBUG__.services['web_tour.tour'].tours.website_form_editor_tour_submit.ready") - self.phantom_js("/", "odoo.__DEBUG__.services['web_tour.tour'].run('website_form_editor_tour_results')", "odoo.__DEBUG__.services['web_tour.tour'].tours.website_form_editor_tour_results.ready", login="admin") + self.start_tour("/", 'website_form_editor_tour', login="admin") + self.start_tour("/", 'website_form_editor_tour_submit') + self.start_tour("/", 'website_form_editor_tour_results', login="admin")