mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-09 05:52:41 +00:00
15 lines
403 B
Python
15 lines
403 B
Python
from pathlib import Path
|
|
import sys
|
|
from screens.StatusWelcomeScreen import CreatePasswordView
|
|
|
|
_welcome_screen = CreatePasswordView()
|
|
|
|
|
|
@When('the user inputs the password \"|any|\"')
|
|
def step(context, password):
|
|
_welcome_screen.new_password = str(password)
|
|
|
|
|
|
@Then("the password strength indicator is \"|any|\"")
|
|
def step(context, strength):
|
|
_welcomeScreen.validate_password_strength(strength) |