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
Transport Mail 15 1 7 0 0 23 2 1 3 4m 9s 465ms Failed
Feature Transport Mail
Scenario Outline Check if mail was sent to after transport delay
Before Hooks.showScenarioName(Scenario) 000ms
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 9s 080ms
And Prepare user "pha2-carrier@qa.qa-test" details with all notifications and "apolloautomattest@gmail.com" by JSON file 2s 096ms
And Set basic authorities "ROLE_CAN_PLAN_ADVICE_IN_THE_PAST" to user "hochland-admin" 172ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 364ms
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/Mail/TransportMail.feature:8)
And Go to "WAREHOUSE_TAB" 000ms
And Select warehouse "Serownia" 000ms
And Set week view 000ms
And Show yesterday 000ms
And Move window into the past 000ms
When Get mail "apolloautomattest@gmail.com" message from mailgun with "spóźnił się na" 000ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 000ms
After Hooks.cleanUserDetailsAfterTest() 2s 404ms
After Hooks.rollbackAddedAuthorities() 136ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 9s 230ms
And Prepare user "swisskrono-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 2s 416ms
And Wait "60" seconds 1m
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 165ms
When Get mail "apolloautomattest@gmail.com" message from mailgun with "Drobnica import" 48s 134ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 571ms
After Hooks.cleanUserDetailsAfterTest() 2s 330ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 7s 746ms
And Prepare user "swisskrono-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 2s 438ms
And Wait "60" seconds 1m
And Create transport "CREATE_SMALLS_EXPORT" by JSON file as "super-admin-skz" 2s 203ms
When Get mail "apolloautomattest@gmail.com" message from mailgun with "Drobnica eksport" 43s 414ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 573ms
After Hooks.cleanUserDetailsAfterTest() 2s 141ms