Given
Set token of apiUsername "super-admin-adama"
224ms
And
Get custom field settings for "DELIVERY" transport type and "" company
089ms
And
Mark custom fields as not obligatory
004ms
And
Create transport "CREATE_DELIVERY" by JSON file as "super-admin-adama"
416ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /transports; status: 422, komunikat: [errors:[[meta:[exceptionType:WINDOWS_OVERLAP_EXCEPTION, initialStart:2021-07-18T14:15:00Z, windowSizeInMinutes:30, rampName:Dok 1], detail:Nie możemy zarezerwować okna czasowego o długości 30 minut we wskazanym miejscu, ponieważ magazyn jest już zajęty w tych godzinach. Prosimy o wybranie innej godziny lub rampy., title:WindowsOverlapException, status:[enumType:org.springframework.http.HttpStatus, name:UNPROCESSABLE_ENTITY]]]]
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