Given
Set token of apiUsername "super-admin-skd"
100ms
And
Prepare parameter "NUMBER_OF_FAILED_LOGIN_ATTEMPTS" with value: "1"
002ms
Given
Failed login as "swiss-krono-delivery-admin"
504ms
Then
Verify that login error reason is "auth.invalidLoginOrPassword"
224ms
Given
Try login as "swiss-krono-delivery-admin"
645ms
Then
Verify that login error reason is "auth.accountLocked"
119ms
Given
Click remind password button
078ms
And
Prepare user "swiss-krono-delivery-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file
187ms
And
Send remind password form with email "apolloautomattest@gmail.com"
161ms
When
Get mail "apolloautomattest@gmail.com" message from mail account with "Restart hasła! | Password reset!"
19s 010ms
And
Extract password from mail
001ms
And
Reset password from link
413ms
Then
Login as "swiss-krono-delivery-admin"
2s 511ms
And
User is successfully logged
004ms