Project Number Date
ApolloFullRunnerReport 2021.AT1.2 18 Jul 2021, 02:38

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Status revocation 2 2 8 0 0 12 0 2 2 4s 053ms Failed
Feature Status revocation
Scenario Outline Check if it is possible to revoke statuses by user
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 304ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 107ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /transports; status: 422, komunikat: [errors:[[meta:[exceptionType:WINDOWS_OVERLAP_EXCEPTION, initialStart:2021-07-18T11:00:00Z, windowSizeInMinutes:30, rampName:Rampa], detail:We can not reserve a time slot of 30 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 ✽.Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland"(file:Features/Atom/Statuses/RevokeStatuses.feature:6)
And Confirm to the last status by API 000ms
When Find statuses for transport in table 000ms
And Revoke statuses until reach "advice-added" 000ms
Then Check if transport has "advice-added" 000ms
After Hooks.deleteTransportAfterTest() 000ms
Scenario Outline Check if it is possible to revoke statuses by user
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 571ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-keeeper" 070ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /transports; status: 422, komunikat: [errors:[[meta:[exceptionType:WINDOWS_OVERLAP_EXCEPTION, initialStart:2021-07-18T08:00:00Z, windowSizeInMinutes:60, rampName:Okno 1], detail:We can not reserve a time slot of 60 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 ✽.Create transport "CREATE_DELIVERY" by JSON file as "super-admin-keeeper"(file:Features/Atom/Statuses/RevokeStatuses.feature:6)
And Confirm to the last status by API 000ms
When Find statuses for transport in table 000ms
And Revoke statuses until reach "planned" 000ms
Then Check if transport has "planned" 000ms
After Hooks.deleteTransportAfterTest() 000ms