Given
Login as "pha1-carrier@qa.qa-test" and set token of apiUsername "super-admin-hochland"
2s 360ms
And
Create "CREATE_GRAY_WINDOW_TWG" window by JSON file for test as "super-admin-hochland"
028ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /time-windows; status: 422, komunikat: [errors:[[detail:We can not reserve a time slot of 120 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.GrayWindow.CreateGrayWindowTest.createGrayWindowByJSONFileForTestAs(CreateGrayWindowTest.java:50)
at ✽.Create "CREATE_GRAY_WINDOW_TWG" window by JSON file for test as "super-admin-hochland"(file:Features/Atom/Schedule/Schedule.feature:36)
And
Create "CREATE_GRAY_WINDOW_OST" window by JSON file for test as "super-admin-hochland"
000ms
When
Go to "WAREHOUSE_TAB"
000ms
And
Select warehouse "Twarożkarnia wyrób gotowy"
000ms
And
Select view "DAYS_2"
000ms
Then
Check if gray window is in the schedule
000ms
And
Select warehouse "Opakowania, surowce twarożkarnia"
000ms
And
Select view "DAYS_2"
000ms
And
Check if gray window is in the schedule
000ms