flectra/addons/portal/tests/test_load_process.py
2018-01-16 02:34:37 -08:00

16 lines
548 B
Python

# -*- coding: utf-8 -*-
# Part of Odoo, Flectra. See LICENSE file for full copyright and licensing details.
import flectra.tests
@flectra.tests.common.at_install(False)
@flectra.tests.common.post_install(True)
class TestUi(flectra.tests.HttpCase):
def test_01_portal_load_tour(self):
self.phantom_js(
"/",
"flectra.__DEBUG__.services['web_tour.tour'].run('portal_load_homepage')",
"flectra.__DEBUG__.services['web_tour.tour'].tours.portal_load_homepage.ready",
login="portal"
)