oca-ocb-sale/odoo-bringout-oca-ocb-sale_management/sale_management/tests/test_sale_ui.py
2025-08-29 15:20:49 +02:00

19 lines
823 B
Python

# Part of Odoo. See LICENSE file for full copyright and licensing details.
from odoo.addons.account.tests.common import AccountTestInvoicingCommon
from odoo.tests.common import tagged, HttpCase
@tagged('post_install', '-at_install')
class TestUi(AccountTestInvoicingCommon, HttpCase):
def test_01_sale_tour(self):
self.start_tour("/web", 'sale_tour', login="admin", step_delay=100)
def test_02_sale_tour_company_onboarding_done(self):
self.env.company.set_onboarding_step_done('base_onboarding_company_state')
self.start_tour("/web", 'sale_tour', login="admin", step_delay=100)
def test_03_sale_quote_tour(self):
self.env['res.partner'].create({'name': 'Agrolait', 'email': 'agro@lait.be'})
self.start_tour("/web", 'sale_quote_tour', login="admin", step_delay=100)