Skip to content

Commit

Permalink
User screen check
Browse files Browse the repository at this point in the history
  • Loading branch information
3v1n0 committed Oct 16, 2024
1 parent 574fb32 commit 2adcdc2
Show file tree
Hide file tree
Showing 29 changed files with 33 additions and 33 deletions.
2 changes: 1 addition & 1 deletion pam/integration-tests/testdata/tapes/cli/bad_password.tape
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Show

Hide
Type "user-needs-reset"
Wait /Username: user-needs-reset$/
Wait+Screen /Username: user-needs-reset\n/
Show

Hide
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Show

Hide
Type "user-integration-form-w-button"
Wait /Username: user-integration-form-w-button$/
Wait+Screen /Username: user-integration-form-w-button\n/
Show

Hide
Expand Down
2 changes: 1 addition & 1 deletion pam/integration-tests/testdata/tapes/cli/local_broker.tape
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Show

Hide
Type "user-local-broker"
Wait /Username: user-local-broker$/
Wait+Screen /Username: user-local-broker\n/
Show

Hide
Expand Down
2 changes: 1 addition & 1 deletion pam/integration-tests/testdata/tapes/cli/local_group.tape
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Show

Hide
Type "user-local-groups"
Wait /Username: user-local-groups$/
Wait+Screen /Username: user-local-groups\n/
Show

Hide
Expand Down
2 changes: 1 addition & 1 deletion pam/integration-tests/testdata/tapes/cli/local_user.tape
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Show

Hide
Type "root"
Wait /Username: root$/
Wait+Screen /Username: root\n/
Show

Hide
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Show

Hide
Type "user-needs-reset-integration-mandatory"
Wait /Username: user-needs-reset-integration-mandatory$/
Wait+Screen /Username: user-needs-reset-integration-mandatory\n/
Show

Hide
Expand Down
2 changes: 1 addition & 1 deletion pam/integration-tests/testdata/tapes/cli/max_attempts.tape
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Show

Hide
Type "user-integration-max-attempts"
Wait /Username: user-integration-max-attempts$/
Wait+Screen /Username: user-integration-max-attempts\n/
Show

Hide
Expand Down
2 changes: 1 addition & 1 deletion pam/integration-tests/testdata/tapes/cli/mfa_auth.tape
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Show

Hide
Type "user-mfa"
Wait /Username: user-mfa$/
Wait+Screen /Username: user-mfa\n/
Show

Hide
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Show

Hide
Type "user-mfa-with-reset"
Wait /Username: user-mfa-with-reset$/
Wait+Screen /Username: user-mfa-with-reset\n/
Show

Hide
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Show

Hide
Type "user-can-reset"
Wait /Username: user-can-reset$/
Wait+Screen /Username: user-can-reset\n/
Show

Hide
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Show

Hide
Type "user-integration-max-attempts"
Wait /Username: user-integration-max-attempts$/
Wait+Screen /Username: user-integration-max-attempts\n/
Show

Hide
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Show

Hide
Type "user-integration-bad-password"
Wait /Username: user-integration-bad-password$/
Wait+Screen /Username: user-integration-bad-password\n/
Show

Hide
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Show

Hide
Type "user-local-broker"
Wait /Username: user-local-broker$/
Wait+Screen /Username: user-local-broker\n/
Show

Hide
Expand Down
2 changes: 1 addition & 1 deletion pam/integration-tests/testdata/tapes/cli/passwd_mfa.tape
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Show

Hide
Type "user-mfa"
Wait /Username: user-mfa$/
Wait+Screen /Username: user-mfa\n/
Show

Hide
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Show

Hide
Type "user-integration-same-new-password"
Wait /Username: user-integration-same-new-password$/
Wait+Screen /Username: user-integration-same-new-password\n/
Show

Hide
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Show

Hide
Type "user-integration-wrong-confirmation"
Wait /Username: user-integration-wrong-confirmation$/
Wait+Screen /Username: user-integration-wrong-confirmation\n/
Show

Hide
Expand Down
4 changes: 2 additions & 2 deletions pam/integration-tests/testdata/tapes/cli/passwd_rejected.tape
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Show

Hide
Type "user-integration-invalid-new-password"
Wait /Username: user-integration-invalid-new-password$/
Wait+Screen /Username: user-integration-invalid-new-password\n/
Show

Hide
Expand Down Expand Up @@ -75,7 +75,7 @@ Show

Hide
Type "user-integration-invalid-new-password"
Wait /Username: user-integration-invalid-new-password$/
Wait+Screen /Username: user-integration-invalid-new-password\n/
Show

Hide
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Show

Hide
Type "user-integration-sigint"
Wait /Username: user-integration-sigint$/
Wait+Screen /Username: user-integration-sigint\n/
Show

Hide
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Show

Hide
Type "user1"
Wait /Username: user1$/
Wait+Screen /Username: user1\n/
Show

Hide
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Show

Hide
Type "user-unexistent"
Wait /Username: user-unexistent$/
Wait+Screen /Username: user-unexistent\n/
Show

Hide
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Show

Hide
Type "user-integration-qrcode-static-regenerate"
Wait /Username: user-integration-qrcode-static-regenerate$/
Wait+Screen /Username: user-integration-qrcode-static-regenerate\n/
Show

Hide
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Show

Hide
Type "user-integration-remember-mode"
Wait /Username: user-integration-remember-mode$/
Wait+Screen /Username: user-integration-remember-mode\n/
Show

Hide
Expand Down Expand Up @@ -44,7 +44,7 @@ Show

Hide
Type "user-integration-remember-mode"
Wait /Username: user-integration-remember-mode$/
Wait+Screen /Username: user-integration-remember-mode\n/
Show

Hide
Expand Down
2 changes: 1 addition & 1 deletion pam/integration-tests/testdata/tapes/cli/sigint.tape
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Show

Hide
Type "user-integration-sigint"
Wait /Username: user-integration-sigint$/
Wait+Screen /Username: user-integration-sigint\n/
Show

Hide
Expand Down
2 changes: 1 addition & 1 deletion pam/integration-tests/testdata/tapes/cli/simple_auth.tape
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Show

Hide
Type "user1"
Wait /Username: user1$/
Wait+Screen /Username: user1\n/
Show

Hide
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Show

Hide
Type "user2"
Wait /Username: user2$/
Wait+Screen /Username: user2\n/
Show

Hide
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Show

Hide
Type "user-integration-switch-mode"
Wait /Username: user-integration-switch-mode$/
Wait+Screen /Username: user-integration-switch-mode\n/
Show

Hide
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Show

Hide
Type "user-integration-switch-broker"
Wait /Username: user-integration-switch-broker$/
Wait+Screen /Username: user-integration-switch-broker\n/
Show

Hide
Expand Down
6 changes: 3 additions & 3 deletions pam/integration-tests/testdata/tapes/cli/switch_username.tape
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Show
Hide
Escape
Type "user-integration-switch-username"
Wait /Username: user-integration-switch-username$/
Wait+Screen /Username: user-integration-switch-username\n/
Show

Hide
Expand All @@ -17,9 +17,9 @@ Show

Hide
Escape
Wait /Username: user-integration-switch-username$/
Wait+Screen /Username: user-integration-switch-username\n/
Backspace 15
Wait /Username: user-integration-$$/
Wait+Screen /Username: user-integration-$\n/
Type "username-switched"
Show

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Show

Hide
Type "user-unexistent"
Wait /Username: user-unexistent$/
Wait+Screen /Username: user-unexistent\n/
Show

Hide
Expand Down

0 comments on commit 2adcdc2

Please sign in to comment.