Project Number Date
ApolloFullRunnerReport kapibary.27 04 cze 2021, 06:23

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Advice Mail 79 8 11 0 0 98 0 8 8 29m 11s 815ms 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" 5s 790ms
And Prepare user "adama-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 639ms
And Create transport "CREATE_CONTAINER" by JSON file as "super-admin-adama" 1s 848ms
And Get inputs from database "ADVICE_CONTAINER" "super-admin-adama" 034ms
And Show all transport types 1s 160ms
And Click button advice in transport table "CONTAINER" 242ms
And Set advice window in schedule 3s 232ms
And Fill advice form 14s 141ms
And Click advice save button and wait for advice form to disappear 10s 742ms
org.openqa.selenium.TimeoutException: Expected condition failed: waiting for element to no longer be visible: By.xpath: //button[@data-button-name='save'] (tried for 10 second(s) with 500 MILLISECONDS interval)
Build info: version: '3.6.0', revision: '6fbf3ec767', time: '2017-09-27T15:28:36.4Z'
System info: host: 'apollo-test-2', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '5.8.0-50-generic', java.version: '1.8.0_292'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Capabilities [{networkConnectionEnabled=false, chrome={chromedriverVersion=91.0.4472.19 (1bf021f248676a0b2ab3ee0561d83a59e424c23e-refs/branch-heads/4472@{#288}), userDataDir=/home/teamcity/build-agent/temp/buildTmp/.com.google.Chrome.sQqfM3}, timeouts={implicit=0, pageLoad=300000, script=30000}, pageLoadStrategy=normal, unhandledPromptBehavior=dismiss and notify, strictFileInteractability=false, platform=LINUX, proxy=Proxy(), goog:chromeOptions={debuggerAddress=localhost:9222}, acceptInsecureCerts=false, browserVersion=91.0.4472.77, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: 310e3712e84d3064d5fda8cd6fd55e51
	at org.openqa.selenium.support.ui.WebDriverWait.timeoutException(WebDriverWait.java:82)
	at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:231)
	at Pages.BasePage.waitUntilElementDisappear(BasePage.java:215)
	at Pages.Transport.AdviceFormPage.confirm(AdviceFormPage.java:27)
	at CucumberTests.Transport.AdviceTransport.clickAdviceSaveButtonAndWaitForAdviceFormToDisappear(AdviceTransport.java:166)
	at ✽.Click advice save button and wait for advice form to disappear(file:Features/Atom/Mail/AdviceMail.feature:13)
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() 596ms
After Hooks.cleanUserDetailsAfterTest() 587ms
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" 2s 785ms
And Prepare user "piast-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 815ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 1s 983ms
And Get inputs from database "ADVICE_DELIVERY" "super-admin-piast" 034ms
And Show all transport types 1s 164ms
And Click button advice in transport table "DELIVERY" 245ms
And Set advice window in schedule 3s 463ms
And Fill advice form 10s 478ms
And Click advice save button and wait for advice form to disappear 33s 245ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zapisano awizację! | Advice has been saved!" 3m 17s 929ms
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() 878ms
After Hooks.cleanUserDetailsAfterTest() 948ms
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" 2s 588ms
And Prepare user "keeeper-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 1s 506ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-keeeper" 1s 915ms
And Get inputs from database "ADVICE_LOAD" "super-admin-keeeper" 033ms
And Show all transport types 1s 243ms
And Click button advice in transport table "LOAD" 239ms
And Set advice window in schedule 3s 265ms
And Fill advice form 16s 196ms
And Click advice save button and wait for advice form to disappear 32s 643ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zapisano awizację! | Time window has been saved!" 3m 18s 856ms
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() 820ms
After Hooks.cleanUserDetailsAfterTest() 1s 305ms
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" 4s 734ms
And Prepare user "adama-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 628ms
And Create transport "CREATE_CONTAINER" by JSON file as "super-admin-adama" 1s 824ms
And Show all transport types 1s 146ms
And Create advice "ADVICE_CONTAINER" "CONTAINER" "super-admin-adama" 50s 435ms
And Go to "TRANSPORT_TABLE" 444ms
And Go to transport details "CONTAINER" 4s 934ms
And Get inputs from database "EDIT_CONTAINER" "super-admin-adama" 033ms
When Go to transport details "CONTAINER" 3s 493ms
And Fill transport form 5s 070ms
And Get inputs from database "EDIT_ADVICE_CONTAINER" "super-admin-adama" 033ms
And Expand advice panel 267ms
And Edit advice in transport details 15s 334ms
And Click "save-transport-and-close" save button and wait for form to disappear 16s 882ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zmiana w awizacji numer" 3m 18s 264ms
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() 747ms
After Hooks.cleanUserDetailsAfterTest() 487ms
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" 4s 880ms
And Prepare user "piast-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 940ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 1s 841ms
And Show all transport types 1s 130ms
And Create advice "ADVICE_DELIVERY" "DELIVERY" "super-admin-piast" 47s 431ms
And Go to "TRANSPORT_TABLE" 515ms
And Go to transport details "DELIVERY" 4s 864ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-piast" 034ms
When Go to transport details "DELIVERY" 3s 463ms
And Fill transport form 1m 8s 410ms
And Get inputs from database "EDIT_ADVICE_DELIVERY" "super-admin-piast" 034ms
And Expand advice panel 275ms
And Edit advice in transport details 8s 162ms
And Click "save-transport-and-close" save button and wait for form to disappear 18s 031ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zmiana w awizacji numer" 3m 19s 287ms
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() 990ms
After Hooks.cleanUserDetailsAfterTest() 920ms
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" 5s 036ms
And Prepare user "keeeper-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 1s 300ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-keeeper" 1s 868ms
And Show all transport types 1s 138ms
And Create advice "ADVICE_LOAD" "LOAD" "super-admin-keeeper" 53s 527ms
And Go to "TRANSPORT_TABLE" 446ms
And Go to transport details "LOAD" 4s 803ms
And Get inputs from database "EDIT_LOAD" "super-admin-keeeper" 033ms
When Go to transport details "LOAD" 3s 495ms
And Fill transport form 27s 179ms
And Get inputs from database "EDIT_ADVICE_LOAD" "super-admin-keeeper" 080ms
And Expand advice panel 277ms
And Edit advice in transport details 21s 734ms
And Click "save-transport-and-close" save button and wait for form to disappear 17s 460ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zmiana w awizacji numer" 3m 18s 894ms
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() 935ms
After Hooks.cleanUserDetailsAfterTest() 1s 334ms
Scenario Outline Check if mail was sent to creator after status confirmation
Steps
Given Set token of apiUsername "super-admin-skd" 346ms
And Prepare user "swiss-krono-delivery-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 1s 002ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-skd" 2s 594ms
And Confirm status "ARRIVAL" by Public API "v1" 933ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Potwierdzono status Wjazd na teren zakładu" 3m 18s 064ms
Then Check if user got a mail 002ms
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: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() 858ms
After Hooks.cleanUserDetailsAfterTest() 877ms
Scenario Outline Check if verification mail was sent to transport creator
Steps
Given Set token of apiUsername "super-admin-hochland" 289ms
And Prepare company "Dostawca Hochland Automat 1" verification email setting "48h" 007ms
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() 007ms
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)