2022-06-16 22:54:13 +00:00
|
|
|
from screens.StatusLoginScreen import StatusLoginScreen
|
|
|
|
|
|
|
|
_loginScreen = StatusLoginScreen()
|
|
|
|
|
|
|
|
|
|
|
|
@When("the user logs in with password |any|")
|
|
|
|
def step(context, password):
|
|
|
|
_loginScreen.login(password)
|
2022-05-26 15:00:00 +00:00
|
|
|
|
|
|
|
@Then("the user is NOT able to login to Status Desktop application")
|
|
|
|
def step(context):
|
2022-06-17 09:17:02 +00:00
|
|
|
_loginScreen.verify_error_message_is_displayed()
|