Project Number Date
ApolloFullRunnerReport develop.307 16 lut 2021, 05:08

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Advice Mail 101 1 4 0 0 106 8 1 9 13m 50s 057ms Failed
Feature Advice Mail
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 1s 020ms
And Prepare user "adama-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 185ms
And Create transport "CREATE_CONTAINER" by JSON file as "super-admin-adama" 1s 224ms
And Get inputs from database "ADVICE_CONTAINER" "super-admin-adama" 003ms
And Show all transport types 1s 053ms
And Click button advice in transport table "CONTAINER" 137ms
And Set advice window in schedule 2s 425ms
And Fill advice form 11s 924ms
And Click advice save button and wait for advice form to disappear 30s 713ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zapisano awizację! | Advice has been saved!" 7s 227ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 120ms
After Hooks.cleanUserDetailsAfterTest() 161ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 231ms
And Prepare user "piast-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 132ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 1s 294ms
And Get inputs from database "ADVICE_DELIVERY" "super-admin-piast" 003ms
And Show all transport types 1s 047ms
And Click button advice in transport table "DELIVERY" 136ms
And Set advice window in schedule 2s 551ms
And Fill advice form 8s 458ms
And Click advice save button and wait for advice form to disappear 30s 751ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zapisano awizację! | Advice has been saved!" 6s 907ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 124ms
After Hooks.cleanUserDetailsAfterTest() 178ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 246ms
And Prepare user "keeeper-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 255ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-keeeper" 1s 266ms
And Get inputs from database "ADVICE_LOAD" "super-admin-keeeper" 004ms
And Show all transport types 1s 050ms
And Click button advice in transport table "LOAD" 131ms
And Set advice window in schedule 2s 400ms
And Fill advice form 13s 274ms
And Click advice save button and wait for advice form to disappear 30s 711ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zapisano awizację! | Time window has been saved!" 13s 458ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 131ms
After Hooks.cleanUserDetailsAfterTest() 264ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 561ms
And Prepare user "adama-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 163ms
And Create transport "CREATE_CONTAINER" by JSON file as "super-admin-adama" 1s 208ms
And Show all transport types 1s 091ms
And Create advice "ADVICE_CONTAINER" "CONTAINER" "super-admin-adama" 45s 127ms
And Go to "TRANSPORT_TABLE" 148ms
And Go to transport details "CONTAINER" 4s 425ms
And Get inputs from database "EDIT_CONTAINER" "super-admin-adama" 003ms
When Go to transport details "CONTAINER" 3s 236ms
And Fill transport form 4s 728ms
And Get inputs from database "EDIT_ADVICE_CONTAINER" "super-admin-adama" 004ms
And Expand advice panel 122ms
And Edit advice in transport details 12s 460ms
And Click "save-transport-and-close" save button and wait for form to disappear 16s 116ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zmiana w awizacji numer" 49s 419ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 118ms
After Hooks.cleanUserDetailsAfterTest() 171ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 546ms
And Prepare user "piast-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 140ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 1s 233ms
And Show all transport types 1s 046ms
And Create advice "ADVICE_DELIVERY" "DELIVERY" "super-admin-piast" 41s 922ms
And Go to "TRANSPORT_TABLE" 217ms
And Go to transport details "DELIVERY" 4s 533ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-piast" 005ms
When Go to transport details "DELIVERY" 3s 210ms
And Fill transport form 1m 2s 669ms
And Get inputs from database "EDIT_ADVICE_DELIVERY" "super-admin-piast" 004ms
And Expand advice panel 108ms
And Edit advice in transport details 6s 647ms
And Click "save-transport-and-close" save button and wait for form to disappear 16s 162ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zmiana w awizacji numer" 31s 131ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 147ms
After Hooks.cleanUserDetailsAfterTest() 180ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 555ms
And Prepare user "keeeper-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 288ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-keeeper" 1s 280ms
And Show all transport types 1s 057ms
And Create advice "ADVICE_LOAD" "LOAD" "super-admin-keeeper" 46s 496ms
And Go to "TRANSPORT_TABLE" 170ms
And Go to transport details "LOAD" 4s 394ms
And Get inputs from database "EDIT_LOAD" "super-admin-keeeper" 003ms
When Go to transport details "LOAD" 3s 213ms
And Fill transport form 24s 754ms
And Get inputs from database "EDIT_ADVICE_LOAD" "super-admin-keeeper" 003ms
And Expand advice panel 112ms
And Edit advice in transport details 18s 613ms
And Click "save-transport-and-close" save button and wait for form to disappear 16s 105ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zmiana w awizacji numer" 19s 491ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 129ms
After Hooks.cleanUserDetailsAfterTest() 205ms
Given Set token of apiUsername "super-admin-skd" 096ms
And Prepare user "swiss-krono-delivery-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 203ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-skd" 1s 317ms
And Confirm status "ARRIVAL" by Public API "v1" 317ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Potwierdzono status Wjazd na teren zakładu" 19s 348ms
Then Check if user got a mail 000ms
And Confirm status "DEPARTURE" by Public API "v1" 164ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Potwierdzono status Wyjazd" 37s 638ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 161ms
After Hooks.cleanUserDetailsAfterTest() 181ms
Given Set token of apiUsername "super-admin-hochland" 094ms
And Prepare company "Dostawca Hochland Automat 1" verification email setting "48h" 007ms
And Prepare user "dha1-supplier-2@qa.qa-test" details with all notifications and "apolloautomattest@gmail.com" by JSON file 188ms
And Login as "dha1-supplier-2@qa.qa-test" and set token of apiUsername "dha1-supplier-2@qa.qa-test" 2s 721ms
And Create transport "CREATE_DELIVERY" by JSON file as "dha1-supplier-2@qa.qa-test" 15s 347ms
And Wait "120" seconds 2m
When Get mail "apolloautomattest@gmail.com" message from mail account with "Weryfikacja danych awizacji" 7s 278ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 124ms
After Hooks.cleanUserDetailsAfterTest() 248ms
After Hooks.rollbackVerificationEmailSettingAfterTest() 007ms
Scenario Outline Check if mail was not sent to creator if user is not enabled
Steps
Given Set token of apiUsername "super-admin-skd" 108ms
And Create and accept invitation by JSON file as "super-admin-skd" for "apolloautomattest@gmail.com" "CREATE_SQUARE_MANAGER_INVITATION" 543ms
And Get invited user account data "apolloautomattest@gmail.com" 1s 501ms
And Prepare disabled user "test-1" details with all notifications and "apolloautomattest@gmail.com" by JSON file 001ms
java.lang.AssertionError: Nie znaleziono szukanego zasobu w Apollo!
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.getBigIntegerResult(ApolloSelectDbService.java:117)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.getLongResult(ApolloSelectDbService.java:107)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.findIdBy(ApolloSelectDbService.java:19)
	at CucumberTests.User.EditUserTest.prepareUserDetailsWithAllNotifications(EditUserTest.java:99)
	at CucumberTests.User.EditUserTest.prepareDisabledUserDetailsWithAllNotificationsAndByJSONFile(EditUserTest.java:95)
	at ✽.Prepare disabled user "test-1" details with all notifications and "apolloautomattest@gmail.com" by JSON file(file:Features/Atom/Mail/AdviceMail.feature:80)
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-skd" 000ms
And Confirm status "ARRIVAL" by Public API "v1" 000ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Potwierdzono status Wjazd na teren zakładu" 000ms
Then Check if user did not get an mail 000ms
After Hooks.deleteTransportAfterTest() 001ms
After Hooks.deleteUserAfterTest() 121ms