2022-06-29 01:12:35 +00:00
|
|
|
|
|
|
|
from screens.StatusMainScreen import StatusMainScreen
|
|
|
|
from screens.SettingsScreen import SettingsScreen
|
|
|
|
|
|
|
|
_statusMain = StatusMainScreen()
|
|
|
|
_settingsScreen =SettingsScreen()
|
|
|
|
|
|
|
|
|
|
|
|
@When("the user opens app settings screen")
|
2022-07-07 23:56:21 +00:00
|
|
|
def step(context: any):
|
2022-06-29 01:12:35 +00:00
|
|
|
_statusMain.open_settings()
|
|
|
|
|
|
|
|
|
2022-07-07 23:56:21 +00:00
|
|
|
@When("the user activates wallet and opens the wallets section")
|
|
|
|
def step(context: any):
|
|
|
|
_settingsScreen.activate_open_wallet_section()
|
|
|
|
|
|
|
|
@Then("the |any| seed phrase address is |any| displayed in the wallet")
|
|
|
|
def step(context: any, phrase :str, address: str):
|
|
|
|
_settingsScreen.verify_address(phrase, address)
|
|
|
|
|