Project Number Date
ApolloFullRunnerReport apollo-test-2.55 26 cze 2021, 06:23

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 745ms Failed
Feature Move transport to archive
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 8s 428ms
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 129ms
When Create transport with time window start at closest full hour "CREATE_DELIVERY" by API as "super-admin-neuca" 1s 972ms
And Go to "WAREHOUSE_TAB" 973ms
And Change warehouse in schedule to: "Katowice" 1s 507ms
And Wait "60" seconds 1m
And Verify that transport window is grey 087ms
And Verify that transport is in archive 9s 497ms
Then Restore transport from archive 2s 504ms
And Verify that transport has been successfully restored 15s 639ms
After Hooks.deleteTransportAfterTest() 928ms
After Hooks.rollbackSettings() 116ms
Given Login as "dayco-admin" and set token of apiUsername "super-admin-dayco" 6s 661ms
And Create transport "CREATE_OWN_COLLECTION" by JSON file as "super-admin-dayco" 2s 057ms
When Go to "TRANSPORT_TABLE" 351ms
And Delete transport 19s 522ms
When Go to "ARCHIVE_TAB" 511ms
And Show "OWN_COLLECTION" 160ms
And Verify that created transport is "true" in transport table 15s 149ms
After Hooks.deleteTransportAfterTest() 745ms
Scenario Outline Check if confirming transport status removed it to the archive
Steps
Given Set token of apiUsername "super-admin-dayco" 224ms
And Get custom field settings for "OWN_COLLECTION" transport type and "dayco" company 129ms
And Mark custom fields as not obligatory 005ms
And Login as "dayco-admin" 2s 247ms
And Create transport "CREATE_OWN_COLLECTION" by JSON file as "super-admin-dayco" 2s 054ms
And Get setting "ARCHIVING_JOB_INTERVAL" for "dayco" 131ms
And Prepare setting: "ARCHIVING_JOB_INTERVAL" with value: "10s" with "super-admin-dayco" 029ms
When Go to "TRANSPORT_TABLE" 410ms
And Click button advice in transport table "OWN_COLLECTION" 1s 454ms
And Create advice "ADVICE_OWN_COLLECTION" "OWN_COLLECTION" "super-admin-dayco" 46s 002ms
And Go to "TRANSPORT_TABLE" 440ms
And Find transport in table with status "planned-magazyn-tychy" 3s 661ms
And Confirm statuses until reach "process-ended" 13s 685ms
And Wait "12" seconds 12s
Then Go to "ARCHIVE_TAB" 457ms
And Show "OWN_COLLECTION" 151ms
And Verify that created transport is "true" in transport table 1m 32s 354ms
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 077ms
After Hooks.rollbackAllCustomFieldsSettings() 503ms
After Hooks.rollbackSettings() 156ms