Given
Set token of apiUsername "super-admin-neuca"
096ms
And
Set basic authorities "ROLE_SORT_TRANSPORT_TABLE" to user "neuca-admin"
015ms
And
Create transport "CREATE_DELIVERY" by JSON file as "super-admin-neuca" in "0" days
085ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /transports; status: 422, komunikat: [errors:[[meta:[exceptionType:WINDOWS_OVERLAP_EXCEPTION, initialStart:2021-07-17T18:00:00Z, windowSizeInMinutes:15, rampName:Katowice - R6], detail:We can not reserve a time slot of 15 minutes in the indicated place because the warehouse is already occupied during these hours. Please select another time or ramp., 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 CucumberTests.Transport.CreateTransport.createByJSONFileAsInDays(CreateTransport.java:79)
at ✽.Create transport "CREATE_DELIVERY" by JSON file as "super-admin-neuca" in "0" days(file:Features/Atom/Sorting/Sorting.feature:77)
And
Create transport "CREATE_DELIVERY" by JSON file as "super-admin-neuca"
000ms
When
Confirm status "ARRIVE" by Public API "v1"
000ms
And
Login as "neuca-admin"
000ms
When
Go to "TRANSPORT_TABLE"
000ms
And
Click button "STATUS" "2" times
000ms
And
Verify that values in "STATUS" are sorted "desc" in "neuca" "DELIVERY"
000ms
Then
If user is login then logout
000ms
And
Login as "neuca-admin"
000ms
And
Go to "TRANSPORT_TABLE"
000ms
And
Verify that values in "STATUS" are sorted "desc" in "neuca" "DELIVERY"
000ms