Given
Login as "hochland-admin" and set token of apiUsername "super-admin-hochland"
3s 027ms
And
Prepare user "hochland-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file
4s 251ms
And
Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland"
381ms
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/DiscrepancyReportMail.feature:7)
And
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
000ms
And
Go to transport details "DELIVERY"
000ms
And
Change filled value in details "rodo-acceptance" "checkbox" "true" "0"
000ms
And
Generate discrepancy report
000ms
When
Get mail "apolloautomattest@gmail.com" message from mailgun with "Utworzono protokół niezgodności"
000ms
Then
Check if user got a mail
000ms