23 lines
796 B
Python
23 lines
796 B
Python
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
# -*- coding: utf-8 -*-
|
|
|
|
from odoo.tests import tagged, HttpCase, no_retry
|
|
|
|
|
|
@no_retry
|
|
@tagged('post_install', '-at_install')
|
|
class TestIndustryFsmUi(HttpCase):
|
|
def test_ui(self):
|
|
# Disable onboarding tours as they can conflict with our running tours.
|
|
self.env.ref('base.user_admin').write({
|
|
'email': '[email protected]',
|
|
})
|
|
if (Worksheet := self.env.get('worksheet.template')) is not None:
|
|
Worksheet.create({
|
|
'name': 'Test Worksheet',
|
|
'res_model': 'project.task',
|
|
})
|
|
|
|
self.start_tour("/odoo", 'industry_fsm_tour', login="admin")
|
|
self.start_tour('/odoo', 'fsm_task_form_tour', login="admin")
|