Given
Set token of apiUsername "super-admin-skd"
122ms
And
Prepare parameter "NUMBER_OF_FAILED_LOGIN_ATTEMPTS" with value: "1"
003ms
Given
Failed login as "swiss-krono-delivery-admin"
537ms
Then
Verify that login error reason is "auth.invalidLoginOrPassword"
284ms
Given
Try login as "swiss-krono-delivery-admin"
632ms
Then
Verify that login error reason is "auth.accountLocked"
102ms
Given
Click remind password button
068ms
And
Prepare user "swiss-krono-delivery-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file
249ms
And
Send remind password form with email "apolloautomattest@gmail.com"
163ms
When
Get mail "apolloautomattest@gmail.com" message from mail account with "Restart hasła! | Password reset!"
12s 777ms
And
Extract password from mail
000ms
And
Reset password from link
593ms
Then
Login as "swiss-krono-delivery-admin"
1s 584ms
And
User is successfully logged
003ms