Project Number Date
ApolloFullRunnerReport apollo-test-2.116 13 sie 2021, 02:44

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 16s 720ms 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 114ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 371ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /transports; status: 422, komunikat: [errors:[Właściwość [id] klasy [class logintegra.commands.warehouse.TimeWindowCommand] nie może być null]]
	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 961ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-keeeper" 272ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /transports; status: 422, komunikat: [errors:[Właściwość [id] klasy [class logintegra.commands.warehouse.TimeWindowCommand] nie może być null]]
	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