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