Project Number Date
ApolloFullRunnerReport develop.317 24 lut 2021, 06:32

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 4s 250ms 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 200ms
And Create transport "CREATE_CONTAINER" by JSON file as "super-admin-adama" 1s 223ms
And Get inputs from database "ADVICE_CONTAINER" "super-admin-adama" 003ms
And Show all transport types 1s 040ms
And Click button advice in transport table "CONTAINER" 138ms
And Set advice window in schedule 2s 387ms
And Fill advice form 11s 821ms
And Click advice save button and wait for advice form to disappear 30s 723ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zapisano awizację! | Advice has been saved!" 7s 861ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 110ms
After Hooks.cleanUserDetailsAfterTest() 132ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 242ms
And Prepare user "piast-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 159ms
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 048ms
And Click button advice in transport table "DELIVERY" 136ms
And Set advice window in schedule 2s 557ms
And Fill advice form 8s 434ms
And Click advice save button and wait for advice form to disappear 30s 740ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zapisano awizację! | Advice has been saved!" 8s 313ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 115ms
After Hooks.cleanUserDetailsAfterTest() 182ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 250ms
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 257ms
And Get inputs from database "ADVICE_LOAD" "super-admin-keeeper" 003ms
And Show all transport types 1s 047ms
And Click button advice in transport table "LOAD" 145ms
And Set advice window in schedule 2s 403ms
And Fill advice form 13s 286ms
And Click advice save button and wait for advice form to disappear 30s 726ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zapisano awizację! | Time window has been saved!" 7s 452ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 120ms
After Hooks.cleanUserDetailsAfterTest() 241ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 278ms
And Prepare user "adama-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 149ms
And Create transport "CREATE_CONTAINER" by JSON file as "super-admin-adama" 1s 177ms
And Show all transport types 1s 050ms
And Create advice "ADVICE_CONTAINER" "CONTAINER" "super-admin-adama" 45s 081ms
And Go to "TRANSPORT_TABLE" 189ms
And Go to transport details "CONTAINER" 4s 416ms
And Get inputs from database "EDIT_CONTAINER" "super-admin-adama" 003ms
When Go to transport details "CONTAINER" 3s 233ms
And Fill transport form 4s 727ms
And Get inputs from database "EDIT_ADVICE_CONTAINER" "super-admin-adama" 004ms
And Expand advice panel 120ms
And Edit advice in transport details 12s 482ms
And Click "save-transport-and-close" save button and wait for form to disappear 634ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zmiana w awizacji numer" 44s 453ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 112ms
After Hooks.cleanUserDetailsAfterTest() 169ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 167ms
And Prepare user "piast-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 149ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 1s 246ms
And Show all transport types 1s 046ms
And Create advice "ADVICE_DELIVERY" "DELIVERY" "super-admin-piast" 41s 889ms
And Go to "TRANSPORT_TABLE" 204ms
And Go to transport details "DELIVERY" 4s 563ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-piast" 003ms
When Go to transport details "DELIVERY" 3s 228ms
And Fill transport form 1m 2s 500ms
And Get inputs from database "EDIT_ADVICE_DELIVERY" "super-admin-piast" 003ms
And Expand advice panel 117ms
And Edit advice in transport details 6s 680ms
And Click "save-transport-and-close" save button and wait for form to disappear 16s 175ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zmiana w awizacji numer" 26s 096ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 199ms
After Hooks.cleanUserDetailsAfterTest() 190ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 450ms
And Prepare user "keeeper-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 248ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-keeeper" 1s 257ms
And Show all transport types 1s 051ms
And Create advice "ADVICE_LOAD" "LOAD" "super-admin-keeeper" 46s 627ms
And Go to "TRANSPORT_TABLE" 187ms
And Go to transport details "LOAD" 4s 447ms
And Get inputs from database "EDIT_LOAD" "super-admin-keeeper" 003ms
When Go to transport details "LOAD" 3s 231ms
And Fill transport form 24s 771ms
And Get inputs from database "EDIT_ADVICE_LOAD" "super-admin-keeeper" 003ms
And Expand advice panel 122ms
And Edit advice in transport details 18s 709ms
And Click "save-transport-and-close" save button and wait for form to disappear 16s 164ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zmiana w awizacji numer" 25s 750ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 118ms
After Hooks.cleanUserDetailsAfterTest() 240ms
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 197ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-skd" 1s 384ms
And Confirm status "ARRIVAL" by Public API "v1" 179ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Potwierdzono status Wjazd na teren zakładu" 26s 626ms
Then Check if user got a mail 000ms
And Confirm status "DEPARTURE" by Public API "v1" 167ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Potwierdzono status Wyjazd" 1m 8s 918ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 142ms
After Hooks.cleanUserDetailsAfterTest() 174ms
Given Set token of apiUsername "super-admin-hochland" 094ms
And Prepare company "Dostawca Hochland Automat 1" verification email setting "48h" 008ms
And Prepare user "dha1-supplier-2@qa.qa-test" details with all notifications and "apolloautomattest@gmail.com" by JSON file 214ms
And Login as "dha1-supplier-2@qa.qa-test" and set token of apiUsername "dha1-supplier-2@qa.qa-test" 2s 501ms
And Create transport "CREATE_DELIVERY" by JSON file as "dha1-supplier-2@qa.qa-test" 15s 348ms
And Wait "120" seconds 2m
When Get mail "apolloautomattest@gmail.com" message from mail account with "Weryfikacja danych awizacji" 7s 463ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 120ms
After Hooks.cleanUserDetailsAfterTest() 231ms
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" 105ms
And Create and accept invitation by JSON file as "super-admin-skd" for "apolloautomattest@gmail.com" "CREATE_SQUARE_MANAGER_INVITATION" 518ms
And Get invited user account data "apolloautomattest@gmail.com" 1s 124ms
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() 003ms
After Hooks.deleteUserAfterTest() 090ms