Project Number Date
ApolloFullRunnerReport develop.285 29 sty 2021, 06:01

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Advice Mail 90 9 7 0 0 106 0 9 9 36m 34s 980ms 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" 977ms
And Prepare user "adama-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 453ms
And Create transport "CREATE_CONTAINER" by JSON file as "super-admin-adama" 1s 387ms
And Get inputs from database "ADVICE_CONTAINER" "super-admin-adama" 003ms
And Show all transport types 1s 050ms
And Click button advice in transport table "CONTAINER" 125ms
And Set advice window in schedule 2s 463ms
And Fill advice form 11s 839ms
And Click advice save button and wait for advice form to disappear 31s 239ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zapisano awizację! | Advice has been saved!" 3m 13s 169ms
Then Check if user got a mail 000ms
java.lang.AssertionError: Użytkownik nie otrzymał maila. Actual: 
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failEquals(Assert.java:185)
	at org.junit.Assert.assertNotEquals(Assert.java:161)
	at CucumberTests.Mail.MailTest.checkIfUseGotMail(MailTest.java:33)
	at ✽.Check if user got a mail(file:Features/Atom/Mail/AdviceMail.feature:15)
After Hooks.deleteTransportAfterTest() 185ms
After Hooks.cleanUserDetailsAfterTest() 200ms
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 229ms
And Prepare user "piast-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 179ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 1s 284ms
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" 136ms
And Set advice window in schedule 2s 588ms
And Fill advice form 8s 333ms
And Click advice save button and wait for advice form to disappear 30s 738ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zapisano awizację! | Advice has been saved!" 3m 13s 940ms
Then Check if user got a mail 000ms
java.lang.AssertionError: Użytkownik nie otrzymał maila. Actual: 
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failEquals(Assert.java:185)
	at org.junit.Assert.assertNotEquals(Assert.java:161)
	at CucumberTests.Mail.MailTest.checkIfUseGotMail(MailTest.java:33)
	at ✽.Check if user got a mail(file:Features/Atom/Mail/AdviceMail.feature:15)
After Hooks.deleteTransportAfterTest() 154ms
After Hooks.cleanUserDetailsAfterTest() 201ms
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 243ms
And Prepare user "keeeper-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 322ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-keeeper" 1s 307ms
And Get inputs from database "ADVICE_LOAD" "super-admin-keeeper" 003ms
And Show all transport types 1s 046ms
And Click button advice in transport table "LOAD" 135ms
And Set advice window in schedule 2s 390ms
And Fill advice form 13s 142ms
And Click advice save button and wait for advice form to disappear 30s 724ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zapisano awizację! | Time window has been saved!" 3m 12s 355ms
Then Check if user got a mail 000ms
java.lang.AssertionError: Użytkownik nie otrzymał maila. Actual: 
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failEquals(Assert.java:185)
	at org.junit.Assert.assertNotEquals(Assert.java:161)
	at CucumberTests.Mail.MailTest.checkIfUseGotMail(MailTest.java:33)
	at ✽.Check if user got a mail(file:Features/Atom/Mail/AdviceMail.feature:15)
After Hooks.deleteTransportAfterTest() 160ms
After Hooks.cleanUserDetailsAfterTest() 220ms
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 699ms
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 198ms
And Show all transport types 1s 044ms
And Create advice "ADVICE_CONTAINER" "CONTAINER" "super-admin-adama" 44s 999ms
And Go to "TRANSPORT_TABLE" 154ms
And Go to transport details "CONTAINER" 4s 401ms
And Get inputs from database "EDIT_CONTAINER" "super-admin-adama" 003ms
When Go to transport details "CONTAINER" 3s 192ms
And Fill transport form 4s 737ms
And Get inputs from database "EDIT_ADVICE_CONTAINER" "super-admin-adama" 003ms
And Expand advice panel 110ms
And Edit advice in transport details 12s 467ms
And Click "save-transport-and-close" save button and wait for form to disappear 16s 142ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zmiana w awizacji numer" 3m 13s 863ms
Then Check if user got a mail 000ms
java.lang.AssertionError: Użytkownik nie otrzymał maila. Actual: 
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failEquals(Assert.java:185)
	at org.junit.Assert.assertNotEquals(Assert.java:161)
	at CucumberTests.Mail.MailTest.checkIfUseGotMail(MailTest.java:33)
	at ✽.Check if user got a mail(file:Features/Atom/Mail/AdviceMail.feature:39)
After Hooks.deleteTransportAfterTest() 150ms
After Hooks.cleanUserDetailsAfterTest() 175ms
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 618ms
And Prepare user "piast-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 180ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 1s 289ms
And Show all transport types 1s 048ms
And Create advice "ADVICE_DELIVERY" "DELIVERY" "super-admin-piast" 41s 675ms
And Go to "TRANSPORT_TABLE" 226ms
And Go to transport details "DELIVERY" 4s 529ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-piast" 004ms
When Go to transport details "DELIVERY" 3s 226ms
And Fill transport form 1m 2s 596ms
And Get inputs from database "EDIT_ADVICE_DELIVERY" "super-admin-piast" 003ms
And Expand advice panel 115ms
And Edit advice in transport details 6s 634ms
And Click "save-transport-and-close" save button and wait for form to disappear 16s 150ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zmiana w awizacji numer" 3m 14s 973ms
Then Check if user got a mail 000ms
java.lang.AssertionError: Użytkownik nie otrzymał maila. Actual: 
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failEquals(Assert.java:185)
	at org.junit.Assert.assertNotEquals(Assert.java:161)
	at CucumberTests.Mail.MailTest.checkIfUseGotMail(MailTest.java:33)
	at ✽.Check if user got a mail(file:Features/Atom/Mail/AdviceMail.feature:39)
After Hooks.deleteTransportAfterTest() 152ms
After Hooks.cleanUserDetailsAfterTest() 179ms
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" 2s 666ms
And Prepare user "keeeper-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 213ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-keeeper" 1s 245ms
And Show all transport types 1s 046ms
And Create advice "ADVICE_LOAD" "LOAD" "super-admin-keeeper" 46s 392ms
And Go to "TRANSPORT_TABLE" 176ms
And Go to transport details "LOAD" 4s 407ms
And Get inputs from database "EDIT_LOAD" "super-admin-keeeper" 003ms
When Go to transport details "LOAD" 3s 206ms
And Fill transport form 24s 739ms
And Get inputs from database "EDIT_ADVICE_LOAD" "super-admin-keeeper" 003ms
And Expand advice panel 119ms
And Edit advice in transport details 18s 659ms
And Click "save-transport-and-close" save button and wait for form to disappear 16s 150ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zmiana w awizacji numer" 3m 22s 566ms
Then Check if user got a mail 000ms
java.lang.AssertionError: Użytkownik nie otrzymał maila. Actual: 
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failEquals(Assert.java:185)
	at org.junit.Assert.assertNotEquals(Assert.java:161)
	at CucumberTests.Mail.MailTest.checkIfUseGotMail(MailTest.java:33)
	at ✽.Check if user got a mail(file:Features/Atom/Mail/AdviceMail.feature:39)
After Hooks.deleteTransportAfterTest() 161ms
After Hooks.cleanUserDetailsAfterTest() 232ms
Scenario Outline Check if mail was sent to creator after status confirmation
Steps
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 249ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-skd" 1s 427ms
And Confirm status "ARRIVAL" by Public API "v1" 423ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Potwierdzono status Wjazd na teren zakładu" 3m 11s 919ms
Then Check if user got a mail 000ms
java.lang.AssertionError: Użytkownik nie otrzymał maila. Actual: 
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failEquals(Assert.java:185)
	at org.junit.Assert.assertNotEquals(Assert.java:161)
	at CucumberTests.Mail.MailTest.checkIfUseGotMail(MailTest.java:33)
	at ✽.Check if user got a mail(file:Features/Atom/Mail/AdviceMail.feature:53)
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() 181ms
After Hooks.cleanUserDetailsAfterTest() 185ms
Scenario Outline Check if verification mail was sent to transport creator
Steps
Given Set token of apiUsername "super-admin-hochland" 098ms
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 214ms
And Login as "dha1-supplier-2@qa.qa-test" and set token of apiUsername "dha1-supplier-2@qa.qa-test" 2s 745ms
And Create transport "CREATE_DELIVERY" by JSON file as "dha1-supplier-2@qa.qa-test" 15s 440ms
And Wait "120" seconds 2m
When Get mail "apolloautomattest@gmail.com" message from mail account with "Weryfikacja danych awizacji" 3m 13s 175ms
Then Check if user got a mail 000ms
java.lang.AssertionError: Użytkownik nie otrzymał maila. Actual: 
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failEquals(Assert.java:185)
	at org.junit.Assert.assertNotEquals(Assert.java:161)
	at CucumberTests.Mail.MailTest.checkIfUseGotMail(MailTest.java:33)
	at ✽.Check if user got a mail(file:Features/Atom/Mail/AdviceMail.feature:70)
After Hooks.deleteTransportAfterTest() 146ms
After Hooks.cleanUserDetailsAfterTest() 234ms
After Hooks.rollbackVerificationEmailSettingAfterTest() 009ms
Scenario Outline Check if mail was not sent to creator if user is not enabled
Steps
Given Set token of apiUsername "super-admin-skd" 102ms
And Create and accept invitation by JSON file as "super-admin-skd" for "apolloautomattest@gmail.com" "CREATE_SQUARE_MANAGER_INVITATION" 657ms
And Get invited user account data "apolloautomattest@gmail.com" 1s 505ms
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() 001ms
After Hooks.deleteUserAfterTest() 137ms