You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
746 B
18 lines
746 B
# -*- coding: utf-8 -*-
|
|
# Copyright 2019 Kolushov Alexandr <https://it-projects.info/team/kolushovalexandr>
|
|
# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html).
|
|
|
|
import odoo.tests
|
|
|
|
|
|
@odoo.tests.common.at_install(True)
|
|
@odoo.tests.common.post_install(True)
|
|
class TestUi(odoo.tests.HttpCase):
|
|
|
|
def test_pos_keyboard(self):
|
|
# without a delay there might be problems on the steps whilst opening a POS
|
|
# caused by a not yet loaded button's action
|
|
self.phantom_js("/web",
|
|
"odoo.__DEBUG__.services['web_tour.tour'].run('pos_keyboard_tour', 100)",
|
|
"odoo.__DEBUG__.services['web_tour.tour'].tours.pos_keyboard_tour.ready",
|
|
login="admin")
|