Given
  Login as "paa1-carrier@qa.qa-test" and set token of apiUsername "super-admin-adama"
  
  5s 294ms
  
        
        
        
        
        
       
          
        
  And
  Prepare user "paa1-carrier@qa.qa-test" details with all notifications and "apolloautomattest@gmail.com" by JSON file
  
  2s 457ms
  
        
        
        
        
        
       
          
        
  And
  Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama"
  
  2s 044ms
  
        
        
        
        
        
       
          
        
  And
  Set transport on auction with "500" and "1500" by JSON file as "super-admin-adama" and finish of auction in "121" minutes
  
  438ms
  
        
  
    
      
      
        java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /auctions; status: 422, komunikat: [errors:[Termin zakończenia aukcji musi się znajdować w przyszłości]]
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.RestUtils.RestUtil.postObjectToApolloApi(RestUtil.java:86)
	at CucumberTests.Transport.AuctionTransport.setTransportOnAuction(AuctionTransport.java:54)
	at CucumberTests.Transport.AuctionTransport.setTransportOnAuctionByApiWith(AuctionTransport.java:71)
	at ✽.Set transport on auction with "500" and "1500" by JSON file as "super-admin-adama" and finish of auction in "121" minutes(file:Features/Atom/Mail/AuctionMail.feature:103)
       
     
   
        
        
        
        
       
          
        
  When
  Get mail "apolloautomattest@gmail.com" message from mailgun with "Zakończenie aukcji"
  
  000ms
  
        
        
        
        
        
       
          
        
  Then
  Check if user got a mail
  
  000ms