The test begins by opening the webclient which default view is the kanban view of the apps. However, by running this test at the web module installation, web_kanban is not yet installed.
14 lines
499 B
Python
14 lines
499 B
Python
import openerp.tests
|
|
|
|
|
|
class TestUi(openerp.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')
|