Project Number Date
ApolloFullRunnerReport 2021.AT1.65 18 sie 2021, 03:49

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Move transport to archive 28 1 7 0 0 36 2 1 3 1m 51s 052ms Failed
Feature Move transport to archive
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 1s 649ms
And Check expected date interval for principal "neuca" in transport type "DELIVERY" and task "ARRIVE" 007ms
And Get setting "DELAY_TIME_TO_MOVE_ORDER_TO_ARCHIVE_AFTER_TASK_TIMEOUT" for "neuca" 028ms
And Set proper delay time to move order to archive after task timeout 020ms
When Create transport with time window start at closest full hour "CREATE_DELIVERY" by API as "super-admin-neuca" 301ms
And Go to "WAREHOUSE_TAB" 585ms
And Change warehouse in schedule to: "Katowice" 1s 115ms
And Wait "60" seconds 1m
And Verify that transport window is grey 036ms
And Verify that transport is in archive 1s 739ms
Then Restore transport from archive 1s 256ms
And Verify that transport has been successfully restored 1s 407ms
After Hooks.deleteTransportAfterTest() 114ms
After Hooks.rollbackSettings() 023ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "dayco-admin" and set token of apiUsername "super-admin-dayco" 1s 731ms
And Create transport "CREATE_OWN_COLLECTION" by JSON file as "super-admin-dayco" 1s 200ms
When Go to "TRANSPORT_TABLE" 127ms
And Delete transport 19s 988ms
When Go to "ARCHIVE_TAB" 259ms
And Show "OWN_COLLECTION" 079ms
And Verify that created transport is "true" in transport table 15s 045ms
After Hooks.deleteTransportAfterTest() 072ms
Scenario Outline Check if confirming transport status removed it to the archive
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Set token of apiUsername "super-admin-dayco" 091ms
And Get custom field settings for "OWN_COLLECTION" transport type and "dayco" company 017ms
And Mark custom fields as not obligatory 006ms
And Login as "dayco-admin" 989ms
And Create transport "CREATE_OWN_COLLECTION" by JSON file as "super-admin-dayco" 1s 217ms
And Get setting "ARCHIVING_JOB_INTERVAL" for "dayco" 029ms
And Prepare setting: "ARCHIVING_JOB_INTERVAL" with value: "10s" with "super-admin-dayco" 049ms
When Go to "TRANSPORT_TABLE" 121ms
And Click button advice in transport table "OWN_COLLECTION" 1s 948ms
And Create advice by JSON file "ADVICE_OWN_COLLECTION" as "super-admin-dayco" 000ms
java.lang.NullPointerException
	at Utils.JsonApiUtil.getJSON(JsonApiUtil.java:145)
	at Utils.JsonApiUtil.getTransportApiJson(JsonApiUtil.java:131)
	at CucumberTests.Transport.AdviceTransport.prepareAdviceJSON(AdviceTransport.java:371)
	at CucumberTests.Transport.AdviceTransport.createAdviceByJSONFile(AdviceTransport.java:343)
	at ✽.Create advice by JSON file "ADVICE_OWN_COLLECTION" as "super-admin-dayco"(file:Features/Atom/Transport/Archive.feature:46)
And Go to "TRANSPORT_TABLE" 000ms
And Find transport in table with status "planned-magazyn-tychy" 000ms
And Confirm statuses until reach "process-ended" 000ms
And Wait until transport disappear from transport table 000ms
Then Go to "ARCHIVE_TAB" 000ms
And Show "OWN_COLLECTION" 000ms
And Verify that created transport is "true" in transport table 000ms
After Hooks.deleteTransportAfterTest() 085ms
After Hooks.rollbackAllCustomFieldsSettings() 077ms
After Hooks.rollbackSettings() 021ms