Project Number Date
ApolloFullRunnerReport apollo-test-2.153 10 wrz 2021, 06:23

Tag Report

Steps Scenarios Features
Tag Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
@TmsLink=A-6009 2 1 13 0 0 16 0 1 1 3s 363ms Failed
View Feature Schedule
Scenario Outline Suggesting the nearest free space in the schedule
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Set "transport" inputs from JSON file "CREATE_DELIVERY" "super-admin-neuca" 000ms
And Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 2s 690ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-neuca" 671ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /transports; status: 422, komunikat: [errors:[[meta:[exceptionType:WINDOWS_OVERLAP_EXCEPTION, initialStart:2021-09-10T18: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 ✽.Create transport "CREATE_DELIVERY" by JSON file as "super-admin-neuca"(file:Features/Atom/Schedule/Schedule.feature:101)
When Go to "TRANSPORT_TABLE" 000ms
And Show all transport "" 000ms
And Find transport pencil button in transports table 000ms
And Click pencil and move transport to "02" : "15" in schedule 000ms
Then Go to new transport "DELIVERY" 000ms
And Fill transport form 000ms
And Change filled value in details "number-of-pallets-step-0" "number" "50" "0" 000ms
And Click "save-transport" save button and wait for form to disappear 000ms
Then Set advice window at "02" : "00" in schedule 000ms
And Check if button with suggest the nearest free space is displayed 000ms
When Show suggestions of the nearest free slots in schedule 000ms
And Choose suggested time for advice 000ms
Then Check if success alert is displayed "Twoja awizacja została zapisana na godzinę: 03:00" 000ms
After Hooks.deleteAllTransports() 1m 4s 271ms