status-desktop/test/ui-test/testSuites/suite_status/shared/steps/loginSteps.py

13 lines
345 B
Python
Raw Normal View History

from screens.StatusLoginScreen import StatusLoginScreen
_loginScreen = StatusLoginScreen()
@When("the user logs in with password |any|")
def step(context, password):
_loginScreen.login(password)
@Then("the user is NOT able to login to Status Desktop application")
def step(context):
_loginScreen.verify_error_message_is_displayed()