Project Number Date
ApolloFullRunnerReport apollo-test-2.1 17 Jul 2021, 02:42

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 3s 945ms Failed
Feature Status revocation
Scenario Outline Check if it is possible to revoke statuses by user
Before Hooks.showScenarioName(Scenario) 000ms
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 256ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 096ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /transports; status: 422, komunikat: [errors:[[meta:[exceptionType:WINDOWS_OVERLAP_EXCEPTION, initialStart:2021-07-17T11: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) 000ms
Steps
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 517ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-keeeper" 075ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /transports; status: 422, komunikat: [errors:[[meta:[exceptionType:WINDOWS_OVERLAP_EXCEPTION, initialStart:2021-07-17T08: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