Given
Set token of apiUsername "super-admin-adama"
115ms
And
Get custom field settings for "DELIVERY" transport type and "" company
038ms
And
Mark custom fields as not obligatory
004ms
And
Create transport "CREATE_DELIVERY" by JSON file as "super-admin-adama"
091ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /transports; status: 422, komunikat: io.restassured.internal.RestAssuredResponseImpl@6eaa05cd
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-adama"(file:Features/Atom/Transport/TransportForm/TransportForm.feature:237)
And
Remove action authority with: "adama" "adama-admin" "DELIVERY" "UPDATE_MAIN_DATA_SECTION" "UNLIMITED"
000ms
And
Remove action authority with: "adama" "adama-admin" "DELIVERY" "UPDATE_ADVICE" "UNLIMITED"
000ms
And
Add action authority with: "adama" "adama-admin" "DELIVERY" "EDIT_DESCRIPTION_FIELD" "UNLIMITED"
000ms
And
Login as "adama-admin" and set token of apiUsername "super-admin-adama"
000ms
When
Find transport in table with status "planned"
000ms
And
Confirm statuses until reach "process-ended"
000ms
And
Wait "90" seconds
000ms
And
Go to "ARCHIVE_TAB"
000ms
And
Show "DELIVERY"
000ms
And
Go to transport details "DELIVERY"
000ms
And
Change filled value in transport details "transport-description" "text" "opis" "0"
000ms
And
Click "save-transport-and-close" save button and wait for form to disappear
000ms
And
Wait "7" seconds
000ms
And
Go to transport details "DELIVERY"
000ms
Then
Verify that "transport-description" in transport has value "opis"
000ms