Project Number Date
ApolloFullRunnerReport A-7146.436 26 maj 2021, 01:01

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Advice Mail 89 3 6 0 0 98 5 3 8 17m 43s 938ms 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 748ms
And Prepare user "adama-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 187ms
And Create transport "CREATE_CONTAINER" by JSON file as "super-admin-adama" 1s 218ms
And Get inputs from database "ADVICE_CONTAINER" "super-admin-adama" 003ms
And Show all transport types 1s 045ms
And Click button advice in transport table "CONTAINER" 107ms
And Set advice window in schedule 2s 522ms
And Fill advice form 11s 877ms
And Click advice save button and wait for advice form to disappear 30s 686ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zapisano awizację! | Advice has been saved!" 3m 16s 390ms
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:39)
	at ✽.Check if user got a mail(file:Features/Atom/Mail/AdviceMail.feature:15)
After Hooks.deleteTransportAfterTest() 120ms
After Hooks.cleanUserDetailsAfterTest() 145ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 281ms
And Prepare user "piast-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 147ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 1s 250ms
And Get inputs from database "ADVICE_DELIVERY" "super-admin-piast" 003ms
And Show all transport types 1s 055ms
And Click button advice in transport table "DELIVERY" 087ms
And Set advice window in schedule 2s 665ms
And Fill advice form 8s 413ms
And Click advice save button and wait for advice form to disappear 30s 691ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zapisano awizację! | Advice has been saved!" 7s 444ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 135ms
After Hooks.cleanUserDetailsAfterTest() 184ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 178ms
And Prepare user "keeeper-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 236ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-keeeper" 1s 198ms
And Get inputs from database "ADVICE_LOAD" "super-admin-keeeper" 004ms
And Show all transport types 1s 039ms
And Click button advice in transport table "LOAD" 104ms
And Set advice window in schedule 2s 533ms
And Fill advice form 13s 192ms
And Click advice save button and wait for advice form to disappear 30s 698ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zapisano awizację! | Time window has been saved!" 14s 052ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 155ms
After Hooks.cleanUserDetailsAfterTest() 210ms
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" 1s 603ms
And Prepare user "adama-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 127ms
And Create transport "CREATE_CONTAINER" by JSON file as "super-admin-adama" 1s 234ms
And Show all transport types 1s 045ms
And Create advice "ADVICE_CONTAINER" "CONTAINER" "super-admin-adama" 45s 211ms
And Go to "TRANSPORT_TABLE" 198ms
And Go to transport details "CONTAINER" 4s 380ms
And Get inputs from database "EDIT_CONTAINER" "super-admin-adama" 003ms
When Go to transport details "CONTAINER" 3s 130ms
And Fill transport form 4s 669ms
And Get inputs from database "EDIT_ADVICE_CONTAINER" "super-admin-adama" 003ms
And Expand advice panel 118ms
And Edit advice in transport details 12s 367ms
And Click "save-transport-and-close" save button and wait for form to disappear 16s 108ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zmiana w awizacji numer" 3m 14s 896ms
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:39)
	at ✽.Check if user got a mail(file:Features/Atom/Mail/AdviceMail.feature:39)
After Hooks.deleteTransportAfterTest() 143ms
After Hooks.cleanUserDetailsAfterTest() 131ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 654ms
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 215ms
And Show all transport types 1s 046ms
And Create advice "ADVICE_DELIVERY" "DELIVERY" "super-admin-piast" 41s 764ms
And Go to "TRANSPORT_TABLE" 234ms
And Go to transport details "DELIVERY" 4s 427ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-piast" 003ms
When Go to transport details "DELIVERY" 3s 166ms
And Fill transport form 1m 2s 318ms
And Get inputs from database "EDIT_ADVICE_DELIVERY" "super-admin-piast" 003ms
And Expand advice panel 118ms
And Edit advice in transport details 6s 634ms
And Click "save-transport-and-close" save button and wait for form to disappear 16s 134ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zmiana w awizacji numer" 43s 793ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 151ms
After Hooks.cleanUserDetailsAfterTest() 182ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 728ms
And Prepare user "keeeper-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 227ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-keeeper" 1s 208ms
And Show all transport types 1s 040ms
And Create advice "ADVICE_LOAD" "LOAD" "super-admin-keeeper" 46s 565ms
And Go to "TRANSPORT_TABLE" 190ms
And Go to transport details "LOAD" 4s 409ms
And Get inputs from database "EDIT_LOAD" "super-admin-keeeper" 003ms
When Go to transport details "LOAD" 3s 199ms
And Fill transport form 24s 629ms
And Get inputs from database "EDIT_ADVICE_LOAD" "super-admin-keeeper" 003ms
And Expand advice panel 113ms
And Edit advice in transport details 18s 595ms
And Click "save-transport-and-close" save button and wait for form to disappear 15s 609ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zmiana w awizacji numer" 25s 323ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 155ms
After Hooks.cleanUserDetailsAfterTest() 187ms
Given Set token of apiUsername "super-admin-skd" 125ms
And Prepare user "swiss-krono-delivery-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 228ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-skd" 1s 367ms
And Confirm status "ARRIVAL" by Public API "v1" 246ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Potwierdzono status Wjazd na teren zakładu" 13s 584ms
Then Check if user got a mail 000ms
And Confirm status "DEPARTURE" by Public API "v1" 211ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Potwierdzono status Wyjazd" 1m 14s 323ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 179ms
After Hooks.cleanUserDetailsAfterTest() 192ms
Scenario Outline Check if verification mail was sent to transport creator
Steps
Given Set token of apiUsername "super-admin-hochland" 130ms
And Prepare company "Dostawca Hochland Automat 1" verification email setting "48h" 004ms
java.lang.IllegalStateException: Transaction already active
	at org.hibernate.engine.transaction.internal.TransactionImpl.begin(TransactionImpl.java:75)
	at Utils.JpaUtils.Apollo.SelectService.ApolloUpdateDbService.updatePartnership(ApolloUpdateDbService.java:27)
	at CucumberTests.Company.EditCompanyTest.prepareCompanyVerificationMailSetting(EditCompanyTest.java:139)
	at ✽.Prepare company "Dostawca Hochland Automat 1" verification email setting "48h"(file:Features/Atom/Mail/AdviceMail.feature:64)
And Prepare user "dha1-supplier-2@qa.qa-test" details with all notifications and "apolloautomattest@gmail.com" by JSON file 000ms
And Login as "dha1-supplier-2@qa.qa-test" and set token of apiUsername "dha1-supplier-2@qa.qa-test" 000ms
And Create transport "CREATE_DELIVERY" by JSON file as "dha1-supplier-2@qa.qa-test" 000ms
And Wait "120" seconds 000ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Weryfikacja danych awizacji" 000ms
Then Check if user got a mail 000ms
Hooks
After Hooks.deleteTransportAfterTest() 001ms
After Hooks.cleanUserDetailsAfterTest() 000ms
java.lang.NullPointerException
	at Utils.JsonApiUtil.editJsonTextNode(JsonApiUtil.java:143)
	at CucumberTests.Hooks.cleanUserDetailsAfterTest(Hooks.java:311)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at cucumber.runtime.Utils$1.call(Utils.java:26)
	at cucumber.runtime.Timeout.timeout(Timeout.java:16)
	at cucumber.runtime.Utils.invoke(Utils.java:20)
	at cucumber.runtime.java.JavaHookDefinition.execute(JavaHookDefinition.java:60)
	at cucumber.runner.HookDefinitionMatch.runStep(HookDefinitionMatch.java:16)
	at cucumber.runner.TestStep.executeStep(TestStep.java:63)
	at cucumber.runner.TestStep.run(TestStep.java:49)
	at cucumber.runner.TestCase.run(TestCase.java:49)
	at cucumber.runner.Runner.runPickle(Runner.java:40)
	at cucumber.runtime.junit.PickleRunners$WithStepDescriptions.run(PickleRunners.java:97)
	at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:68)
	at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:23)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
	at cucumber.runtime.junit.FeatureRunner.run(FeatureRunner.java:73)
	at cucumber.api.junit.Cucumber.runChild(Cucumber.java:122)
	at cucumber.api.junit.Cucumber.runChild(Cucumber.java:64)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
	at cucumber.api.junit.Cucumber$1.evaluate(Cucumber.java:131)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:367)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:274)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:161)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
After Hooks.rollbackVerificationEmailSettingAfterTest() 003ms
java.lang.IllegalStateException: Transaction already active
	at org.hibernate.engine.transaction.internal.TransactionImpl.begin(TransactionImpl.java:75)
	at Utils.JpaUtils.Apollo.SelectService.ApolloUpdateDbService.updatePartnership(ApolloUpdateDbService.java:27)
	at CucumberTests.Hooks.rollbackVerificationEmailSettingAfterTest(Hooks.java:556)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at cucumber.runtime.Utils$1.call(Utils.java:26)
	at cucumber.runtime.Timeout.timeout(Timeout.java:16)
	at cucumber.runtime.Utils.invoke(Utils.java:20)
	at cucumber.runtime.java.JavaHookDefinition.execute(JavaHookDefinition.java:60)
	at cucumber.runner.HookDefinitionMatch.runStep(HookDefinitionMatch.java:16)
	at cucumber.runner.TestStep.executeStep(TestStep.java:63)
	at cucumber.runner.TestStep.run(TestStep.java:49)
	at cucumber.runner.TestCase.run(TestCase.java:49)
	at cucumber.runner.Runner.runPickle(Runner.java:40)
	at cucumber.runtime.junit.PickleRunners$WithStepDescriptions.run(PickleRunners.java:97)
	at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:68)
	at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:23)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
	at cucumber.runtime.junit.FeatureRunner.run(FeatureRunner.java:73)
	at cucumber.api.junit.Cucumber.runChild(Cucumber.java:122)
	at cucumber.api.junit.Cucumber.runChild(Cucumber.java:64)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
	at cucumber.api.junit.Cucumber$1.evaluate(Cucumber.java:131)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:367)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:274)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:161)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)