Given
Login as "hochland-admin" and set token of apiUsername "super-admin-hochland"
2s 937ms
And
Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland"
341ms
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/Transport/TransportForm/DiscrepancyReport.feature:84)
When
Go to "TRANSPORT_TABLE"
000ms
And
Go to transport details "DELIVERY"
000ms
And
Get inputs from database "EDIT_DELIVERY" "super-admin-hochland"
000ms
And
Fill transport form
000ms
And
Open section: "discrepancy-report-panel"
000ms
And
Fill discrepancy report section without closing the form
000ms
And
Generate discrepancy report
000ms
And
Download discrepancy report
000ms
And
Verify that discrepancy report file has correct values
000ms
And
Fill edited discrepancy report section
000ms
And
Generate edited discrepancy report
000ms
And
Download discrepancy report
000ms
Then
Verify that discrepancy report file has correct values
000ms