Awkward passwords for a password field
get_password_variantsLists passwords for testing what the app under test does with its password field, within the field's rules (min_length, max_length, symbols): accept (exactly the minimum and the maximum, each symbol class including quotes, a backslash and a space, non-ASCII letters: the app should take them, and sign the account in with them afterwards), reject (one under the minimum, one over the maximum, a symbol where none are allowed) and decide (only digits, only lower case, a space at the start or end, an emoji, composed and decomposed accents, and when the maximum is over 72 a pair sharing their first 72 bytes, which bcrypt stops at: apps differ, so note what the app did). Each call makes fresh passwords. Set one with the form, then check signing in with it works; for the composed and decomposed pair, set one and sign in with the other.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbols | No | Whether the field allows symbols. | |
| max_length | No | The field's maximum length. | |
| min_length | No | The field's minimum length. |