Project Number Date
ApolloFullRunnerReport apollo-test-2.59 29 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 25s 555ms Failed
Feature Move transport to archive
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 8s 189ms
And Check expected date interval for principal "neuca" in transport type "DELIVERY" and task "ARRIVE" 017ms
And Get setting "DELAY_TIME_TO_MOVE_ORDER_TO_ARCHIVE_AFTER_TASK_TIMEOUT" for "neuca" 136ms
And Set proper delay time to move order to archive after task timeout 121ms
When Create transport with time window start at closest full hour "CREATE_DELIVERY" by API as "super-admin-neuca" 1s 991ms
And Go to "WAREHOUSE_TAB" 1s 015ms
And Change warehouse in schedule to: "Katowice" 1s 490ms
And Wait "60" seconds 1m
And Verify that transport window is grey 084ms
And Verify that transport is in archive 10s 720ms
Then Restore transport from archive 2s 655ms
And Verify that transport has been successfully restored 15s 572ms
After Hooks.deleteTransportAfterTest() 963ms
After Hooks.rollbackSettings() 119ms
Given Login as "dayco-admin" and set token of apiUsername "super-admin-dayco" 6s 755ms
And Create transport "CREATE_OWN_COLLECTION" by JSON file as "super-admin-dayco" 2s 092ms
When Go to "TRANSPORT_TABLE" 405ms
And Delete transport 19s 539ms
When Go to "ARCHIVE_TAB" 575ms
And Show "OWN_COLLECTION" 190ms
And Verify that created transport is "true" in transport table 15s 141ms
After Hooks.deleteTransportAfterTest() 766ms
Scenario Outline Check if confirming transport status removed it to the archive
Steps
Given Set token of apiUsername "super-admin-dayco" 203ms
And Get custom field settings for "OWN_COLLECTION" transport type and "dayco" company 099ms
And Mark custom fields as not obligatory 004ms
And Login as "dayco-admin" 2s 011ms
And Create transport "CREATE_OWN_COLLECTION" by JSON file as "super-admin-dayco" 2s 098ms
And Get setting "ARCHIVING_JOB_INTERVAL" for "dayco" 125ms
And Prepare setting: "ARCHIVING_JOB_INTERVAL" with value: "10s" with "super-admin-dayco" 024ms
When Go to "TRANSPORT_TABLE" 369ms
And Click button advice in transport table "OWN_COLLECTION" 1s 446ms
And Create advice "ADVICE_OWN_COLLECTION" "OWN_COLLECTION" "super-admin-dayco" 46s 591ms
And Go to "TRANSPORT_TABLE" 444ms
And Find transport in table with status "planned-magazyn-tychy" 3s 703ms
And Confirm statuses until reach "process-ended" 16s 617ms
And Wait "12" seconds 12s
Then Go to "ARCHIVE_TAB" 576ms
And Show "OWN_COLLECTION" 178ms
And Verify that created transport is "true" in transport table 1m 32s 363ms
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 020ms
After Hooks.rollbackAllCustomFieldsSettings() 418ms
After Hooks.rollbackSettings() 141ms