Given
  Set token of apiUsername "super-admin-piast"
  
  233ms
  
        
        
        
        
        
       
          
        
  And
  Delete invitations with email "automaty31415@test.pl"
  
  086ms
  
        
        
        
        
        
       
          
        
  Then
  Create invitation by JSON file "super-admin-alrec" for "automaty31415@test.pl" "CREATE_SUPPLIER_INVITATION"
  
  1s 453ms
  
        
        
        
        
        
       
          
        
  And
  Prepare user "piast-admin" details with all notifications and "automaty31415@test.pl" by JSON file
  
  1s 523ms
  
        
        
        
        
        
       
          
        
  When
  Login as "piast-admin"
  
  5s 007ms
  
        
        
        
        
        
       
          
        
  Then
  Go to "INVITATIONS_TAB"
  
  687ms
  
        
        
        
        
        
       
          
        
  And
  Go to invitation details
  
  145ms
  
        
        
        
        
        
       
          
        
  Then
  Reject invitation by button as user
  
  301ms
  
        
        
        
        
        
       
          
        
  When
  If user is login then logout
  
  309ms
  
        
        
        
        
        
       
          
        
  Then
  Login as "super-admin-alrec" and set token of apiUsername "super-admin-alrec"
  
  4s 873ms
  
        
        
        
        
        
       
          
        
  And
  Go to "INVITATIONS_TAB"
  
  463ms
  
        
        
        
        
        
       
          
        
  And
  Go to "REJECTED_TAB" invitation status tab
  
  241ms
  
        
        
        
        
        
       
          
        
  Then
  Invitation is displayed on list "automaty31415@test.pl"
  
  507ms