Project Number Date
ApolloFullRunnerReport apollo-test-2.50 30 cze 2021, 09:31

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 207ms Failed
Feature Move transport to archive
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 8s 127ms
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" 138ms
And Set proper delay time to move order to archive after task timeout 137ms
When Create transport with time window start at closest full hour "CREATE_DELIVERY" by API as "super-admin-neuca" 1s 990ms
And Go to "WAREHOUSE_TAB" 1s 046ms
And Change warehouse in schedule to: "Katowice" 1s 523ms
And Wait "60" seconds 1m
And Verify that transport window is grey 091ms
And Verify that transport is in archive 10s 822ms
Then Restore transport from archive 2s 622ms
And Verify that transport has been successfully restored 15s 616ms
After Hooks.deleteTransportAfterTest() 1s 023ms
After Hooks.rollbackSettings() 117ms
Given Login as "dayco-admin" and set token of apiUsername "super-admin-dayco" 6s 774ms
And Create transport "CREATE_OWN_COLLECTION" by JSON file as "super-admin-dayco" 2s 233ms
When Go to "TRANSPORT_TABLE" 452ms
And Delete transport 19s 519ms
When Go to "ARCHIVE_TAB" 508ms
And Show "OWN_COLLECTION" 170ms
And Verify that created transport is "true" in transport table 15s 149ms
After Hooks.deleteTransportAfterTest() 854ms
Scenario Outline Check if confirming transport status removed it to the archive
Steps
Given Set token of apiUsername "super-admin-dayco" 220ms
And Get custom field settings for "OWN_COLLECTION" transport type and "dayco" company 115ms
And Mark custom fields as not obligatory 006ms
And Login as "dayco-admin" 2s 175ms
And Create transport "CREATE_OWN_COLLECTION" by JSON file as "super-admin-dayco" 2s 088ms
And Get setting "ARCHIVING_JOB_INTERVAL" for "dayco" 133ms
And Prepare setting: "ARCHIVING_JOB_INTERVAL" with value: "10s" with "super-admin-dayco" 025ms
When Go to "TRANSPORT_TABLE" 331ms
And Click button advice in transport table "OWN_COLLECTION" 1s 473ms
And Create advice "ADVICE_OWN_COLLECTION" "OWN_COLLECTION" "super-admin-dayco" 45s 977ms
And Go to "TRANSPORT_TABLE" 458ms
And Find transport in table with status "planned-magazyn-tychy" 3s 676ms
And Confirm statuses until reach "process-ended" 16s 649ms
And Wait "12" seconds 12s
Then Go to "ARCHIVE_TAB" 502ms
And Show "OWN_COLLECTION" 170ms
And Verify that created transport is "true" in transport table 1m 32s 257ms
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:120)
	at ✽.Verify that created transport is "true" in transport table(file:Features/Atom/Transport/Archive.feature:54)
After Hooks.deleteTransportAfterTest() 1s 012ms
After Hooks.rollbackAllCustomFieldsSettings() 468ms
After Hooks.rollbackSettings() 144ms