summaryrefslogtreecommitdiff
path: root/tests/test_website_form_editor.py
diff options
context:
space:
mode:
authorChristophe Matthieu <chm@odoo.com>2016-08-31 16:05:27 +0200
committerqsm-odoo <qsm@odoo.com>2016-09-02 17:38:12 +0100
commitfaebb4a1e2802a5f90fc8b24dbabe72dd75f39ef (patch)
tree812537fd154bf90d946e124b866aa3f26f6291a6 /tests/test_website_form_editor.py
parentd4e85297213f39a38d64a01df2394172698b4dbf (diff)
[IMP] website_form_editor: convert test to web_tour
Diffstat (limited to 'tests/test_website_form_editor.py')
-rw-r--r--tests/test_website_form_editor.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_website_form_editor.py b/tests/test_website_form_editor.py
index a15147158ed..ea78099a7f5 100644
--- a/tests/test_website_form_editor.py
+++ b/tests/test_website_form_editor.py
@@ -8,6 +8,6 @@ import odoo.tests
@odoo.tests.common.post_install(True)
class TestWebsiteFormEditor(odoo.tests.HttpCase):
def test_tour(self):
- self.phantom_js("/", "odoo.__DEBUG__.services['web.Tour'].run('website_form_editor_tour', 'test')", "odoo.__DEBUG__.services['web.Tour'].tours.website_form_editor_tour", login="admin")
- self.phantom_js("/", "odoo.__DEBUG__.services['web.Tour'].run('website_form_editor_tour_submit', 'test')", "odoo.__DEBUG__.services['web.Tour'].tours.website_form_editor_tour_submit")
- self.phantom_js("/", "odoo.__DEBUG__.services['web.Tour'].run('website_form_editor_tour_results', 'test')", "odoo.__DEBUG__.services['web.Tour'].tours.website_form_editor_tour_results", login="admin")
+ 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")