2018-01-16 06:58:15 +01:00
|
|
|
# -*- coding: utf-8 -*-
|
2018-01-16 11:34:37 +01:00
|
|
|
# Part of Odoo, Flectra. See LICENSE file for full copyright and licensing details.
|
2018-01-16 06:58:15 +01:00
|
|
|
|
2018-01-16 11:34:37 +01:00
|
|
|
import flectra.tests
|
2018-01-16 06:58:15 +01:00
|
|
|
|
2018-01-16 11:34:37 +01:00
|
|
|
@flectra.tests.common.at_install(False)
|
|
|
|
@flectra.tests.common.post_install(True)
|
|
|
|
class TestUi(flectra.tests.HttpCase):
|
2018-01-16 06:58:15 +01:00
|
|
|
|
|
|
|
post_install = True
|
|
|
|
at_install = False
|
|
|
|
|
|
|
|
def test_01_admin_rte(self):
|
2018-01-16 11:34:37 +01:00
|
|
|
self.phantom_js("/web", "flectra.__DEBUG__.services['web_tour.tour'].run('rte')", "flectra.__DEBUG__.services['web_tour.tour'].tours.rte.ready", login='admin')
|
2018-01-16 06:58:15 +01:00
|
|
|
|
|
|
|
def test_02_admin_rte_inline(self):
|
2018-01-16 11:34:37 +01:00
|
|
|
self.phantom_js("/web", "flectra.__DEBUG__.services['web_tour.tour'].run('rte_inline')", "flectra.__DEBUG__.services['web_tour.tour'].tours.rte_inline.ready", login='admin')
|