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()
|
2024-11-12 08:43:14 +00:00
|
|
|
|
|
|
|
|
|
|
|
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()
|