Project Number Date
ApolloFullRunnerReport develop.295 04 lut 2021, 05:47

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 14m 17s 558ms Failed
Feature Advice Mail
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 752ms
And Prepare user "adama-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 1s 293ms
And Create transport "CREATE_CONTAINER" by JSON file as "super-admin-adama" 1s 296ms
And Get inputs from database "ADVICE_CONTAINER" "super-admin-adama" 002ms
And Show all transport types 1s 033ms
And Click button advice in transport table "CONTAINER" 114ms
And Set advice window in schedule 2s 349ms
And Fill advice form 11s 807ms
And Click advice save button and wait for advice form to disappear 31s 235ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zapisano awizację! | Advice has been saved!" 7s 813ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 119ms
After Hooks.cleanUserDetailsAfterTest() 168ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 216ms
And Prepare user "piast-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 152ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 1s 335ms
And Get inputs from database "ADVICE_DELIVERY" "super-admin-piast" 003ms
And Show all transport types 1s 041ms
And Click button advice in transport table "DELIVERY" 131ms
And Set advice window in schedule 2s 583ms
And Fill advice form 8s 358ms
And Click advice save button and wait for advice form to disappear 30s 782ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zapisano awizację! | Advice has been saved!" 7s 058ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 142ms
After Hooks.cleanUserDetailsAfterTest() 171ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 209ms
And Prepare user "keeeper-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 274ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-keeeper" 1s 259ms
And Get inputs from database "ADVICE_LOAD" "super-admin-keeeper" 003ms
And Show all transport types 1s 049ms
And Click button advice in transport table "LOAD" 128ms
And Set advice window in schedule 2s 388ms
And Fill advice form 13s 124ms
And Click advice save button and wait for advice form to disappear 30s 728ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zapisano awizację! | Time window has been saved!" 7s 415ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 139ms
After Hooks.cleanUserDetailsAfterTest() 218ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 683ms
And Prepare user "adama-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 153ms
And Create transport "CREATE_CONTAINER" by JSON file as "super-admin-adama" 1s 205ms
And Show all transport types 1s 052ms
And Create advice "ADVICE_CONTAINER" "CONTAINER" "super-admin-adama" 44s 957ms
And Go to "TRANSPORT_TABLE" 188ms
And Go to transport details "CONTAINER" 4s 436ms
And Get inputs from database "EDIT_CONTAINER" "super-admin-adama" 003ms
When Go to transport details "CONTAINER" 3s 236ms
And Fill transport form 4s 726ms
And Get inputs from database "EDIT_ADVICE_CONTAINER" "super-admin-adama" 004ms
And Expand advice panel 109ms
And Edit advice in transport details 12s 471ms
And Click "save-transport-and-close" save button and wait for form to disappear 16s 173ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zmiana w awizacji numer" 45s 797ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 148ms
After Hooks.cleanUserDetailsAfterTest() 180ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 612ms
And Prepare user "piast-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 181ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 1s 236ms
And Show all transport types 1s 047ms
And Create advice "ADVICE_DELIVERY" "DELIVERY" "super-admin-piast" 41s 746ms
And Go to "TRANSPORT_TABLE" 204ms
And Go to transport details "DELIVERY" 4s 527ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-piast" 002ms
When Go to transport details "DELIVERY" 3s 191ms
And Fill transport form 1m 2s 402ms
And Get inputs from database "EDIT_ADVICE_DELIVERY" "super-admin-piast" 003ms
And Expand advice panel 112ms
And Edit advice in transport details 6s 644ms
And Click "save-transport-and-close" save button and wait for form to disappear 16s 114ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zmiana w awizacji numer" 20s 043ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 147ms
After Hooks.cleanUserDetailsAfterTest() 175ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 3s 024ms
And Prepare user "keeeper-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 234ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-keeeper" 1s 254ms
And Show all transport types 1s 050ms
And Create advice "ADVICE_LOAD" "LOAD" "super-admin-keeeper" 46s 419ms
And Go to "TRANSPORT_TABLE" 178ms
And Go to transport details "LOAD" 4s 442ms
And Get inputs from database "EDIT_LOAD" "super-admin-keeeper" 003ms
When Go to transport details "LOAD" 3s 229ms
And Fill transport form 24s 767ms
And Get inputs from database "EDIT_ADVICE_LOAD" "super-admin-keeeper" 003ms
And Expand advice panel 103ms
And Edit advice in transport details 18s 658ms
And Click "save-transport-and-close" save button and wait for form to disappear 15s 609ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zmiana w awizacji numer" 46s 714ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 125ms
After Hooks.cleanUserDetailsAfterTest() 191ms
Given Set token of apiUsername "super-admin-skd" 090ms
And Prepare user "swiss-krono-delivery-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 236ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-skd" 1s 358ms
And Confirm status "ARRIVAL" by Public API "v1" 278ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Potwierdzono status Wjazd na teren zakładu" 12s 865ms
Then Check if user got a mail 000ms
And Confirm status "DEPARTURE" by Public API "v1" 144ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Potwierdzono status Wyjazd" 1m 1s 882ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 131ms
After Hooks.cleanUserDetailsAfterTest() 178ms
Given Set token of apiUsername "super-admin-hochland" 103ms
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 149ms
And Login as "dha1-supplier-2@qa.qa-test" and set token of apiUsername "dha1-supplier-2@qa.qa-test" 2s 603ms
And Create transport "CREATE_DELIVERY" by JSON file as "dha1-supplier-2@qa.qa-test" 15s 411ms
And Wait "120" seconds 2m
When Get mail "apolloautomattest@gmail.com" message from mail account with "Weryfikacja danych awizacji" 7s 475ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 123ms
After Hooks.cleanUserDetailsAfterTest() 239ms
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" 102ms
And Create and accept invitation by JSON file as "super-admin-skd" for "apolloautomattest@gmail.com" "CREATE_SQUARE_MANAGER_INVITATION" 531ms
And Get invited user account data "apolloautomattest@gmail.com" 1s 396ms
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() 003ms
After Hooks.deleteUserAfterTest() 085ms