Given
Set token of apiUsername "super-admin-hochland"
251ms
And
Prepare company "Dostawca Hochland Automat 1" verification email setting "48h"
191ms
And
Prepare user "dha1-supplier-2@qa.qa-test" details with all notifications and "apolloautomattest@gmail.com" by JSON file
1s 077ms
And
Login as "dha1-supplier-2@qa.qa-test" and set token of apiUsername "dha1-supplier-2@qa.qa-test"
8s 659ms
And
Create transport "CREATE_DELIVERY" by JSON file as "dha1-supplier-2@qa.qa-test"
360ms
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 "dha1-supplier-2@qa.qa-test"(file:Features/Atom/Mail/AdviceMail.feature:67)
When
Get mail "apolloautomattest@gmail.com" message from mailgun with "Weryfikacja danych awizacji"
000ms
Then
Check if user got a mail
000ms