Files
odoo_source/addons/web_editor/tests/test_ui.py
T

17 lines
593 B
Python

# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
import odoo.tests
class TestUi(odoo.tests.HttpCase):
post_install = True
at_install = False
def test_01_admin_rte(self):
self.phantom_js("/web", "odoo.__DEBUG__.services['web.Tour'].run('rte', 'test')", "odoo.__DEBUG__.services['web.Tour'].tours.rte", login='admin')
def test_02_admin_rte_inline(self):
self.phantom_js("/web", "odoo.__DEBUG__.services['web.Tour'].run('rte_inline', 'test')", "odoo.__DEBUG__.services['web.Tour'].tours.rte", login='admin')