Given
  Set token of apiUsername "super-admin-skd"
  
  246ms
  
        
        
        
        
        
       
          
        
  And
  Prepare parameter "NUMBER_OF_FAILED_LOGIN_ATTEMPTS" with value: "1"
  
  103ms
  
        
        
        
        
        
       
          
        
  Given
  Failed login as "swiss-krono-delivery-admin-2"
  
  1s 534ms
  
        
        
        
        
        
       
          
        
  Then
  Verify that login error reason is "auth.invalidLoginOrPassword"
  
  558ms
  
        
        
        
        
        
       
          
        
  Given
  Try login as "swiss-krono-delivery-admin-2"
  
  1s 426ms
  
        
        
        
        
        
       
          
        
  Then
  Verify that login error reason is "auth.accountLocked"
  
  305ms
  
        
        
        
        
        
       
          
        
  Given
  Click remind password button
  
  270ms
  
        
        
        
        
        
       
          
        
  And
  Prepare user "swiss-krono-delivery-admin-2" details with all notifications and "apolloautomattest@gmail.com" by JSON file
  
  1s 290ms
  
        
        
        
        
        
       
          
        
  And
  Send remind password form with email "apolloautomattest@gmail.com"
  
  522ms
  
        
        
        
        
        
       
          
        
  When
  Get mail "apolloautomattest@gmail.com" message from mailgun with "Restart hasła! | Password reset!"
  
  31s 790ms
  
        
        
        
        
        
       
          
        
  And
  Extract password reset link from mailgun mail
  
  3s 965ms
  
        
        
        
        
        
       
          
        
  And
  Reset password from link
  
  1s 369ms
  
        
        
        
        
        
       
          
        
  Then
  Login as "swiss-krono-delivery-admin-2" with new password
  
  5s 061ms
  
        
        
        
        
        
       
          
        
  And
  User is successfully logged
  
  027ms