Project Number Date
ApolloFullRunnerReport develop.282 26 sty 2021, 04:33

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Advice Mail 96 2 8 0 0 106 7 2 9 13m 50s 296ms Failed
Feature Advice Mail
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 1s 034ms
And Prepare user "adama-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 272ms
And Create transport "CREATE_CONTAINER" by JSON file as "super-admin-adama" 1s 230ms
And Get inputs from database "ADVICE_CONTAINER" "super-admin-adama" 004ms
And Show all transport types 1s 042ms
And Click button advice in transport table "CONTAINER" 124ms
And Set advice window in schedule 2s 384ms
And Fill advice form 11s 804ms
And Click advice save button and wait for advice form to disappear 31s 287ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zapisano awizację! | Advice has been saved!" 7s 767ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 131ms
After Hooks.cleanUserDetailsAfterTest() 183ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 226ms
And Prepare user "piast-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 188ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 1s 255ms
And Get inputs from database "ADVICE_DELIVERY" "super-admin-piast" 002ms
And Show all transport types 1s 043ms
And Click button advice in transport table "DELIVERY" 137ms
And Set advice window in schedule 2s 557ms
And Fill advice form 8s 328ms
And Click advice save button and wait for advice form to disappear 30s 768ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zapisano awizację! | Advice has been saved!" 7s 387ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 128ms
After Hooks.cleanUserDetailsAfterTest() 170ms
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 290ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-keeeper" 1s 258ms
And Get inputs from database "ADVICE_LOAD" "super-admin-keeeper" 003ms
And Show all transport types 1s 048ms
And Click button advice in transport table "LOAD" 139ms
And Set advice window in schedule 2s 405ms
And Fill advice form 13s 121ms
And Click advice save button and wait for advice form to disappear 30s 765ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zapisano awizację! | Time window has been saved!" 13s 316ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 110ms
After Hooks.cleanUserDetailsAfterTest() 227ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 454ms
And Prepare user "adama-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 166ms
And Create transport "CREATE_CONTAINER" by JSON file as "super-admin-adama" 1s 202ms
And Show all transport types 1s 045ms
And Create advice "ADVICE_CONTAINER" "CONTAINER" "super-admin-adama" 45s 062ms
And Go to "TRANSPORT_TABLE" 173ms
And Go to transport details "CONTAINER" 4s 407ms
And Get inputs from database "EDIT_CONTAINER" "super-admin-adama" 003ms
When Go to transport details "CONTAINER" 3s 211ms
And Fill transport form 4s 738ms
And Get inputs from database "EDIT_ADVICE_CONTAINER" "super-admin-adama" 004ms
And Expand advice panel 111ms
And Edit advice in transport details 12s 464ms
And Click "save-transport-and-close" save button and wait for form to disappear 16s 126ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zmiana w awizacji numer" 31s 831ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 130ms
After Hooks.cleanUserDetailsAfterTest() 173ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 730ms
And Prepare user "piast-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 177ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 1s 275ms
And Show all transport types 1s 046ms
And Create advice "ADVICE_DELIVERY" "DELIVERY" "super-admin-piast" 41s 766ms
And Go to "TRANSPORT_TABLE" 198ms
And Go to transport details "DELIVERY" 4s 550ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-piast" 004ms
When Go to transport details "DELIVERY" 3s 225ms
And Fill transport form 1m 2s 523ms
And Get inputs from database "EDIT_ADVICE_DELIVERY" "super-admin-piast" 003ms
And Expand advice panel 113ms
And Edit advice in transport details 6s 692ms
And Click "save-transport-and-close" save button and wait for form to disappear 16s 193ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zmiana w awizacji numer" 54s 685ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 176ms
After Hooks.cleanUserDetailsAfterTest() 208ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 586ms
And Prepare user "keeeper-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 202ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-keeeper" 1s 249ms
And Show all transport types 1s 051ms
And Create advice "ADVICE_LOAD" "LOAD" "super-admin-keeeper" 46s 421ms
And Go to "TRANSPORT_TABLE" 175ms
And Go to transport details "LOAD" 4s 403ms
And Get inputs from database "EDIT_LOAD" "super-admin-keeeper" 004ms
When Go to transport details "LOAD" 3s 228ms
And Fill transport form 24s 796ms
And Get inputs from database "EDIT_ADVICE_LOAD" "super-admin-keeeper" 003ms
And Expand advice panel 125ms
And Edit advice in transport details 18s 682ms
And Click "save-transport-and-close" save button and wait for form to disappear 16s 137ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zmiana w awizacji numer" 1m 2s 305ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 126ms
After Hooks.cleanUserDetailsAfterTest() 239ms
Scenario Outline Check if mail was sent to creator after status confirmation
Steps
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 208ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-skd" 1s 366ms
And Confirm status "ARRIVAL" by Public API "v1" 296ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Potwierdzono status Wjazd na teren zakładu" 6s 384ms
javax.mail.AuthenticationFailedException: [AUTHENTICATIONFAILED] Invalid credentials (Failure)
	at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:732)
	at javax.mail.Service.connect(Service.java:366)
	at javax.mail.Service.connect(Service.java:246)
	at Services.MailService.MailService.getDataFromEmail(MailService.java:27)
	at CucumberTests.Mail.MailTest.getMailMessageFromMailAccountWith(MailTest.java:24)
	at ✽.Get mail "apolloautomattest@gmail.com" message from mail account with "Potwierdzono status Wjazd na teren zakładu"(file:Features/Atom/Mail/AdviceMail.feature:52)
Then Check if user got a mail 000ms
And Confirm status "DEPARTURE" by Public API "v1" 000ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Potwierdzono status Wyjazd" 000ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 107ms
After Hooks.cleanUserDetailsAfterTest() 175ms
Given Set token of apiUsername "super-admin-hochland" 096ms
And Prepare company "Dostawca Hochland Automat 1" verification email setting "48h" 009ms
And Prepare user "dha1-supplier-2@qa.qa-test" details with all notifications and "apolloautomattest@gmail.com" by JSON file 187ms
And Login as "dha1-supplier-2@qa.qa-test" and set token of apiUsername "dha1-supplier-2@qa.qa-test" 2s 994ms
And Create transport "CREATE_DELIVERY" by JSON file as "dha1-supplier-2@qa.qa-test" 15s 369ms
And Wait "120" seconds 2m
When Get mail "apolloautomattest@gmail.com" message from mail account with "Weryfikacja danych awizacji" 8s 163ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 107ms
After Hooks.cleanUserDetailsAfterTest() 221ms
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" 100ms
And Create and accept invitation by JSON file as "super-admin-skd" for "apolloautomattest@gmail.com" "CREATE_SQUARE_MANAGER_INVITATION" 547ms
And Get invited user account data "apolloautomattest@gmail.com" 1s 512ms
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() 002ms
After Hooks.deleteUserAfterTest() 091ms