1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-16 11:28:14 +00:00

fix(tests): assert multiple in slip39 checklist

This commit is contained in:
obrusvit 2024-10-14 12:38:44 +02:00 committed by matejcik
parent e199d2bcaf
commit a22f1d3760

View File

@ -88,8 +88,13 @@ def test_reset_slip39_advanced(
reset.set_selection(debug, buttons.reset_plus(model_name), group_count - 5)
# confirm checklist
TR.assert_in(
debug.read_layout().text_content(), "reset__slip39_checklist_set_threshold"
TR.assert_in_multiple(
debug.read_layout().text_content(),
[
"reset__slip39_checklist_set_threshold", # basic
"reset__slip39_checklist_set_num_shares", # advanced (model_tt, mercury)
"reset__slip39_checklist_num_shares", # advanced (model_tr)
],
)
reset.confirm_read(debug)