Given
Set token of apiUsername "super-admin-farmacol"
229ms
And
Get custom field settings for "EXTERNAL_DELIVERY" transport type and "farmacol" company
112ms
And
Mark custom fields as not obligatory
006ms
And
Create transport "CREATE_EXTERNAL_DELIVERY" by JSON file as "super-admin-farmacol"
15s 918ms
And
Create advice by JSON file "CREATE_ADVICE_FOR_EXTERNAL_DELIVERY" as "super-admin-farmacol"
1s 210ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania PUT pod adresem /transports/227236104 - status odpowiedzi: 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.putObjectToApolloApi(RestUtil.java:166)
at CucumberTests.Transport.AdviceTransport.createAdviceByJSONFile(AdviceTransport.java:345)
at ✽.Create advice by JSON file "CREATE_ADVICE_FOR_EXTERNAL_DELIVERY" as "super-admin-farmacol"(file:Features/Atom/Statuses/ConfirmStatuses.feature:384)
And
Get "START_OF_UNLOADING" data for transport type "EXTERNAL_DELIVERY" and principal "farmacol"
000ms
When
Login as "farmacol-admin"
000ms
And
Go to "TRANSPORT_TABLE"
000ms
And
Confirm statuses until reach "during-unload"
000ms
And
Set actual confirmed transport status list
000ms
And
Disable task by API
000ms
And
Go to transport details "EXTERNAL_DELIVERY"
000ms
And
Edit transport hours and recalculate statuses
000ms
Then
Verify that all confirmed statuses are still on transport status list
000ms