Given
Set token of apiUsername "super-admin-farmacol"
228ms
And
Get custom field settings for "EXTERNAL_DELIVERY" transport type and "farmacol" company
099ms
And
Mark custom fields as not obligatory
005ms
And
Create transport "CREATE_EXTERNAL_DELIVERY" by JSON file as "super-admin-farmacol"
2s 023ms
And
Create advice by JSON file "CREATE_ADVICE_FOR_EXTERNAL_DELIVERY" as "super-admin-farmacol"
1s 661ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania PUT pod adresem /transports/224135634 - status odpowiedzi: 422 , komunikat: [errors:[Operacja nie powiodła się. Prosimy spróbować ponownie a, jeśli problem się powtarza, o kontakt z info@logintegra.com.]]
at org.junit.Assert.fail(Assert.java:88)
at Utils.RestUtils.RestUtil.putObjectToApolloApi(RestUtil.java:166)
at CucumberTests.Transport.AdviceTransport.createAdviceByJSONFile(AdviceTransport.java:340)
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