Noelia 10f34d0610 test(onboarding): Screenshot based testing POC, validating password strength
- Added new test case `tst_passwordStrength` in `suite_onboarding` that uses squish screenshot validation.
- Added verification points (mac OS) for some password strength validations, using pixel comparison and some minor percentage of failure / color precision allowed.

Closes #7003
2022-08-23 12:07:36 +02:00

7 lines
235 B
Python

from screens.StatusWelcomeScreen import StatusWelcomeScreen
_welcomeScreen = StatusWelcomeScreen()
@Then("the password strength indicator is |any|")
def step(context, strength):
_welcomeScreen.validate_password_strength(strength)