mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-18 12:28:09 +00:00
tests(core): fix T3T1 default flow
This commit is contained in:
parent
cca066c476
commit
8c9f5ebbca
@ -827,7 +827,7 @@ class DebugUI:
|
||||
layout = self.debuglink.read_layout()
|
||||
if "PromptScreen" in layout.all_components():
|
||||
self.debuglink.press_yes()
|
||||
elif "swipe up" in layout.footer().lower():
|
||||
elif "SwipeContent" in layout.all_components():
|
||||
self.debuglink.swipe_up()
|
||||
else:
|
||||
self.debuglink.press_yes()
|
||||
|
@ -2286,7 +2286,9 @@ class InputFlowConfirmAllWarnings(InputFlowBase):
|
||||
self.debug.click(buttons.CORNER_BUTTON, wait=True)
|
||||
self.debug.synchronize_at("VerticalMenu")
|
||||
self.debug.click(buttons.VERTICAL_MENU[1])
|
||||
elif "swipe up" in layout.footer().lower():
|
||||
elif "PromptScreen" in layout.all_components():
|
||||
self.debug.press_yes()
|
||||
elif "SwipeContent" in layout.all_components():
|
||||
self.debug.swipe_up()
|
||||
else:
|
||||
self.debug.press_yes()
|
||||
|
Loading…
Reference in New Issue
Block a user