Project Number Date
ApolloFullRunnerReport develop.459 10 cze 2021, 07:03

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Advice Mail 77 3 18 0 0 98 5 3 8 8m 43s 654ms Failed
Feature Advice Mail
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 1s 811ms
And Prepare user "adama-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 195ms
And Create transport "CREATE_CONTAINER" by JSON file as "super-admin-adama" 1s 416ms
And Get inputs from database "ADVICE_CONTAINER" "super-admin-adama" 003ms
And Show all transport types 1s 046ms
And Click button advice in transport table "CONTAINER" 081ms
And Set advice window in schedule 2s 527ms
And Fill advice form 11s 798ms
And Click advice save button and wait for advice form to disappear 31s 223ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zapisano awizację! | Advice has been saved!" 7s 219ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 178ms
After Hooks.cleanUserDetailsAfterTest() 232ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 272ms
And Prepare user "piast-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 170ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 1s 270ms
And Get inputs from database "ADVICE_DELIVERY" "super-admin-piast" 003ms
And Show all transport types 1s 051ms
And Click button advice in transport table "DELIVERY" 113ms
And Set advice window in schedule 2s 675ms
And Fill advice form 8s 497ms
And Click advice save button and wait for advice form to disappear 30s 720ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zapisano awizację! | Advice has been saved!" 8s 117ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 156ms
After Hooks.cleanUserDetailsAfterTest() 202ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 217ms
And Prepare user "keeeper-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 266ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-keeeper" 1s 276ms
And Get inputs from database "ADVICE_LOAD" "super-admin-keeeper" 003ms
And Show all transport types 1s 056ms
And Click button advice in transport table "LOAD" 113ms
And Set advice window in schedule 2s 528ms
And Fill advice form 13s 139ms
And Click advice save button and wait for advice form to disappear 30s 681ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zapisano awizację! | Time window has been saved!" 7s 413ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 134ms
After Hooks.cleanUserDetailsAfterTest() 253ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 1s 654ms
And Prepare user "adama-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 261ms
And Create transport "CREATE_CONTAINER" by JSON file as "super-admin-adama" 1s 218ms
And Show all transport types 1s 047ms
And Create advice "ADVICE_CONTAINER" "CONTAINER" "super-admin-adama" 45s 078ms
And Go to "TRANSPORT_TABLE" 175ms
And Go to transport details "CONTAINER" 4s 434ms
And Get inputs from database "EDIT_CONTAINER" "super-admin-adama" 003ms
When Go to transport details "CONTAINER" 3s 246ms
And Fill transport form 4s 711ms
And Get inputs from database "EDIT_ADVICE_CONTAINER" "super-admin-adama" 003ms
And Expand advice panel 102ms
And Edit advice in transport details 12s 317ms
And Click "save-transport-and-close" save button and wait for form to disappear 16s 139ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zmiana w awizacji numer" 26s 429ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 163ms
After Hooks.cleanUserDetailsAfterTest() 228ms
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" 1s 669ms
And Prepare user "piast-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 193ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 1s 224ms
And Show all transport types 1s 047ms
And Create advice "ADVICE_DELIVERY" "DELIVERY" "super-admin-piast" 41s 825ms
And Go to "TRANSPORT_TABLE" 235ms
And Go to transport details "DELIVERY" 4s 448ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-piast" 004ms
When Go to transport details "DELIVERY" 3s 208ms
And Fill transport form 25s 641ms
java.lang.AssertionError: Nie można wypełnić pola number-of-pallets-step-0, 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.CreateTransport.fillTransportForm(CreateTransport.java:170)
	at ✽.Fill transport form(file:Features/Atom/Mail/AdviceMail.feature:33)
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() 116ms
After Hooks.cleanUserDetailsAfterTest() 183ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 634ms
And Prepare user "keeeper-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 252ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-keeeper" 1s 268ms
And Show all transport types 1s 030ms
And Create advice "ADVICE_LOAD" "LOAD" "super-admin-keeeper" 46s 514ms
And Go to "TRANSPORT_TABLE" 189ms
And Go to transport details "LOAD" 4s 391ms
And Get inputs from database "EDIT_LOAD" "super-admin-keeeper" 003ms
When Go to transport details "LOAD" 3s 192ms
And Fill transport form 25s 910ms
And Get inputs from database "EDIT_ADVICE_LOAD" "super-admin-keeeper" 003ms
And Expand advice panel 111ms
And Edit advice in transport details 18s 446ms
And Click "save-transport-and-close" save button and wait for form to disappear 16s 151ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zmiana w awizacji numer" 38s 632ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 150ms
After Hooks.cleanUserDetailsAfterTest() 255ms
Scenario Outline Check if mail was sent to creator after status confirmation
Steps
Given Set token of apiUsername "swisskrono-admin" 132ms
And Prepare user "swisskrono-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 400ms
And Create transport "CREATE_DELIVERY" by JSON file as "swisskrono-admin" 001ms
java.lang.NullPointerException
	at Utils.JsonApiUtil.getJSON(JsonApiUtil.java:131)
	at Utils.JsonApiUtil.getApiJson(JsonApiUtil.java:117)
	at CucumberTests.Transport.CreateTransport.createByJSONFileAs(CreateTransport.java:74)
	at ✽.Create transport "CREATE_DELIVERY" by JSON file as "swisskrono-admin"(file:Features/Atom/Mail/AdviceMail.feature:50)
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 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() 001ms
After Hooks.cleanUserDetailsAfterTest() 378ms
Scenario Outline Check if verification mail was sent to transport creator
Steps
Given Set token of apiUsername "super-admin-hochland" 148ms
And Prepare company "Dostawca Hochland Automat 1" verification email setting "48h" 002ms
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() 000ms
After Hooks.cleanUserDetailsAfterTest() 000ms
java.lang.NullPointerException
	at Utils.JsonApiUtil.editJsonTextNode(JsonApiUtil.java:144)
	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() 002ms
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)