Given
  Set token of apiUsername "super-admin-skd"
  
  247ms
  
        
        
        
        
        
       
          
        
  And
  Prepare parameter "NUMBER_OF_FAILED_LOGIN_ATTEMPTS" with value: "1"
  
  096ms
  
        
        
        
        
        
       
          
        
  Given
  Failed login as "swiss-krono-delivery-admin-2"
  
  1s 440ms
  
        
        
        
        
        
       
          
        
  Then
  Verify that login error reason is "auth.invalidLoginOrPassword"
  
  564ms
  
        
        
        
        
        
       
          
        
  Given
  Try login as "swiss-krono-delivery-admin-2"
  
  1s 513ms
  
        
        
        
        
        
       
          
        
  Then
  Verify that login error reason is "auth.accountLocked"
  
  277ms
  
        
        
        
        
        
       
          
        
  Given
  Click remind password button
  
  225ms
  
        
        
        
        
        
       
          
        
  And
  Prepare user "swiss-krono-delivery-admin-2" details with all notifications and "apolloautomattest@gmail.com" by JSON file
  
  1s 130ms
  
        
        
        
        
        
       
          
        
  And
  Send remind password form with email "apolloautomattest@gmail.com"
  
  548ms
  
        
        
        
        
        
       
          
        
  When
  Get mail "apolloautomattest@gmail.com" message from mailgun with "Restart hasła! | Password reset!"
  
  11s 291ms
  
        
        
        
        
        
       
          
        
  And
  Extract password reset link from mailgun mail
  
  4s 472ms
  
        
        
        
        
        
       
          
        
  And
  Reset password from link
  
  1s 361ms
  
        
        
        
        
        
       
          
        
  Then
  Login as "swiss-krono-delivery-admin-2" with new password
  
  4s 994ms
  
        
        
        
        
        
       
          
        
  And
  User is successfully logged
  
  025ms