test(tst_mainSettingsSection): remove hover action

This commit is contained in:
Anastasiya S 2023-04-18 16:38:57 +03:00 committed by Anastasiya Semenkevich
parent da1839fbbb
commit cc9fb9935e
1 changed files with 1 additions and 2 deletions

View File

@ -417,9 +417,8 @@ class SettingsScreen:
started_at = time.monotonic()
while wait_for_is_visible(BackupSeedPhrasePopup.REVEAL_SEED_PHRASE_BUTTON.value, verify=False):
try:
hover(BackupSeedPhrasePopup.REVEAL_SEED_PHRASE_BUTTON.value)
click_obj_by_name(BackupSeedPhrasePopup.REVEAL_SEED_PHRASE_BUTTON.value)
except (LookupError, RuntimeError):
except (LookupError, RuntimeError) as error:
pass
if time.monotonic() - started_at > 10:
raise RuntimeError('Reveal seed phrase button not clicked')