Project Number Date
ApolloFullRunnerReport kapibary.20 28 maj 2021, 07:28

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Move transport to archive 18 2 13 0 0 33 1 2 3 2m 767ms Failed
Feature Move transport to archive
Scenario Outline Check if delayed transport is moved to archived and can be restored
Steps
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 7s 129ms
And Check expected date interval for principal "neuca" in transport type "DELIVERY" and task "ARRIVE" 008ms
And Get setting "DELAY_TIME_TO_MOVE_ORDER_TO_ARCHIVE_AFTER_TASK_TIMEOUT" for "neuca" 151ms
And Set proper delay time to move order to archive after task timeout 145ms
When Create transport with time window start at closest full hour "CREATE_DELIVERY" by API as "super-admin-neuca" 1s 610ms
And Go to "WAREHOUSE_TAB" 985ms
And Change warehouse in schedule to: "Katowice" 1s 608ms
And Wait "60" seconds 1m
And Verify that transport window is grey 090ms
java.lang.AssertionError: Okno zlecenia nie zrobiło się szare
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at CucumberTests.Warehouse.WarehouseTest.verifyThatTransportWindowIsGrey(WarehouseTest.java:118)
	at ✽.Verify that transport window is grey(file:Features/Atom/Transport/Archive.feature:13)
And Verify that transport is in archive 000ms
Then Restore transport from archive 000ms
And Verify that transport has been successfully restored 000ms
After Hooks.deleteTransportAfterTest() 842ms
After Hooks.rollbackSettings() 144ms
Given Login as "dayco-admin" and set token of apiUsername "super-admin-dayco" 6s 118ms
And Create transport "CREATE_OWN_COLLECTION" by JSON file as "super-admin-dayco" 2s 045ms
When Go to "TRANSPORT_TABLE" 304ms
And Delete transport 19s 570ms
When Go to "ARCHIVE_TAB" 574ms
And Show "OWN_COLLECTION" 180ms
And Verify that created transport is "true" in transport table 15s 137ms
Scenario Outline Check if confirming transport status removed it to the archive
Steps
Given Login as "dayco-admin" and set token of apiUsername "super-admin-dayco" 2s 810ms
And Create transport "CREATE_OWN_COLLECTION" by JSON file as "super-admin-dayco" 2s 146ms
And Get setting "ARCHIVING_JOB_INTERVAL" for "dayco" 142ms
And Prepare setting: "ARCHIVING_JOB_INTERVAL" with value: "10s" with "super-admin-dayco" 007ms
java.lang.IllegalStateException: Transaction already active
	at org.hibernate.engine.transaction.internal.TransactionImpl.begin(TransactionImpl.java:75)
	at Utils.JpaUtils.Apollo.SelectService.ApolloUpdateDbService.setCompanySettingsByName(ApolloUpdateDbService.java:20)
	at CucumberTests.Settings.SettingsTest.prepareSettingWithValueWith(SettingsTest.java:55)
	at ✽.Prepare setting: "ARCHIVING_JOB_INTERVAL" with value: "10s" with "super-admin-dayco"(file:Features/Atom/Transport/Archive.feature:39)
When Go to "TRANSPORT_TABLE" 000ms
And Click button advice in transport table "OWN_COLLECTION" 000ms
And Create advice "ADVICE_OWN_COLLECTION" "OWN_COLLECTION" "super-admin-dayco" 000ms
And Go to "TRANSPORT_TABLE" 000ms
And Find transport in table with status "planned-magazyn-tychy" 000ms
And Confirm statuses until reach "process-ended" 000ms
And Wait "12" seconds 000ms
Then Go to "ARCHIVE_TAB" 000ms
And Show "OWN_COLLECTION" 000ms
And Verify that created transport is "true" in transport table 000ms
After Hooks.deleteTransportAfterTest() 514ms
After Hooks.rollbackSettings() 114ms