Given
Set token of apiUsername "super-admin-skd"
094ms
And
Prepare parameter "NUMBER_OF_FAILED_LOGIN_ATTEMPTS" with value: "1"
001ms
Given
Failed login as "swiss-krono-delivery-admin"
514ms
Then
Verify that login error reason is "auth.invalidLoginOrPassword"
225ms
Given
Try login as "swiss-krono-delivery-admin"
622ms
Then
Verify that login error reason is "auth.accountLocked"
105ms
Given
Click remind password button
079ms
And
Prepare user "swiss-krono-delivery-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file
227ms
And
Send remind password form with email "apolloautomattest@gmail.com"
179ms
When
Get mail "apolloautomattest@gmail.com" message from mail account with "Restart hasła! | Password reset!"
51s 256ms
And
Extract password from mail
001ms
And
Reset password from link
469ms
Then
Login as "swiss-krono-delivery-admin"
1s 775ms
And
User is successfully logged
004ms