Given
Set token of apiUsername "super-admin-neuca"
232ms
And
Set basic authorities "ROLE_SORT_TRANSPORT_TABLE" to user "neuca-admin"
143ms
And
Create transport "CREATE_DELIVERY" by JSON file as "super-admin-neuca" in "0" days
306ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /transports; status: 422, komunikat: [errors:[Właściwość [id] klasy [class logintegra.commands.warehouse.TimeWindowCommand] nie może być null]]
at org.junit.Assert.fail(Assert.java:88)
at Utils.RestUtils.RestUtil.postObjectToApolloApi(RestUtil.java:86)
at CucumberTests.Transport.CreateTransport.createByJSONFileAs(CreateTransport.java:87)
at CucumberTests.Transport.CreateTransport.createByJSONFileAsInDays(CreateTransport.java:79)
at ✽.Create transport "CREATE_DELIVERY" by JSON file as "super-admin-neuca" in "0" days(file:Features/Atom/Sorting/Sorting.feature:77)
And
Create transport "CREATE_DELIVERY" by JSON file as "super-admin-neuca"
000ms
When
Confirm status "ARRIVE" by Public API "v1"
000ms
And
Login as "neuca-admin"
000ms
When
Go to "TRANSPORT_TABLE"
000ms
And
Click button "STATUS" "2" times
000ms
And
Verify that values in "STATUS" are sorted "desc" in "neuca" "DELIVERY"
000ms
Then
If user is login then logout
000ms
And
Login as "neuca-admin"
000ms
And
Go to "TRANSPORT_TABLE"
000ms
And
Verify that values in "STATUS" are sorted "desc" in "neuca" "DELIVERY"
000ms