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

30 lines
1.4 KiB
Gherkin

#******************************************************************************
# Status.im
#*****************************************************************************/
#/**
# * \file test.feature
# *
# * \test Status Sign up
# * \date August 2022
# **
# *****************************************************************************/
Feature: Password strength validation including UI pixel-perfect validation
Scenario Outline: As a user I want to see the strength of the password
Given A first time user lands on the status desktop and generates new key
When the user inputs username <username>
When user inputs the following <password> with ui-component onboarding_newPsw_Input
Then the password strength indicator is <strength>
Examples:
| username | password | strength |
| tester123 | abc | lower_very_weak |
| tester124 | ABC | upper_very_weak |
| tester124 | 123 | numbers_very_weak |
| tester124 | +_! | symbols_very_weak |
| tester124 | +1_3!48 | numbers_symbols_weak |
| tester124 | +1_3!48a | numbers_symbols_lower_so-so |
| tester124 | +1_3!48aT | numbers_symbols_lower_upper_good |
| tester124 | +1_3!48aTq | numbers_symbols_lower_upper_great |