Project Number Date
ApolloFullRunnerReport develop.291 03 lut 2021, 04:53

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 19s 457ms Failed
Feature Advice Mail
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 1s 019ms
And Prepare user "adama-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 234ms
And Create transport "CREATE_CONTAINER" by JSON file as "super-admin-adama" 1s 281ms
And Get inputs from database "ADVICE_CONTAINER" "super-admin-adama" 003ms
And Show all transport types 1s 046ms
And Click button advice in transport table "CONTAINER" 125ms
And Set advice window in schedule 2s 381ms
And Fill advice form 11s 770ms
And Click advice save button and wait for advice form to disappear 15s 753ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zapisano awizację! | Advice has been saved!" 6s 616ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 113ms
After Hooks.cleanUserDetailsAfterTest() 178ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 207ms
And Prepare user "piast-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 166ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 1s 302ms
And Get inputs from database "ADVICE_DELIVERY" "super-admin-piast" 003ms
And Show all transport types 1s 042ms
And Click button advice in transport table "DELIVERY" 132ms
And Set advice window in schedule 2s 563ms
And Fill advice form 8s 365ms
And Click advice save button and wait for advice form to disappear 30s 761ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zapisano awizację! | Advice has been saved!" 7s 807ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 124ms
After Hooks.cleanUserDetailsAfterTest() 179ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 225ms
And Prepare user "keeeper-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 287ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-keeeper" 1s 285ms
And Get inputs from database "ADVICE_LOAD" "super-admin-keeeper" 002ms
And Show all transport types 1s 039ms
And Click button advice in transport table "LOAD" 116ms
And Set advice window in schedule 2s 404ms
And Fill advice form 13s 180ms
And Click advice save button and wait for advice form to disappear 30s 659ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zapisano awizację! | Time window has been saved!" 7s 364ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 154ms
After Hooks.cleanUserDetailsAfterTest() 250ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 585ms
And Prepare user "adama-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 178ms
And Create transport "CREATE_CONTAINER" by JSON file as "super-admin-adama" 1s 197ms
And Show all transport types 1s 030ms
And Create advice "ADVICE_CONTAINER" "CONTAINER" "super-admin-adama" 45s 028ms
And Go to "TRANSPORT_TABLE" 133ms
And Go to transport details "CONTAINER" 4s 412ms
And Get inputs from database "EDIT_CONTAINER" "super-admin-adama" 003ms
When Go to transport details "CONTAINER" 3s 233ms
And Fill transport form 4s 731ms
And Get inputs from database "EDIT_ADVICE_CONTAINER" "super-admin-adama" 004ms
And Expand advice panel 119ms
And Edit advice in transport details 12s 403ms
And Click "save-transport-and-close" save button and wait for form to disappear 16s 159ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zmiana w awizacji numer" 26s 010ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 142ms
After Hooks.cleanUserDetailsAfterTest() 178ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 279ms
And Prepare user "piast-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 163ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 1s 218ms
And Show all transport types 1s 047ms
And Create advice "ADVICE_DELIVERY" "DELIVERY" "super-admin-piast" 41s 826ms
And Go to "TRANSPORT_TABLE" 205ms
And Go to transport details "DELIVERY" 4s 552ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-piast" 002ms
When Go to transport details "DELIVERY" 3s 207ms
And Fill transport form 1m 2s 464ms
And Get inputs from database "EDIT_ADVICE_DELIVERY" "super-admin-piast" 003ms
And Expand advice panel 113ms
And Edit advice in transport details 6s 618ms
And Click "save-transport-and-close" save button and wait for form to disappear 16s 150ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zmiana w awizacji numer" 26s 336ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 172ms
After Hooks.cleanUserDetailsAfterTest() 188ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 665ms
And Prepare user "keeeper-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 217ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-keeeper" 1s 232ms
And Show all transport types 1s 036ms
And Create advice "ADVICE_LOAD" "LOAD" "super-admin-keeeper" 46s 449ms
And Go to "TRANSPORT_TABLE" 170ms
And Go to transport details "LOAD" 4s 441ms
And Get inputs from database "EDIT_LOAD" "super-admin-keeeper" 003ms
When Go to transport details "LOAD" 3s 228ms
And Fill transport form 24s 749ms
And Get inputs from database "EDIT_ADVICE_LOAD" "super-admin-keeeper" 003ms
And Expand advice panel 128ms
And Edit advice in transport details 18s 632ms
And Click "save-transport-and-close" save button and wait for form to disappear 16s 146ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zmiana w awizacji numer" 44s 153ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 133ms
After Hooks.cleanUserDetailsAfterTest() 261ms
Given Set token of apiUsername "super-admin-skd" 095ms
And Prepare user "swiss-krono-delivery-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 213ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-skd" 1s 380ms
And Confirm status "ARRIVAL" by Public API "v1" 399ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Potwierdzono status Wjazd na teren zakładu" 13s 656ms
Then Check if user got a mail 000ms
And Confirm status "DEPARTURE" by Public API "v1" 162ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Potwierdzono status Wyjazd" 37s 199ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 149ms
After Hooks.cleanUserDetailsAfterTest() 196ms
Given Set token of apiUsername "super-admin-hochland" 095ms
And Prepare company "Dostawca Hochland Automat 1" verification email setting "48h" 011ms
And Prepare user "dha1-supplier-2@qa.qa-test" details with all notifications and "apolloautomattest@gmail.com" by JSON file 207ms
And Login as "dha1-supplier-2@qa.qa-test" and set token of apiUsername "dha1-supplier-2@qa.qa-test" 2s 754ms
And Create transport "CREATE_DELIVERY" by JSON file as "dha1-supplier-2@qa.qa-test" 15s 308ms
And Wait "120" seconds 2m
When Get mail "apolloautomattest@gmail.com" message from mail account with "Weryfikacja danych awizacji" 7s 954ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 128ms
After Hooks.cleanUserDetailsAfterTest() 254ms
After Hooks.rollbackVerificationEmailSettingAfterTest() 008ms
Scenario Outline Check if mail was not sent to creator if user is not enabled
Steps
Given Set token of apiUsername "super-admin-skd" 105ms
And Create and accept invitation by JSON file as "super-admin-skd" for "apolloautomattest@gmail.com" "CREATE_SQUARE_MANAGER_INVITATION" 648ms
And Get invited user account data "apolloautomattest@gmail.com" 1s 420ms
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:120)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.getLongResult(ApolloSelectDbService.java:110)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.findIdBy(ApolloSelectDbService.java:22)
	at CucumberTests.User.EditUserTest.prepareUserDetailsWithAllNotifications(EditUserTest.java:97)
	at CucumberTests.User.EditUserTest.prepareDisabledUserDetailsWithAllNotificationsAndByJSONFile(EditUserTest.java:93)
	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() 109ms