Given
  Set token of apiUsername "super-admin-piast"
  
  229ms
  
        
        
        
        
        
       
          
        
  And
  Delete invitations with email "automaty31415@test.pl"
  
  091ms
  
        
        
        
        
        
       
          
        
  Then
  Create invitation by JSON file "super-admin-alrec" for "automaty31415@test.pl" "CREATE_SUPPLIER_INVITATION"
  
  1s 411ms
  
        
        
        
        
        
       
          
        
  And
  Prepare user "piast-admin" details with all notifications and "automaty31415@test.pl" by JSON file
  
  1s 356ms
  
        
        
        
        
        
       
          
        
  When
  Login as "piast-admin"
  
  5s 042ms
  
        
        
        
        
        
       
          
        
  Then
  Go to "INVITATIONS_TAB"
  
  731ms
  
        
        
        
        
        
       
          
        
  And
  Go to invitation details
  
  154ms
  
        
        
        
        
        
       
          
        
  Then
  Reject invitation by button as user
  
  351ms
  
        
        
        
        
        
       
          
        
  When
  If user is login then logout
  
  660ms
  
        
        
        
        
        
       
          
        
  Then
  Login as "super-admin-alrec" and set token of apiUsername "super-admin-alrec"
  
  4s 637ms
  
        
        
        
        
        
       
          
        
  And
  Go to "INVITATIONS_TAB"
  
  497ms
  
        
        
        
        
        
       
          
        
  And
  Go to "REJECTED_TAB" invitation status tab
  
  303ms
  
        
        
        
        
        
       
          
        
  Then
  Invitation is displayed on list "automaty31415@test.pl"
  
  541ms