Project Number Date
ApolloFullRunnerReport develop.312 20 lut 2021, 06:27

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 5s 485ms Failed
Feature Advice Mail
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 1s 058ms
And Prepare user "adama-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 144ms
And Create transport "CREATE_CONTAINER" by JSON file as "super-admin-adama" 1s 196ms
And Get inputs from database "ADVICE_CONTAINER" "super-admin-adama" 003ms
And Show all transport types 1s 047ms
And Click button advice in transport table "CONTAINER" 117ms
And Set advice window in schedule 2s 409ms
And Fill advice form 11s 810ms
And Click advice save button and wait for advice form to disappear 30s 717ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zapisano awizację! | Advice has been saved!" 12s 137ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 113ms
After Hooks.cleanUserDetailsAfterTest() 160ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 248ms
And Prepare user "piast-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 153ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 1s 273ms
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" 133ms
And Set advice window in schedule 2s 563ms
And Fill advice form 8s 478ms
And Click advice save button and wait for advice form to disappear 30s 719ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zapisano awizację! | Advice has been saved!" 7s 589ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 095ms
After Hooks.cleanUserDetailsAfterTest() 168ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 213ms
And Prepare user "keeeper-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 250ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-keeeper" 1s 254ms
And Get inputs from database "ADVICE_LOAD" "super-admin-keeeper" 004ms
And Show all transport types 1s 046ms
And Click button advice in transport table "LOAD" 133ms
And Set advice window in schedule 2s 397ms
And Fill advice form 13s 219ms
And Click advice save button and wait for advice form to disappear 30s 719ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zapisano awizację! | Time window has been saved!" 7s 451ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 134ms
After Hooks.cleanUserDetailsAfterTest() 199ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 281ms
And Prepare user "adama-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 170ms
And Create transport "CREATE_CONTAINER" by JSON file as "super-admin-adama" 1s 231ms
And Show all transport types 1s 045ms
And Create advice "ADVICE_CONTAINER" "CONTAINER" "super-admin-adama" 45s 073ms
And Go to "TRANSPORT_TABLE" 187ms
And Go to transport details "CONTAINER" 4s 465ms
And Get inputs from database "EDIT_CONTAINER" "super-admin-adama" 003ms
When Go to transport details "CONTAINER" 3s 230ms
And Fill transport form 4s 743ms
And Get inputs from database "EDIT_ADVICE_CONTAINER" "super-admin-adama" 003ms
And Expand advice panel 131ms
And Edit advice in transport details 12s 465ms
And Click "save-transport-and-close" save button and wait for form to disappear 16s 129ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zmiana w awizacji numer" 45s 482ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 127ms
After Hooks.cleanUserDetailsAfterTest() 175ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 312ms
And Prepare user "piast-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 165ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 1s 290ms
And Show all transport types 1s 042ms
And Create advice "ADVICE_DELIVERY" "DELIVERY" "super-admin-piast" 41s 926ms
And Go to "TRANSPORT_TABLE" 219ms
And Go to transport details "DELIVERY" 4s 544ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-piast" 004ms
When Go to transport details "DELIVERY" 3s 219ms
And Fill transport form 1m 2s 638ms
And Get inputs from database "EDIT_ADVICE_DELIVERY" "super-admin-piast" 003ms
And Expand advice panel 102ms
And Edit advice in transport details 6s 687ms
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" 49s 539ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 170ms
After Hooks.cleanUserDetailsAfterTest() 171ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 334ms
And Prepare user "keeeper-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 261ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-keeeper" 1s 242ms
And Show all transport types 1s 047ms
And Create advice "ADVICE_LOAD" "LOAD" "super-admin-keeeper" 46s 596ms
And Go to "TRANSPORT_TABLE" 177ms
And Go to transport details "LOAD" 4s 427ms
And Get inputs from database "EDIT_LOAD" "super-admin-keeeper" 003ms
When Go to transport details "LOAD" 3s 226ms
And Fill transport form 24s 729ms
And Get inputs from database "EDIT_ADVICE_LOAD" "super-admin-keeeper" 003ms
And Expand advice panel 127ms
And Edit advice in transport details 18s 657ms
And Click "save-transport-and-close" save button and wait for form to disappear 639ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zmiana w awizacji numer" 38s 309ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 150ms
After Hooks.cleanUserDetailsAfterTest() 219ms
Given Set token of apiUsername "super-admin-skd" 113ms
And Prepare user "swiss-krono-delivery-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 175ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-skd" 1s 332ms
And Confirm status "ARRIVAL" by Public API "v1" 171ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Potwierdzono status Wjazd na teren zakładu" 31s 287ms
Then Check if user got a mail 000ms
And Confirm status "DEPARTURE" by Public API "v1" 155ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Potwierdzono status Wyjazd" 25s 393ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 124ms
After Hooks.cleanUserDetailsAfterTest() 162ms
Given Set token of apiUsername "super-admin-hochland" 098ms
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 190ms
And Login as "dha1-supplier-2@qa.qa-test" and set token of apiUsername "dha1-supplier-2@qa.qa-test" 2s 521ms
And Create transport "CREATE_DELIVERY" by JSON file as "dha1-supplier-2@qa.qa-test" 15s 315ms
And Wait "120" seconds 2m
When Get mail "apolloautomattest@gmail.com" message from mail account with "Weryfikacja danych awizacji" 7s 050ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 092ms
After Hooks.cleanUserDetailsAfterTest() 188ms
After Hooks.rollbackVerificationEmailSettingAfterTest() 005ms
Scenario Outline Check if mail was not sent to creator if user is not enabled
Steps
Given Set token of apiUsername "super-admin-skd" 100ms
And Create and accept invitation by JSON file as "super-admin-skd" for "apolloautomattest@gmail.com" "CREATE_SQUARE_MANAGER_INVITATION" 498ms
And Get invited user account data "apolloautomattest@gmail.com" 1s 238ms
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() 093ms