mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-08-01 11:28:20 +00:00
tests/click: fix test_recovery
This commit is contained in:
parent
322417d9ed
commit
c3d13f41a4
@ -49,8 +49,8 @@ def test_recovery(device_handler):
|
|||||||
assert layout.text == "WordSelector"
|
assert layout.text == "WordSelector"
|
||||||
# click "20" at 2, 2
|
# click "20" at 2, 2
|
||||||
coords = buttons.grid34(2, 2)
|
coords = buttons.grid34(2, 2)
|
||||||
lines = debug.click(coords, wait=True)
|
layout = debug.click(coords, wait=True)
|
||||||
layout = " ".join(lines)
|
assert "Enter any share" in layout.text
|
||||||
|
|
||||||
expected_text = "Enter any share (20 words)"
|
expected_text = "Enter any share (20 words)"
|
||||||
remaining = len(MNEMONIC_SLIP39_BASIC_20_3of6)
|
remaining = len(MNEMONIC_SLIP39_BASIC_20_3of6)
|
||||||
|
Loading…
Reference in New Issue
Block a user