Small visual changes that should improve the user experience. The loading demo data popup has been moved to the backend. Created an Alert Popup that is less aggressive than an Error Popup closes odoo/odoo#83780 Task-id: 2485062 Related: odoo/enterprise#26104 Signed-off-by: Masereel Pierre <pim@odoo.com>
21 lines
724 B
Python
21 lines
724 B
Python
# -*- coding: utf-8 -*-
|
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
from odoo.tests import tagged, HttpCase
|
|
|
|
|
|
@tagged("post_install", "-at_install")
|
|
class WebSuite(HttpCase):
|
|
def setUp(self):
|
|
super().setUp()
|
|
env = self.env(user=self.env.ref('base.user_admin'))
|
|
self.main_pos_config = env.ref('point_of_sale.pos_config_main')
|
|
|
|
def test_pos_js(self):
|
|
# open a session, the /pos/ui controller will redirect to it
|
|
self.main_pos_config.open_ui()
|
|
self.main_pos_config.current_session_id.set_cashbox_pos(0, None)
|
|
|
|
# point_of_sale desktop test suite
|
|
self.browser_js("/pos/ui/tests?mod=web", "", "", login="admin", timeout=1800)
|