1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-01-23 05:40:57 +00:00

fix(tests): fix and re-enable broken tests

This commit is contained in:
matejcik 2023-03-20 15:23:27 +01:00 committed by matejcik
parent 0c4c229c50
commit 160addce4b

View File

@ -71,7 +71,6 @@ def test_show_t1(
)
@pytest.mark.skip(reason="mmilata")
@pytest.mark.skip_t1
@pytest.mark.parametrize("path, script_type, address", VECTORS)
def test_show_tt(
@ -79,12 +78,12 @@ def test_show_tt(
):
def input_flow():
yield
client.debug.click(CORNER_BUTTON, wait=True)
client.debug.click(CORNER_BUTTON)
yield
client.debug.swipe_left(wait=True)
client.debug.swipe_right(wait=True)
client.debug.swipe_left(wait=True)
client.debug.click(CORNER_BUTTON, wait=True)
client.debug.click(CORNER_BUTTON)
yield
client.debug.press_no()
yield
@ -106,7 +105,6 @@ def test_show_tt(
)
@pytest.mark.skip(reason="mmilata")
@pytest.mark.skip_t1
@pytest.mark.parametrize("path, script_type, address", VECTORS)
def test_show_cancel(
@ -114,10 +112,10 @@ def test_show_cancel(
):
def input_flow():
yield
client.debug.click(CORNER_BUTTON, wait=True)
client.debug.click(CORNER_BUTTON)
yield
client.debug.swipe_left(wait=True)
client.debug.click(CORNER_BUTTON, wait=True)
client.debug.click(CORNER_BUTTON)
yield
client.debug.press_no()
yield