Given
Set token of apiUsername "super-admin-bausch"
241ms
And
Create accepted mode of transportation by API with "pba1-carrier": "AAAA0000" "Model" "Marka" "BBBB0000"
1s 664ms
And
Get custom field settings for "LOAD_EXPORT" transport type and "bausch" company
193ms
And
Mark custom fields as not obligatory
716ms
And
Create transport "CREATE_LOAD_EXPORT" by JSON file as "super-admin-bausch"
16s 134ms
And
Transfer transport to carrier by JSON file "super-admin-bausch" "false" confirmation
639ms
And
Confirm status "ORDER_COMPLETNESS" by Public API "v1"
406ms
And
Create advice by JSON file "CREATE_ADVICE_FOR_LOAD_EXPORT" as "super-admin-bausch" with interval "30m"
1s 797ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania PUT pod adresem /transports/227236555 - 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.createAdviceByJSONFileWithInterval(AdviceTransport.java:360)
at ✽.Create advice by JSON file "CREATE_ADVICE_FOR_LOAD_EXPORT" as "super-admin-bausch" with interval "30m"(file:Features/Atom/Statuses/ConfirmStatuses.feature:408)
And
Login as "super-admin-bausch"
000ms
And
Go to "TRANSPORT_TABLE"
000ms
Then
Confirm next status and expect alert "Status potwierdzony przed czasem"
000ms
And
Wait "1" seconds
000ms
And
Verify that note was added "Status potwierdzony przed czasem"
000ms