Project Number Date
ApolloFullRunnerReport master.311 19 lut 2021, 10:44

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Advice Mail 53 7 46 0 0 106 2 7 9 5m 58s 516ms Failed
Feature Advice Mail
Scenario Outline Check if mail was sent to creator after creating advice
Steps
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 1s 084ms
And Prepare user "adama-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 188ms
And Create transport "CREATE_CONTAINER" by JSON file as "super-admin-adama" 1s 228ms
And Get inputs from database "ADVICE_CONTAINER" "super-admin-adama" 002ms
And Show all transport types 1s 038ms
And Click button advice in transport table "CONTAINER" 132ms
And Set advice window in schedule 2s 400ms
And Fill advice form 15s 044ms
java.lang.AssertionError: Nie można wypełnić pola phone-number-prefix, ponieważ nie udało się go znaleźć w formularzu
	at org.junit.Assert.fail(Assert.java:88)
	at CucumberTests.Transport.Transport.fillForm(Transport.java:152)
	at CucumberTests.Transport.AdviceTransport.fillAdviceForm(AdviceTransport.java:110)
	at ✽.Fill advice form(file:Features/Atom/Mail/AdviceMail.feature:12)
And Click advice save button and wait for advice form to disappear 000ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zapisano awizację! | Advice has been saved!" 000ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 103ms
After Hooks.cleanUserDetailsAfterTest() 186ms
Scenario Outline Check if mail was sent to creator after creating advice
Steps
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 218ms
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 344ms
And Get inputs from database "ADVICE_DELIVERY" "super-admin-piast" 004ms
And Show all transport types 1s 049ms
And Click button advice in transport table "DELIVERY" 129ms
And Set advice window in schedule 2s 585ms
And Fill advice form 15s 055ms
java.lang.AssertionError: Nie można wypełnić pola terms-of-condition, ponieważ nie udało się go znaleźć w formularzu
	at org.junit.Assert.fail(Assert.java:88)
	at CucumberTests.Transport.Transport.fillForm(Transport.java:152)
	at CucumberTests.Transport.AdviceTransport.fillAdviceForm(AdviceTransport.java:110)
	at ✽.Fill advice form(file:Features/Atom/Mail/AdviceMail.feature:12)
And Click advice save button and wait for advice form to disappear 000ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zapisano awizację! | Advice has been saved!" 000ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 105ms
After Hooks.cleanUserDetailsAfterTest() 207ms
Scenario Outline Check if mail was sent to creator after creating advice
Steps
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 205ms
And Prepare user "keeeper-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 274ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-keeeper" 1s 269ms
And Get inputs from database "ADVICE_LOAD" "super-admin-keeeper" 004ms
And Show all transport types 1s 065ms
And Click button advice in transport table "LOAD" 127ms
And Set advice window in schedule 2s 416ms
And Fill advice form 15s 037ms
java.lang.AssertionError: Nie można wypełnić pola phone-number-prefix, ponieważ nie udało się go znaleźć w formularzu
	at org.junit.Assert.fail(Assert.java:88)
	at CucumberTests.Transport.Transport.fillForm(Transport.java:152)
	at CucumberTests.Transport.AdviceTransport.fillAdviceForm(AdviceTransport.java:110)
	at ✽.Fill advice form(file:Features/Atom/Mail/AdviceMail.feature:12)
And Click advice save button and wait for advice form to disappear 000ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zapisano awizację! | Time window has been saved!" 000ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 096ms
After Hooks.cleanUserDetailsAfterTest() 212ms
Scenario Outline Check if mail was sent to creator after editing advice
Steps
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 043ms
And Prepare user "adama-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 183ms
And Create transport "CREATE_CONTAINER" by JSON file as "super-admin-adama" 1s 208ms
And Show all transport types 1s 046ms
And Create advice "ADVICE_CONTAINER" "CONTAINER" "super-admin-adama" 17s 606ms
java.lang.AssertionError: Nie można wypełnić pola phone-number-prefix, ponieważ nie udało się go znaleźć w formularzu
	at org.junit.Assert.fail(Assert.java:88)
	at CucumberTests.Transport.Transport.fillForm(Transport.java:152)
	at CucumberTests.Transport.AdviceTransport.fillAdviceForm(AdviceTransport.java:110)
	at CucumberTests.Transport.AdviceTransport.createAdvice(AdviceTransport.java:56)
	at ✽.Create advice "ADVICE_CONTAINER" "CONTAINER" "super-admin-adama"(file:Features/Atom/Mail/AdviceMail.feature:28)
And Go to "TRANSPORT_TABLE" 000ms
And Go to transport details "CONTAINER" 000ms
And Get inputs from database "EDIT_CONTAINER" "super-admin-adama" 000ms
When Go to transport details "CONTAINER" 000ms
And Fill transport form 000ms
And Get inputs from database "EDIT_ADVICE_CONTAINER" "super-admin-adama" 000ms
And Expand advice panel 000ms
And Edit advice in transport details 000ms
And Click "save-transport-and-close" save button and wait for form to disappear 000ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zmiana w awizacji numer" 000ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 099ms
After Hooks.cleanUserDetailsAfterTest() 172ms
Scenario Outline Check if mail was sent to creator after editing advice
Steps
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 078ms
And Prepare user "piast-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 199ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 1s 277ms
And Show all transport types 1s 044ms
And Create advice "ADVICE_DELIVERY" "DELIVERY" "super-admin-piast" 17s 727ms
java.lang.AssertionError: Nie można wypełnić pola terms-of-condition, ponieważ nie udało się go znaleźć w formularzu
	at org.junit.Assert.fail(Assert.java:88)
	at CucumberTests.Transport.Transport.fillForm(Transport.java:152)
	at CucumberTests.Transport.AdviceTransport.fillAdviceForm(AdviceTransport.java:110)
	at CucumberTests.Transport.AdviceTransport.createAdvice(AdviceTransport.java:56)
	at ✽.Create advice "ADVICE_DELIVERY" "DELIVERY" "super-admin-piast"(file:Features/Atom/Mail/AdviceMail.feature:28)
And Go to "TRANSPORT_TABLE" 000ms
And Go to transport details "DELIVERY" 000ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-piast" 000ms
When Go to transport details "DELIVERY" 000ms
And Fill transport form 000ms
And Get inputs from database "EDIT_ADVICE_DELIVERY" "super-admin-piast" 000ms
And Expand advice panel 000ms
And Edit advice in transport details 000ms
And Click "save-transport-and-close" save button and wait for form to disappear 000ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zmiana w awizacji numer" 000ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 093ms
After Hooks.cleanUserDetailsAfterTest() 186ms
Scenario Outline Check if mail was sent to creator after editing advice
Steps
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 916ms
And Prepare user "keeeper-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 237ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-keeeper" 1s 269ms
And Show all transport types 1s 050ms
And Create advice "ADVICE_LOAD" "LOAD" "super-admin-keeeper" 17s 576ms
java.lang.AssertionError: Nie można wypełnić pola phone-number-prefix, ponieważ nie udało się go znaleźć w formularzu
	at org.junit.Assert.fail(Assert.java:88)
	at CucumberTests.Transport.Transport.fillForm(Transport.java:152)
	at CucumberTests.Transport.AdviceTransport.fillAdviceForm(AdviceTransport.java:110)
	at CucumberTests.Transport.AdviceTransport.createAdvice(AdviceTransport.java:56)
	at ✽.Create advice "ADVICE_LOAD" "LOAD" "super-admin-keeeper"(file:Features/Atom/Mail/AdviceMail.feature:28)
And Go to "TRANSPORT_TABLE" 000ms
And Go to transport details "LOAD" 000ms
And Get inputs from database "EDIT_LOAD" "super-admin-keeeper" 000ms
When Go to transport details "LOAD" 000ms
And Fill transport form 000ms
And Get inputs from database "EDIT_ADVICE_LOAD" "super-admin-keeeper" 000ms
And Expand advice panel 000ms
And Edit advice in transport details 000ms
And Click "save-transport-and-close" save button and wait for form to disappear 000ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zmiana w awizacji numer" 000ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 082ms
After Hooks.cleanUserDetailsAfterTest() 215ms
Given Set token of apiUsername "super-admin-skd" 090ms
And Prepare user "swiss-krono-delivery-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 211ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-skd" 15s 344ms
And Confirm status "ARRIVAL" by Public API "v1" 307ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Potwierdzono status Wjazd na teren zakładu" 20s 488ms
Then Check if user got a mail 000ms
And Confirm status "DEPARTURE" by Public API "v1" 185ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Potwierdzono status Wyjazd" 43s 530ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 148ms
After Hooks.cleanUserDetailsAfterTest() 167ms
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 193ms
And Login as "dha1-supplier-2@qa.qa-test" and set token of apiUsername "dha1-supplier-2@qa.qa-test" 2s 690ms
And Create transport "CREATE_DELIVERY" by JSON file as "dha1-supplier-2@qa.qa-test" 15s 358ms
And Wait "120" seconds 2m
When Get mail "apolloautomattest@gmail.com" message from mail account with "Weryfikacja danych awizacji" 7s 376ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 117ms
After Hooks.cleanUserDetailsAfterTest() 222ms
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" 107ms
And Create and accept invitation by JSON file as "super-admin-skd" for "apolloautomattest@gmail.com" "CREATE_SQUARE_MANAGER_INVITATION" 545ms
And Get invited user account data "apolloautomattest@gmail.com" 1s 469ms
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() 107ms