# -*- coding: utf-8 -*- # Copyright 2019 Kolushov Alexandr # License MIT (https://opensource.org/licenses/MIT). 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', 500)", "odoo.__DEBUG__.services['web_tour.tour'].tours.pos_keyboard_tour.ready", login="admin", )