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")