Given
Login as "hochland-admin" and set token of apiUsername "super-admin-hochland"
10s 114ms
And
Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland"
371ms
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 ✽.Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland"(file:Features/Atom/Statuses/RevokeStatuses.feature:6)
And
Confirm to the last status by API
000ms
When
Find statuses for transport in table
000ms
And
Revoke statuses until reach "advice-added"
000ms
Then
Check if transport has "advice-added"
000ms