You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
535 B

  1. # -*- coding: utf-8 -*-
  2. # Copyright 2016-2017 Jairo Llopis <jairo.llopis@tecnativa.com>
  3. # License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl).
  4. from odoo.tests.common import HttpCase
  5. class UICase(HttpCase):
  6. def test_ui(self):
  7. """Test snippet behavior."""
  8. base = "odoo.__DEBUG__.services['web_tour.tour'].%s"
  9. run = base % "run('%s')"
  10. ready = base % "tours.%s.ready"
  11. tour = "mass_mailing_name_editor_and_public"
  12. self.phantom_js("/", run % tour, ready % tour, login="admin")