Given
  Set token of apiUsername "super-admin-piast"
  
  233ms
  
        
        
        
        
        
       
          
        
  And
  Delete invitations with email "automaty31415@test.pl"
  
  111ms
  
        
        
        
        
        
       
          
        
  Then
  Create invitation by JSON file "super-admin-alrec" for "automaty31415@test.pl" "CREATE_SUPPLIER_INVITATION"
  
  1s 463ms
  
        
        
        
        
        
       
          
        
  And
  Prepare user "piast-admin" details with all notifications and "automaty31415@test.pl" by JSON file
  
  1s 303ms
  
        
        
        
        
        
       
          
        
  When
  Login as "piast-admin"
  
  5s 084ms
  
        
        
        
        
        
       
          
        
  Then
  Go to "INVITATIONS_TAB"
  
  691ms
  
        
        
        
        
        
       
          
        
  And
  Go to invitation details
  
  136ms
  
        
        
        
        
        
       
          
        
  Then
  Reject invitation by button as user
  
  317ms
  
        
        
        
        
        
       
          
        
  When
  If user is login then logout
  
  631ms
  
        
        
        
        
        
       
          
        
  Then
  Login as "super-admin-alrec" and set token of apiUsername "super-admin-alrec"
  
  4s 907ms
  
        
        
        
        
        
       
          
        
  And
  Go to "INVITATIONS_TAB"
  
  515ms
  
        
        
        
        
        
       
          
        
  And
  Go to "REJECTED_TAB" invitation status tab
  
  289ms
  
        
        
        
        
        
       
          
        
  Then
  Invitation is displayed on list "automaty31415@test.pl"
  
  438ms