Given
  Set token of apiUsername "super-admin-skd"
  
  275ms
  
        
        
        
        
        
       
          
        
  And
  Prepare parameter "NUMBER_OF_FAILED_LOGIN_ATTEMPTS" with value: "1"
  
  134ms
  
        
        
        
        
        
       
          
        
  Given
  Failed login as "swiss-krono-delivery-admin-2"
  
  1s 303ms
  
        
        
        
        
        
       
          
        
  Then
  Verify that login error reason is "auth.invalidLoginOrPassword"
  
  546ms
  
        
        
        
        
        
       
          
        
  Given
  Try login as "swiss-krono-delivery-admin-2"
  
  1s 318ms
  
        
        
        
        
        
       
          
        
  Then
  Verify that login error reason is "auth.accountLocked"
  
  274ms
  
        
        
        
        
        
       
          
        
  Given
  Click remind password button
  
  207ms
  
        
        
        
        
        
       
          
        
  And
  Prepare user "swiss-krono-delivery-admin-2" details with all notifications and "apolloautomattest@gmail.com" by JSON file
  
  1s 191ms
  
        
        
        
        
        
       
          
        
  And
  Send remind password form with email "apolloautomattest@gmail.com"
  
  489ms
  
        
        
        
        
        
       
          
        
  When
  Get mail "apolloautomattest@gmail.com" message from mailgun with "Restart hasła! | Password reset!"
  
  26s 418ms
  
        
        
        
        
        
       
          
        
  And
  Extract password reset link from mailgun mail
  
  4s 075ms
  
        
        
        
        
        
       
          
        
  And
  Reset password from link
  
  1s 339ms
  
        
        
        
        
        
       
          
        
  Then
  Login as "swiss-krono-delivery-admin-2" with new password
  
  5s 180ms
  
        
        
        
        
        
       
          
        
  And
  User is successfully logged
  
  028ms