Given
Login as "hochland-admin" and set token of apiUsername "super-admin-hochland"
9s 080ms
And
Prepare user "pha2-carrier@qa.qa-test" details with all notifications and "apolloautomattest@gmail.com" by JSON file
2s 096ms
And
Set basic authorities "ROLE_CAN_PLAN_ADVICE_IN_THE_PAST" to user "hochland-admin"
172ms
And
Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland"
364ms
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/Mail/TransportMail.feature:8)
And
Go to "WAREHOUSE_TAB"
000ms
And
Select warehouse "Serownia"
000ms
And
Move window into the past
000ms
When
Get mail "apolloautomattest@gmail.com" message from mailgun with "spóźnił się na"
000ms
Then
Check if user got a mail
000ms