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.

14 lines
511 B

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