Project Number Date
ApolloFullRunnerReport develop.426 20 maj 2021, 05:03

Tag Report

Steps Scenarios Features
Tag Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
@rollbackSettings 31 1 10 0 0 42 3 1 4 2m 52s 748ms Failed
View Feature Invitation
Given If user is login then logout 068ms
Given Set token of apiUsername "super-admin-piast" 138ms
And Get setting "INVITATION_EXPIRATION_INTERVAL" for "piast" 175ms
Then Prepare setting: "INVITATION_EXPIRATION_INTERVAL" with value: "-1d" with "super-admin-piast" by API 289ms
And Create invitation by JSON file "super-admin-piast" for "automaty31415@test.pl" "CREATE_SUPPLIER_INVITATION" 309ms
Given Login as "super-admin-piast" and set token of apiUsername "super-admin-piast" 1s 284ms
Then Go to "INVITATIONS_TAB" 168ms
And Go to "EXPIRED_TAB" invitation status tab 074ms
Then Invitation is displayed on list "automaty31415@test.pl" 121ms
After Hooks.deleteInvitationAfterTest() 042ms
After Hooks.rollbackSettings() 049ms
View Feature DedicatedWindow
Given Set token of apiUsername "super-admin-skz" 120ms
And Get setting "AUTOMATIC_DELETING_UNUSED_DEDICATED_WINDOWS_INTERVAL" for "swisskrono" 060ms
And Create "CREATE_DEDICATED_WINDOW" window by JSON file for test as "super-admin-skz" 079ms
And Prepare setting for automatic time window delete with "super-admin-skz" 065ms
When Login as "swisskrono-admin" 1s 206ms
And Go to "WAREHOUSE_TAB" 482ms
Then Check if dedicated window is deleted from schedule 1m 24s 128ms
After Hooks.rollbackSettings() 072ms
View Feature Move transport to archive
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 1s 652ms
And Check expected date interval for principal "neuca" in transport type "DELIVERY" and task "ARRIVE" 001ms
And Get setting "DELAY_TIME_TO_MOVE_ORDER_TO_ARCHIVE_AFTER_TASK_TIMEOUT" for "neuca" 050ms
And Set proper delay time to move order to archive after task timeout 057ms
When Create transport with time window start at closest full hour "CREATE_DELIVERY" by API as "super-admin-neuca" 270ms
And Go to "WAREHOUSE_TAB" 689ms
And Change warehouse in schedule to: "Katowice" 1s 099ms
And Wait "60" seconds 1m
And Verify that transport window is grey 029ms
And Verify that transport is in archive 1s 248ms
Then Restore transport from archive 1s 089ms
And Verify that transport has been successfully restored 15s 254ms
After Hooks.deleteTransportAfterTest() 115ms
After Hooks.rollbackSettings() 049ms
View Feature Move transport to archive
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" 1s 206ms
And Create transport "CREATE_OWN_COLLECTION" by JSON file as "super-admin-dayco" 1s 267ms
And Get setting "ARCHIVING_JOB_INTERVAL" for "dayco" 052ms
And Prepare setting: "ARCHIVING_JOB_INTERVAL" with value: "10s" with "super-admin-dayco" 001ms
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() 089ms
After Hooks.rollbackSettings() 040ms