Given
  Login as "piast-admin" and set token of apiUsername "super-admin-piast"
  
  2s 786ms
  
        
        
        
        
        
       
          
        
  And
  Create transport by JSON file "CREATE_DELIVERY" as "super-admin-piast" for api version "v1" and expect status "200"
  
  1s 394ms
  
        
        
        
        
        
       
          
        
  And
  Get inputs from database "ADVICE_DELIVERY" "super-admin-piast"
  
  2s 633ms
  
        
        
        
        
        
       
          
        
  And
  Show all transport types
  
  1s 187ms
  
        
        
        
        
        
       
          
        
  And
  Click button advice in transport table "DELIVERY"
  
  266ms
  
        
        
        
        
        
       
          
        
  And
  Set advice window in schedule
  
  3s 859ms
  
        
        
        
        
        
       
          
        
  And
  Fill advice form
  
  11s 001ms
  
        
        
        
        
        
       
          
        
  And
  Click advice save button and wait for advice form to disappear
  
  33s 921ms
  
        
        
        
        
        
       
          
        
  When
  Edit transport by JSON file "EDIT_DELIVERY" as "super-admin-piast" for api version "v1"
  
  3s 466ms
  
        
        
        
        
        
       
          
        
  And
  Check if response status code equals "200"
  
  001ms
  
        
  
    
      
      
        org.junit.ComparisonFailure: Odpowiedź zawiera kod 422 zamiast 200 expected:<[200]> but was:<[422]>
	at org.junit.Assert.assertEquals(Assert.java:115)
	at CucumberTests.Api.ApiTransportTest.checkIfResponseStatusCodeEquals(ApiTransportTest.java:137)
	at ✽.Check if response status code equals "200"(file:Features/Api/Transport.feature:161)
       
     
   
        
        
        
        
       
          
        
  And
  Go to "TRANSPORT_TABLE"
  
  000ms
  
        
        
        
        
        
       
          
        
  And
  Go to transport details "DELIVERY"
  
  000ms
  
        
        
        
        
        
       
          
        
  Then
  Check are transport values equals
  
  000ms