Project Number Date
ApolloFullRunnerReport develop.315 20 lut 2021, 12:52

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 35s 415ms Failed
Feature Advice Mail
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 1s 008ms
And Prepare user "adama-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 157ms
And Create transport "CREATE_CONTAINER" by JSON file as "super-admin-adama" 1s 208ms
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" 122ms
And Set advice window in schedule 2s 385ms
And Fill advice form 11s 835ms
And Click advice save button and wait for advice form to disappear 31s 272ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zapisano awizację! | Advice has been saved!" 7s 863ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 095ms
After Hooks.cleanUserDetailsAfterTest() 163ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 261ms
And Prepare user "piast-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 137ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 1s 274ms
And Get inputs from database "ADVICE_DELIVERY" "super-admin-piast" 003ms
And Show all transport types 1s 045ms
And Click button advice in transport table "DELIVERY" 136ms
And Set advice window in schedule 2s 586ms
And Fill advice form 8s 417ms
And Click advice save button and wait for advice form to disappear 30s 730ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zapisano awizację! | Advice has been saved!" 7s 355ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 138ms
After Hooks.cleanUserDetailsAfterTest() 180ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 208ms
And Prepare user "keeeper-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 310ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-keeeper" 1s 239ms
And Get inputs from database "ADVICE_LOAD" "super-admin-keeeper" 002ms
And Show all transport types 1s 051ms
And Click button advice in transport table "LOAD" 129ms
And Set advice window in schedule 2s 400ms
And Fill advice form 13s 203ms
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 392ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 143ms
After Hooks.cleanUserDetailsAfterTest() 237ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 445ms
And Prepare user "adama-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 154ms
And Create transport "CREATE_CONTAINER" by JSON file as "super-admin-adama" 1s 247ms
And Show all transport types 1s 032ms
And Create advice "ADVICE_CONTAINER" "CONTAINER" "super-admin-adama" 45s 172ms
And Go to "TRANSPORT_TABLE" 186ms
And Go to transport details "CONTAINER" 4s 445ms
And Get inputs from database "EDIT_CONTAINER" "super-admin-adama" 004ms
When Go to transport details "CONTAINER" 3s 192ms
And Fill transport form 4s 744ms
And Get inputs from database "EDIT_ADVICE_CONTAINER" "super-admin-adama" 004ms
And Expand advice panel 122ms
And Edit advice in transport details 12s 479ms
And Click "save-transport-and-close" save button and wait for form to disappear 15s 646ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zmiana w awizacji numer" 31s 547ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 126ms
After Hooks.cleanUserDetailsAfterTest() 183ms
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 175ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 1s 274ms
And Show all transport types 1s 050ms
And Create advice "ADVICE_DELIVERY" "DELIVERY" "super-admin-piast" 41s 932ms
And Go to "TRANSPORT_TABLE" 225ms
And Go to transport details "DELIVERY" 4s 571ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-piast" 004ms
When Go to transport details "DELIVERY" 3s 211ms
And Fill transport form 1m 2s 469ms
And Get inputs from database "EDIT_ADVICE_DELIVERY" "super-admin-piast" 003ms
And Expand advice panel 115ms
And Edit advice in transport details 6s 673ms
And Click "save-transport-and-close" save button and wait for form to disappear 16s 145ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zmiana w awizacji numer" 25s 888ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 150ms
After Hooks.cleanUserDetailsAfterTest() 183ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 530ms
And Prepare user "keeeper-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 214ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-keeeper" 1s 256ms
And Show all transport types 1s 048ms
And Create advice "ADVICE_LOAD" "LOAD" "super-admin-keeeper" 46s 494ms
And Go to "TRANSPORT_TABLE" 177ms
And Go to transport details "LOAD" 4s 401ms
And Get inputs from database "EDIT_LOAD" "super-admin-keeeper" 003ms
When Go to transport details "LOAD" 3s 207ms
And Fill transport form 24s 714ms
And Get inputs from database "EDIT_ADVICE_LOAD" "super-admin-keeeper" 003ms
And Expand advice panel 125ms
And Edit advice in transport details 18s 681ms
And Click "save-transport-and-close" save button and wait for form to disappear 16s 127ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zmiana w awizacji numer" 38s 419ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 160ms
After Hooks.cleanUserDetailsAfterTest() 246ms
Given Set token of apiUsername "super-admin-skd" 097ms
And Prepare user "swiss-krono-delivery-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 212ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-skd" 1s 376ms
And Confirm status "ARRIVAL" by Public API "v1" 354ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Potwierdzono status Wjazd na teren zakładu" 13s 361ms
Then Check if user got a mail 000ms
And Confirm status "DEPARTURE" by Public API "v1" 214ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Potwierdzono status Wyjazd" 38s 027ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 132ms
After Hooks.cleanUserDetailsAfterTest() 168ms
Given Set token of apiUsername "super-admin-hochland" 096ms
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 211ms
And Login as "dha1-supplier-2@qa.qa-test" and set token of apiUsername "dha1-supplier-2@qa.qa-test" 2s 797ms
And Create transport "CREATE_DELIVERY" by JSON file as "dha1-supplier-2@qa.qa-test" 15s 321ms
And Wait "120" seconds 2m
When Get mail "apolloautomattest@gmail.com" message from mail account with "Weryfikacja danych awizacji" 7s 499ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 167ms
After Hooks.cleanUserDetailsAfterTest() 224ms
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" 110ms
And Create and accept invitation by JSON file as "super-admin-skd" for "apolloautomattest@gmail.com" "CREATE_SQUARE_MANAGER_INVITATION" 537ms
And Get invited user account data "apolloautomattest@gmail.com" 1s 467ms
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() 002ms
After Hooks.deleteUserAfterTest() 185ms