Project Number Date
ApolloFullRunnerReport develop.317 22 lut 2021, 10:48

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 8s 142ms Failed
Feature Advice Mail
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 1s 015ms
And Prepare user "adama-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 177ms
And Create transport "CREATE_CONTAINER" by JSON file as "super-admin-adama" 1s 212ms
And Get inputs from database "ADVICE_CONTAINER" "super-admin-adama" 004ms
And Show all transport types 1s 048ms
And Click button advice in transport table "CONTAINER" 120ms
And Set advice window in schedule 2s 383ms
And Fill advice form 11s 845ms
And Click advice save button and wait for advice form to disappear 31s 273ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zapisano awizację! | Advice has been saved!" 7s 764ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 137ms
After Hooks.cleanUserDetailsAfterTest() 190ms
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 157ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 1s 317ms
And Get inputs from database "ADVICE_DELIVERY" "super-admin-piast" 003ms
And Show all transport types 1s 044ms
And Click button advice in transport table "DELIVERY" 133ms
And Set advice window in schedule 2s 581ms
And Fill advice form 8s 427ms
And Click advice save button and wait for advice form to disappear 30s 674ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zapisano awizację! | Advice has been saved!" 19s 800ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 121ms
After Hooks.cleanUserDetailsAfterTest() 187ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 194ms
And Prepare user "keeeper-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 262ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-keeeper" 1s 260ms
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" 126ms
And Set advice window in schedule 2s 392ms
And Fill advice form 13s 299ms
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ę! | Time window has been saved!" 7s 309ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 134ms
After Hooks.cleanUserDetailsAfterTest() 197ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 528ms
And Prepare user "adama-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 150ms
And Create transport "CREATE_CONTAINER" by JSON file as "super-admin-adama" 1s 181ms
And Show all transport types 1s 054ms
And Create advice "ADVICE_CONTAINER" "CONTAINER" "super-admin-adama" 45s 054ms
And Go to "TRANSPORT_TABLE" 179ms
And Go to transport details "CONTAINER" 4s 462ms
And Get inputs from database "EDIT_CONTAINER" "super-admin-adama" 003ms
When Go to transport details "CONTAINER" 3s 170ms
And Fill transport form 4s 774ms
And Get inputs from database "EDIT_ADVICE_CONTAINER" "super-admin-adama" 003ms
And Expand advice panel 100ms
And Edit advice in transport details 12s 498ms
And Click "save-transport-and-close" save button and wait for form to disappear 658ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zmiana w awizacji numer" 38s 238ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 123ms
After Hooks.cleanUserDetailsAfterTest() 172ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 184ms
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 208ms
And Show all transport types 1s 050ms
And Create advice "ADVICE_DELIVERY" "DELIVERY" "super-admin-piast" 41s 989ms
And Go to "TRANSPORT_TABLE" 192ms
And Go to transport details "DELIVERY" 4s 556ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-piast" 004ms
When Go to transport details "DELIVERY" 3s 214ms
And Fill transport form 1m 2s 451ms
And Get inputs from database "EDIT_ADVICE_DELIVERY" "super-admin-piast" 003ms
And Expand advice panel 113ms
And Edit advice in transport details 6s 666ms
And Click "save-transport-and-close" save button and wait for form to disappear 16s 120ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zmiana w awizacji numer" 19s 723ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 108ms
After Hooks.cleanUserDetailsAfterTest() 175ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 509ms
And Prepare user "keeeper-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 192ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-keeeper" 1s 192ms
And Show all transport types 1s 050ms
And Create advice "ADVICE_LOAD" "LOAD" "super-admin-keeeper" 46s 583ms
And Go to "TRANSPORT_TABLE" 162ms
And Go to transport details "LOAD" 4s 405ms
And Get inputs from database "EDIT_LOAD" "super-admin-keeeper" 003ms
When Go to transport details "LOAD" 3s 190ms
And Fill transport form 24s 715ms
And Get inputs from database "EDIT_ADVICE_LOAD" "super-admin-keeeper" 003ms
And Expand advice panel 124ms
And Edit advice in transport details 18s 613ms
And Click "save-transport-and-close" save button and wait for form to disappear 16s 122ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zmiana w awizacji numer" 44s 012ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 148ms
After Hooks.cleanUserDetailsAfterTest() 211ms
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 217ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-skd" 1s 366ms
And Confirm status "ARRIVAL" by Public API "v1" 348ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Potwierdzono status Wjazd na teren zakładu" 13s 162ms
Then Check if user got a mail 000ms
And Confirm status "DEPARTURE" by Public API "v1" 140ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Potwierdzono status Wyjazd" 1m 8s 704ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 140ms
After Hooks.cleanUserDetailsAfterTest() 147ms
Given Set token of apiUsername "super-admin-hochland" 090ms
And Prepare company "Dostawca Hochland Automat 1" verification email setting "48h" 010ms
And Prepare user "dha1-supplier-2@qa.qa-test" details with all notifications and "apolloautomattest@gmail.com" by JSON file 200ms
And Login as "dha1-supplier-2@qa.qa-test" and set token of apiUsername "dha1-supplier-2@qa.qa-test" 2s 864ms
And Create transport "CREATE_DELIVERY" by JSON file as "dha1-supplier-2@qa.qa-test" 15s 274ms
And Wait "120" seconds 2m
When Get mail "apolloautomattest@gmail.com" message from mail account with "Weryfikacja danych awizacji" 6s 988ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 112ms
After Hooks.cleanUserDetailsAfterTest() 270ms
After Hooks.rollbackVerificationEmailSettingAfterTest() 006ms
Scenario Outline Check if mail was not sent to creator if user is not enabled
Steps
Given Set token of apiUsername "super-admin-skd" 106ms
And Create and accept invitation by JSON file as "super-admin-skd" for "apolloautomattest@gmail.com" "CREATE_SQUARE_MANAGER_INVITATION" 668ms
And Get invited user account data "apolloautomattest@gmail.com" 1s 451ms
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() 108ms