1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-22 07:28:10 +00:00

tests/click: fix test_recovery

This commit is contained in:
Tomas Susanka 2019-10-24 07:51:03 +00:00
parent 322417d9ed
commit c3d13f41a4

View File

@ -49,8 +49,8 @@ def test_recovery(device_handler):
assert layout.text == "WordSelector"
# click "20" at 2, 2
coords = buttons.grid34(2, 2)
lines = debug.click(coords, wait=True)
layout = " ".join(lines)
layout = debug.click(coords, wait=True)
assert "Enter any share" in layout.text
expected_text = "Enter any share (20 words)"
remaining = len(MNEMONIC_SLIP39_BASIC_20_3of6)