status-desktop/test/e2e/helpers/SettingsHelper.py

7 lines
305 B
Python
Raw Normal View History

2024-09-08 07:33:42 +00:00
from allure_commons._allure import step
with step('Set testnet mode'):
def enable_testnet_mode(main_window):
wallet_settings = main_window.left_panel.open_settings().left_panel.open_wallet_settings()
2024-10-10 10:26:23 +00:00
wallet_settings.open_networks().switch_testnet_mode_toggle().turn_on_button.click()