Project Number Date
ApolloFullRunnerReport apollo-test-2.85 19 lip 2021, 03:57

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 17s 233ms 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" 10s 143ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 558ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /transports; status: 422, komunikat: [errors:[[meta:[exceptionType:WINDOWS_OVERLAP_EXCEPTION, initialStart:2021-07-20T11:00:00Z, windowSizeInMinutes:30, rampName:Rampa], detail:Nie możemy zarezerwować okna czasowego o długości 30 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-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" 5s 963ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-keeeper" 566ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /transports; status: 422, komunikat: [errors:[[meta:[exceptionType:WINDOWS_OVERLAP_EXCEPTION, initialStart:2021-07-20T08:00:00Z, windowSizeInMinutes:60, rampName:Okno 1], detail:Nie możemy zarezerwować okna czasowego o długości 60 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-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