Project Number Date
ApolloFullRunnerReport apollo-test-2.57 27 cze 2021, 06:33

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Move transport to archive 35 1 0 0 0 36 2 1 3 5m 20s 775ms Failed
Feature Move transport to archive
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 8s 248ms
And Check expected date interval for principal "neuca" in transport type "DELIVERY" and task "ARRIVE" 015ms
And Get setting "DELAY_TIME_TO_MOVE_ORDER_TO_ARCHIVE_AFTER_TASK_TIMEOUT" for "neuca" 134ms
And Set proper delay time to move order to archive after task timeout 126ms
When Create transport with time window start at closest full hour "CREATE_DELIVERY" by API as "super-admin-neuca" 1s 937ms
And Go to "WAREHOUSE_TAB" 1s 232ms
And Change warehouse in schedule to: "Katowice" 1s 527ms
And Wait "60" seconds 1m
And Verify that transport window is grey 083ms
And Verify that transport is in archive 9s 393ms
Then Restore transport from archive 2s 542ms
And Verify that transport has been successfully restored 15s 626ms
After Hooks.deleteTransportAfterTest() 959ms
After Hooks.rollbackSettings() 126ms
Given Login as "dayco-admin" and set token of apiUsername "super-admin-dayco" 6s 848ms
And Create transport "CREATE_OWN_COLLECTION" by JSON file as "super-admin-dayco" 2s 122ms
When Go to "TRANSPORT_TABLE" 400ms
And Delete transport 19s 540ms
When Go to "ARCHIVE_TAB" 582ms
And Show "OWN_COLLECTION" 175ms
And Verify that created transport is "true" in transport table 15s 147ms
After Hooks.deleteTransportAfterTest() 734ms
Scenario Outline Check if confirming transport status removed it to the archive
Steps
Given Set token of apiUsername "super-admin-dayco" 219ms
And Get custom field settings for "OWN_COLLECTION" transport type and "dayco" company 109ms
And Mark custom fields as not obligatory 005ms
And Login as "dayco-admin" 1s 960ms
And Create transport "CREATE_OWN_COLLECTION" by JSON file as "super-admin-dayco" 2s 093ms
And Get setting "ARCHIVING_JOB_INTERVAL" for "dayco" 127ms
And Prepare setting: "ARCHIVING_JOB_INTERVAL" with value: "10s" with "super-admin-dayco" 033ms
When Go to "TRANSPORT_TABLE" 402ms
And Click button advice in transport table "OWN_COLLECTION" 1s 397ms
And Create advice "ADVICE_OWN_COLLECTION" "OWN_COLLECTION" "super-admin-dayco" 45s 990ms
And Go to "TRANSPORT_TABLE" 456ms
And Find transport in table with status "planned-magazyn-tychy" 3s 688ms
And Confirm statuses until reach "process-ended" 13s 631ms
And Wait "12" seconds 12s
Then Go to "ARCHIVE_TAB" 528ms
And Show "OWN_COLLECTION" 173ms
And Verify that created transport is "true" in transport table 1m 32s 270ms
java.lang.AssertionError: expected: but was:
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failNotEquals(Assert.java:834)
	at org.junit.Assert.assertEquals(Assert.java:118)
	at org.junit.Assert.assertEquals(Assert.java:144)
	at CucumberTests._PerformanceTests.TransportTableTest.verifyThatCreatedTransportIsInTransportTable(TransportTableTest.java:116)
	at ✽.Verify that created transport is "true" in transport table(file:Features/Atom/Transport/Archive.feature:54)
After Hooks.deleteTransportAfterTest() 997ms
After Hooks.rollbackAllCustomFieldsSettings() 468ms
After Hooks.rollbackSettings() 143ms