Project Number Date
ApolloFullRunnerReport apollo-test-2.58 28 cze 2021, 06:08

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 26s 084ms Failed
Feature Move transport to archive
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 8s 507ms
And Check expected date interval for principal "neuca" in transport type "DELIVERY" and task "ARRIVE" 019ms
And Get setting "DELAY_TIME_TO_MOVE_ORDER_TO_ARCHIVE_AFTER_TASK_TIMEOUT" for "neuca" 139ms
And Set proper delay time to move order to archive after task timeout 143ms
When Create transport with time window start at closest full hour "CREATE_DELIVERY" by API as "super-admin-neuca" 2s 045ms
And Go to "WAREHOUSE_TAB" 1s 022ms
And Change warehouse in schedule to: "Katowice" 1s 539ms
And Wait "60" seconds 1m
And Verify that transport window is grey 078ms
And Verify that transport is in archive 11s 846ms
Then Restore transport from archive 2s 564ms
And Verify that transport has been successfully restored 15s 624ms
After Hooks.deleteTransportAfterTest() 962ms
After Hooks.rollbackSettings() 123ms
Given Login as "dayco-admin" and set token of apiUsername "super-admin-dayco" 6s 493ms
And Create transport "CREATE_OWN_COLLECTION" by JSON file as "super-admin-dayco" 2s 064ms
When Go to "TRANSPORT_TABLE" 380ms
And Delete transport 19s 513ms
When Go to "ARCHIVE_TAB" 582ms
And Show "OWN_COLLECTION" 172ms
And Verify that created transport is "true" in transport table 15s 171ms
After Hooks.deleteTransportAfterTest() 741ms
Scenario Outline Check if confirming transport status removed it to the archive
Steps
Given Set token of apiUsername "super-admin-dayco" 227ms
And Get custom field settings for "OWN_COLLECTION" transport type and "dayco" company 114ms
And Mark custom fields as not obligatory 007ms
And Login as "dayco-admin" 2s 164ms
And Create transport "CREATE_OWN_COLLECTION" by JSON file as "super-admin-dayco" 2s 070ms
And Get setting "ARCHIVING_JOB_INTERVAL" for "dayco" 136ms
And Prepare setting: "ARCHIVING_JOB_INTERVAL" with value: "10s" with "super-admin-dayco" 025ms
When Go to "TRANSPORT_TABLE" 403ms
And Click button advice in transport table "OWN_COLLECTION" 1s 426ms
And Create advice "ADVICE_OWN_COLLECTION" "OWN_COLLECTION" "super-admin-dayco" 45s 842ms
And Go to "TRANSPORT_TABLE" 463ms
And Find transport in table with status "planned-magazyn-tychy" 3s 697ms
And Confirm statuses until reach "process-ended" 16s 680ms
And Wait "12" seconds 12s
Then Go to "ARCHIVE_TAB" 507ms
And Show "OWN_COLLECTION" 171ms
And Verify that created transport is "true" in transport table 1m 32s 235ms
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() 1s 070ms
After Hooks.rollbackAllCustomFieldsSettings() 478ms
After Hooks.rollbackSettings() 141ms