Given
Set token of apiUsername "super-admin-neuca"
219ms
And
Set basic authorities "ROLE_SORT_TRANSPORT_TABLE" to user "neuca-admin"
137ms
And
Create transport "CREATE_DELIVERY" by JSON file as "super-admin-neuca" in "0" days
606ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /transports; status: 422, komunikat: [errors:[[meta:[exceptionType:WINDOWS_OVERLAP_EXCEPTION, initialStart:2021-08-30T18:00:00Z, windowSizeInMinutes:45, rampName:Katowice - R6], detail:Nie możemy zarezerwować okna czasowego o długości 45 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 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