13 lines
345 B
Python
13 lines
345 B
Python
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()
|