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

13 lines
549 B
Python
Raw Permalink 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()
def enable_community_creation(main_screen):
with step('Enable creation of community option'):
settings = main_screen.left_panel.open_settings()
settings.left_panel.open_advanced_settings().enable_creation_of_communities()