Project Number Date
ApolloFullRunnerReport apollo-test-2.50 30 cze 2021, 09:31

Tag Report

Steps Scenarios Features
Tag Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
@cleanUserDetailsAfterTest 265 7 9 0 0 281 24 7 31 55m 37s 980ms Failed
View Feature Invitation
Given Set token of apiUsername "super-admin-farmacol" 230ms
And Prepare user "dnfa1-supplier" details with all notifications and "automaty314153@test.pl" by JSON file 1s 446ms
And Create invitation by JSON file "super-admin-farmacol" for "automaty314153@test.pl" "CREATE_SUPPLIER_INVITATION" 1s 741ms
And Prepare user "dnfa1-supplier-2" details with all notifications and "automaty214152@test.pl" by JSON file 1s 286ms
And Create invitation by JSON file "super-admin-farmacol" for "automaty214152@test.pl" "CREATE_SUPPLIER_INVITATION" 1s 679ms
When Login as "dnfa1-supplier" and set token of apiUsername "super-admin-farmacol" 8s 260ms
And Go to "INVITATIONS_TAB" 695ms
And Accept invitation 17s 945ms
And If user is login then logout 283ms
And Login as "dnfa1-supplier-2" and set token of apiUsername "super-admin-farmacol" 8s 781ms
And Verify if user has visible "no waiting" invitation 15s 843ms
And Verify if user has visible "accepted" invitation 1s 095ms
And Verify if user can see "Farmacol" on principal switch dropdown 265ms
After Hooks.cleanUserDetailsAfterTest() 1s 579ms
View Feature Invitation
Scenario Outline Check if rejected invitation is visible in rejected tab
Steps
Given Set token of apiUsername "super-admin-piast" 228ms
And Delete invitations with email "automaty31415@test.pl" 016ms
And Prepare user "piast-admin" details with all notifications and "automaty31415@test.pl" by JSON file 1s 135ms
Then Create invitation by JSON file "super-admin-alrec" for "automaty31415@test.pl" "CREATE_SUPPLIER_INVITATION" 578ms
java.lang.AssertionError: 1 expectation failed.
Expected status code <200> but was <422>.

	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:83)
	at org.codehaus.groovy.reflection.CachedConstructor.doConstructorInvoke(CachedConstructor.java:77)
	at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrap.callConstructor(ConstructorSite.java:84)
	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:59)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:238)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:250)
	at io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure.validate(ResponseSpecificationImpl.groovy:494)
	at io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure$validate$1.call(Unknown Source)
	at io.restassured.internal.RequestSpecificationImpl.applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy:1750)
	at sun.reflect.GeneratedMethodAccessor74.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:98)
	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1225)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1034)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:822)
	at io.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:47)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.callCurrent(PogoInterceptableSite.java:57)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:185)
	at io.restassured.internal.RequestSpecificationImpl.applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy:1755)
	at sun.reflect.GeneratedMethodAccessor73.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:98)
	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1225)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1034)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:822)
	at io.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:47)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.callCurrent(PogoInterceptableSite.java:57)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:185)
	at io.restassured.internal.RequestSpecificationImpl.post(RequestSpecificationImpl.groovy:175)
	at io.restassured.internal.RequestSpecificationImpl.post(RequestSpecificationImpl.groovy)
	at Utils.RestUtils.RestUtil.postObjectToApolloApi(RestUtil.java:80)
	at CucumberTests.Invitation.RegistrationTest.createInvitationByJSONFile(RegistrationTest.java:64)
	at ✽.Create invitation by JSON file "super-admin-alrec" for "automaty31415@test.pl" "CREATE_SUPPLIER_INVITATION"(file:Features/Atom/Invitations/Invitation.feature:171)
When Login as "piast-admin" 000ms
Then Go to "INVITATIONS_TAB" 000ms
And Go to invitation details 000ms
Then Reject invitation by button as user 000ms
When If user is login then logout 000ms
Then Login as "super-admin-alrec" and set token of apiUsername "super-admin-alrec" 000ms
And Go to "INVITATIONS_TAB" 000ms
And Go to "REJECTED_TAB" invitation status tab 000ms
Then Invitation is displayed on list "automaty31415@test.pl" 000ms
Hooks
After Hooks.deleteInvitationAfterTest() 009ms
java.lang.NullPointerException
	at CucumberTests.Hooks.deleteInvitationAfterTest(Hooks.java:270)
	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.cleanUserDetailsAfterTest() 880ms
View Feature Invitation
Scenario Outline Check if it is possible to invite existing user in order to associate him with principal company [A-7315]
Steps
Given Set token of apiUsername "super-admin-alrec" 233ms
And Prepare user "dha1-supplier-2@qa.qa-test" details with all notifications and "automatyy3333@test.pl" by JSON file 1s 355ms
When Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 2s 237ms
And Go to "INVITATIONS_TAB" 456ms
And Create invitation for "existing" user "SUPPLIER" "SUPPLIER" "automatyy3333@test.pl" "PL" 2s 598ms
And Wait "3" seconds 3s
Then Create invitation success alert is displayed 15s 052ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//div[contains(@class, 'success')]"}
  (Session info: headless chrome=91.0.4472.114)
For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html
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.101 (af52a90bf87030dd1523486a1cd3ae25c5d76c9b-refs/branch-heads/4472@{#1462}), userDataDir=/home/teamcity/build-agent/temp/buildTmp/.com.google.Chrome.JMAmfP}, 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.114, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: 3595313b213fdae8380e63c3ae803684
*** Element info: {Using=xpath, value=//div[contains(@class, 'success')]}
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:185)
	at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:120)
	at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:49)
	at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:164)
	at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83)
	at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:586)
	at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:356)
	at org.openqa.selenium.remote.RemoteWebDriver.findElementByXPath(RemoteWebDriver.java:458)
	at org.openqa.selenium.By$ByXPath.findElement(By.java:361)
	at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:348)
	at Pages.BasePage.getWebElementByXpath(BasePage.java:323)
	at CucumberTests.Invitation.InvitationTest.createInvitationSuccessAlertIsDisplayed(InvitationTest.java:59)
	at ✽.Create invitation success alert is displayed(file:Features/Atom/Invitations/Invitation.feature:346)
After Hooks.deleteInvitationAfterTest() 030ms
After Hooks.cleanUserDetailsAfterTest() 1s 191ms
View Feature Advice Mail
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 413ms
And Prepare user "adama-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 1s 454ms
And Create transport "CREATE_CONTAINER" by JSON file as "super-admin-adama" 1s 911ms
And Get inputs from database "ADVICE_CONTAINER" "super-admin-adama" 022ms
And Show all transport types 1s 155ms
And Click button advice in transport table "CONTAINER" 260ms
And Set advice window in schedule 3s 187ms
And Fill advice form 14s 672ms
And Click advice save button and wait for advice form to disappear 33s 832ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zapisano awizację! | Advice has been saved!" 8s 103ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 906ms
After Hooks.cleanUserDetailsAfterTest() 1s 294ms
View Feature Advice Mail
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 641ms
And Prepare user "piast-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 925ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 2s 009ms
And Get inputs from database "ADVICE_DELIVERY" "super-admin-piast" 023ms
And Show all transport types 1s 208ms
And Click button advice in transport table "DELIVERY" 260ms
And Set advice window in schedule 3s 355ms
And Fill advice form 10s 610ms
And Click advice save button and wait for advice form to disappear 33s 302ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zapisano awizację! | Advice has been saved!" 7s 510ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 996ms
After Hooks.cleanUserDetailsAfterTest() 1s 044ms
View Feature Advice Mail
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 663ms
And Prepare user "keeeper-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 1s 811ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-keeeper" 1s 947ms
And Get inputs from database "ADVICE_LOAD" "super-admin-keeeper" 023ms
And Show all transport types 1s 161ms
And Click button advice in transport table "LOAD" 282ms
And Set advice window in schedule 3s 144ms
And Fill advice form 16s 164ms
And Click advice save button and wait for advice form to disappear 33s 308ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zapisano awizację! | Time window has been saved!" 7s 433ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 1s
After Hooks.cleanUserDetailsAfterTest() 1s 484ms
View Feature Advice Mail
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" 5s 236ms
And Prepare user "adama-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 1s 491ms
And Create transport "CREATE_CONTAINER" by JSON file as "super-admin-adama" 2s 003ms
And Show all transport types 1s 169ms
And Create advice "ADVICE_CONTAINER" "CONTAINER" "super-admin-adama" 51s 868ms
And Go to "TRANSPORT_TABLE" 423ms
And Go to transport details "CONTAINER" 2s 832ms
And Get inputs from database "EDIT_CONTAINER" "super-admin-adama" 020ms
When Go to transport details "CONTAINER" 3s 525ms
And Fill transport form 5s 179ms
And Get inputs from database "EDIT_ADVICE_CONTAINER" "super-admin-adama" 023ms
And Expand advice panel 263ms
And Edit advice in transport details 15s 304ms
And Click "save-transport-and-close" save button and wait for form to disappear 17s 475ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zmiana w awizacji numer" 3m 16s 317ms
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() 970ms
After Hooks.cleanUserDetailsAfterTest() 1s 356ms
View Feature Advice Mail
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 5s 912ms
And Prepare user "piast-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 1s 143ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 2s 001ms
And Show all transport types 1s 165ms
And Create advice "ADVICE_DELIVERY" "DELIVERY" "super-admin-piast" 47s 687ms
And Go to "TRANSPORT_TABLE" 494ms
And Go to transport details "DELIVERY" 2s 894ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-piast" 020ms
When Go to transport details "DELIVERY" 3s 585ms
And Fill transport form 1m 8s 867ms
And Get inputs from database "EDIT_ADVICE_DELIVERY" "super-admin-piast" 019ms
And Expand advice panel 262ms
And Edit advice in transport details 8s 114ms
And Click "save-transport-and-close" save button and wait for form to disappear 18s 635ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zmiana w awizacji numer" 2m 18s 196ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 1s 128ms
After Hooks.cleanUserDetailsAfterTest() 1s 066ms
View Feature Advice Mail
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 6s 178ms
And Prepare user "keeeper-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 1s 647ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-keeeper" 1s 968ms
And Show all transport types 1s 143ms
And Create advice "ADVICE_LOAD" "LOAD" "super-admin-keeeper" 53s 225ms
And Go to "TRANSPORT_TABLE" 430ms
And Go to transport details "LOAD" 2s 799ms
And Get inputs from database "EDIT_LOAD" "super-admin-keeeper" 020ms
When Go to transport details "LOAD" 3s 619ms
And Fill transport form 28s 621ms
And Get inputs from database "EDIT_ADVICE_LOAD" "super-admin-keeeper" 023ms
And Expand advice panel 278ms
And Edit advice in transport details 21s 477ms
And Click "save-transport-and-close" save button and wait for form to disappear 17s 507ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zmiana w awizacji numer" 8s 230ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 1s 026ms
After Hooks.cleanUserDetailsAfterTest() 1s 605ms
View Feature Advice Mail
Given Set token of apiUsername "super-admin-skd" 239ms
And Prepare user "swiss-krono-delivery-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 862ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-skd" 2s 725ms
And Confirm status "ARRIVAL" by Public API "v1" 1s 112ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Potwierdzono status Wjazd na teren zakładu" 32s 452ms
Then Check if user got a mail 000ms
And Confirm status "DEPARTURE" by Public API "v1" 1s 386ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Potwierdzono status Wyjazd" 31s 281ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 1s 019ms
After Hooks.cleanUserDetailsAfterTest() 955ms
View Feature Advice Mail
Given Set token of apiUsername "super-admin-hochland" 232ms
And Prepare company "Dostawca Hochland Automat 1" verification email setting "48h" 056ms
And Prepare user "dha1-supplier-2@qa.qa-test" details with all notifications and "apolloautomattest@gmail.com" by JSON file 977ms
And Login as "dha1-supplier-2@qa.qa-test" and set token of apiUsername "dha1-supplier-2@qa.qa-test" 8s 745ms
And Create transport "CREATE_DELIVERY" by JSON file as "dha1-supplier-2@qa.qa-test" 17s 038ms
And Wait "120" seconds 2m
When Get mail "apolloautomattest@gmail.com" message from mail account with "Weryfikacja danych awizacji" 7s 569ms
Then Check if user got a mail 003ms
After Hooks.deleteTransportAfterTest() 873ms
After Hooks.cleanUserDetailsAfterTest() 1s 422ms
After Hooks.rollbackVerificationEmailSettingAfterTest() 043ms
View Feature Auctions Mail
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 5s 368ms
And Prepare user "paa1-carrier@qa.qa-test" details with all notifications and "apolloautomattest@gmail.com" by JSON file 1s 150ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 066ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-adama" 3s 412ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Nowa aukcja" 7s 171ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 768ms
After Hooks.cleanUserDetailsAfterTest() 1s 935ms
View Feature Auctions Mail
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 452ms
And Prepare user "paa1-carrier@qa.qa-test" details with all notifications and "apolloautomattest@gmail.com" by JSON file 2s 279ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 105ms
And Set transport on auction with "500" and "1500" by JSON file as "super-admin-adama" 3s 059ms
And Add a bid "1500" to an auction by JSON file as "paa1-carrier@qa.qa-test" for "super-admin-adama" 1s 385ms
And Add a bid "500" to an auction by JSON file as "paa2-carrier@qa.qa-test" for "super-admin-adama" 2s 017ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Nie otrzymano zlecenia" 25s 868ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 757ms
After Hooks.cleanUserDetailsAfterTest() 2s 003ms
View Feature Auctions Mail
Given Login as "swisskrono-producer" and set token of apiUsername "super-admin-skz" 12s 377ms
And Prepare user "swisskrono-producer" details with all notifications and "apolloautomattest@gmail.com" by JSON file 1s 967ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 105ms
And Set transport on auction with "500" and "1500" by JSON file as "super-admin-skz" 2s 841ms
And Add a bid "1500" to an auction by JSON file as "pskza1-carrier@qa.qa-test" for "pskza1-carrier@qa.qa-test" 1s
And Wait till auction end 1m 57s 019ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Dodano nową ofertę" 7s 796ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 809ms
After Hooks.cleanUserDetailsAfterTest() 1s 836ms
View Feature Auctions Mail
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 571ms
And Prepare user "adama-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 1s 508ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 052ms
And Set transport on auction with "500" and "1500" by JSON file as "super-admin-adama" 3s 021ms
And Wait till auction end 1m 57s 017ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Aukcja zakończona bez ofert" 7s 777ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 787ms
After Hooks.cleanUserDetailsAfterTest() 1s 339ms
View Feature Auctions Mail
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 5s 159ms
And Prepare user "paa1-carrier@qa.qa-test" details with all notifications and "apolloautomattest@gmail.com" by JSON file 2s 305ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 087ms
And Set transport on auction with "500" and "1500" by JSON file as "super-admin-adama" 2s 939ms
And Add a bid "1500" to an auction by JSON file as "paa1-carrier@qa.qa-test" for "super-admin-adama" 1s 036ms
And Add a bid "500" to an auction by JSON file as "paa2-carrier@qa.qa-test" for "super-admin-adama" 1s 991ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Oferta przelicytowana" 19s 816ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 779ms
After Hooks.cleanUserDetailsAfterTest() 2s 011ms
View Feature Auctions Mail
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 477ms
And Prepare user "paa1-carrier@qa.qa-test" details with all notifications and "apolloautomattest@gmail.com" by JSON file 2s 332ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 079ms
And Set transport on auction with "500" and "1500" by JSON file as "super-admin-adama" 2s 983ms
And Add a bid "1500" to an auction by JSON file as "paa1-carrier@qa.qa-test" for "super-admin-adama" 978ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Otrzymano zlecenie" 2m 25s 076ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 743ms
After Hooks.cleanUserDetailsAfterTest() 2s 200ms
View Feature Auctions Mail
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 493ms
And Prepare user "paa1-carrier@qa.qa-test" details with all notifications and "apolloautomattest@gmail.com" by JSON file 27s 269ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 254ms
And Set transport on auction with "500" and "1500" by JSON file as "super-admin-adama" 2s 981ms
And Add a bid "500" to an auction by JSON file as "paa1-carrier@qa.qa-test" for "super-admin-adama" 1s 822ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Otrzymano zlecenie" 57s 448ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 785ms
After Hooks.cleanUserDetailsAfterTest() 1s 978ms
View Feature Auctions Mail
Given Login as "paa1-carrier@qa.qa-test" and set token of apiUsername "super-admin-adama" 5s 630ms
And Prepare user "paa1-carrier@qa.qa-test" details with all notifications and "apolloautomattest@gmail.com" by JSON file 2s 620ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 088ms
And Set transport on auction with "500" and "1500" by JSON file as "super-admin-adama" and finish of auction in "121" minutes 3s 058ms
And Wait "90" seconds 1m 30s
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zakończenie aukcji" 7s 758ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 916ms
After Hooks.cleanUserDetailsAfterTest() 2s 199ms
View Feature Discrepancy Report Mail
Scenario Outline Check if mail was sent to after discrepancy report generation
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 962ms
And Prepare user "hochland-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 4s 093ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 3s 177ms
And Go to "TRANSPORT_TABLE" 410ms
And Go to transport details "DELIVERY" 2s 886ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 020ms
And Fill transport form 40s 878ms
And Open section: "discrepancy-report-panel" 1s 157ms
And Fill discrepancy report section 40s 921ms
And Go to transport details "DELIVERY" 2s 859ms
And Change filled value in transport details "rodo-acceptance" "checkbox" "true" "0" 1s 606ms
And Generate discrepancy report 22s 160ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Utworzono protokół niezgodności" 3m 20s 678ms
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/DiscrepancyReportMail.feature:18)
After Hooks.deleteTransportAfterTest() 1s 248ms
After Hooks.cleanUserDetailsAfterTest() 3s 645ms
View Feature Mode of transportation mail
Given Set token of apiUsername "super-admin-bausch" 246ms
And Prepare user "super-admin-bausch" details with all notifications and "apolloautomattest@gmail.com" by JSON file 1s 881ms
When Create default mode of transportation by API with "pba1-carrier" 671ms
Then Update mode of transportation by API with "pba1-carrier": "BBBB0000" "Model2" "Marka2" "CCCC0000" 371ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Środek transportu BBBB0000 został zaktualizowany" 7s 645ms
Then Check if user got a mail 000ms
After Hooks.cleanUserDetailsAfterTest() 1s 528ms
After Hooks.deleteModeOfTransportationAfterTest() 317ms
View Feature Mode of transportation mail
Scenario Outline Check if mail was sent after creating mode of transportation
Steps
Given Set token of apiUsername "super-admin-bausch" 229ms
And Prepare user "super-admin-bausch" details with all notifications and "apolloautomattest@gmail.com" by JSON file 1s 761ms
When Create default mode of transportation by API with "pba1-carrier" 483ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Nowy środek transportu" 3m 19s 260ms
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/MOTMail.feature:21)
After Hooks.cleanUserDetailsAfterTest() 1s 764ms
After Hooks.deleteModeOfTransportationAfterTest() 332ms
View Feature Transport Mail
Scenario Outline Check if mail was sent to after transport delay
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 9s 415ms
And Prepare user "pha2-carrier@qa.qa-test" details with all notifications and "apolloautomattest@gmail.com" by JSON file 2s 617ms
And Set basic authorities "ROLE_CAN_PLAN_ADVICE_IN_THE_PAST" to user "hochland-admin" 183ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 3s 197ms
And Go to "WAREHOUSE_TAB" 1s 247ms
And Select warehouse "Serownia" 1s 559ms
And Set week view 1s 244ms
And Show yesterday 1s 152ms
And Move window into the past 428ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "spóźnił się na" 3m 22s 178ms
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/TransportMail.feature:15)
After Hooks.deleteTransportAfterTest() 1s 038ms
After Hooks.cleanUserDetailsAfterTest() 1s 866ms
After Hooks.rollbackAddedAuthorities() 154ms
View Feature Transport Mail
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 9s 831ms
And Prepare user "swisskrono-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 2s 392ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 116ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Drobnica import" 1m 9s 909ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 792ms
After Hooks.cleanUserDetailsAfterTest() 2s 126ms
View Feature Transport Mail
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 7s 385ms
And Prepare user "swisskrono-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 2s 396ms
And Create transport "CREATE_SMALLS_EXPORT" by JSON file as "super-admin-skz" 2s 107ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Drobnica eksport" 1m 4s 073ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 736ms
After Hooks.cleanUserDetailsAfterTest() 2s 310ms
View Feature Transport Transfer Mail
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 576ms
And Prepare user "paa1-carrier@qa.qa-test" details with all notifications and "apolloautomattest@gmail.com" by JSON file 2s 547ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 060ms
And Transfer transport to carrier "Przewoźnik Adama Automat 1" with "true" 20s 809ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zlecenie czeka na akceptację" 12s 882ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 845ms
After Hooks.cleanUserDetailsAfterTest() 2s 028ms
View Feature Transport Transfer Mail
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 480ms
And Prepare user "paa1-carrier@qa.qa-test" details with all notifications and "apolloautomattest@gmail.com" by JSON file 2s 375ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 078ms
And Transfer transport to carrier "Przewoźnik Adama Automat 1" with "false" 20s 864ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zostało przekazane nowe zlecenie" 7s 047ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 646ms
After Hooks.cleanUserDetailsAfterTest() 2s 028ms
View Feature Transport Transfer Mail
Scenario Outline Check mail after loosing inquiry
Steps
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 7s 668ms
And Prepare user "pskza1-carrier@qa.qa-test" details with all notifications and "apolloautomattest@gmail.com" by JSON file 2s 189ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 104ms
And Set transport on auction with "500" and "1500" by JSON file as "super-admin-skz" 2s 990ms
And Add a bid "1500" to an auction by JSON file as "pskza1-carrier@qa.qa-test" for "pskza1-carrier@qa.qa-test" 989ms
And Add a bid "500" to an auction by JSON file as "pskza2-carrier-2@qa.qa-test" for "pskza2-carrier-2@qa.qa-test" 1s 121ms
Then If user is login then logout 257ms
And Login as "swisskrono-admin" 2s 535ms
And Go to auction details 2s 165ms
And Pass transport to carrier from auction details 1s 512ms
And Get mail "apolloautomattest@gmail.com" message from mail account with "Nie otrzymano zlecenia" 3m 20s 055ms
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/TransportTransferMail.feature:53)
After Hooks.deleteTransportAfterTest() 962ms
After Hooks.cleanUserDetailsAfterTest() 1s 866ms
View Feature Transport Transfer Mail
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 758ms
And Prepare user "pskza1-carrier@qa.qa-test" details with all notifications and "apolloautomattest@gmail.com" by JSON file 1s 945ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 191ms
And Set transport on auction with "500" and "1500" by JSON file as "super-admin-skz" 2s 942ms
And Get mail "apolloautomattest@gmail.com" message from mail account with "Nowe zapytanie ofertowe" 50s 203ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 837ms
After Hooks.cleanUserDetailsAfterTest() 1s 697ms
View Feature Remind password
Given Set token of apiUsername "super-admin-adama" 258ms
And Prepare user "adama-admin" details with all notifications and "automaty10@o2.pl" by JSON file 1s 517ms
Then Send password remind email "automaty10@o2.pl" and check if status is ok 245ms
After Hooks.cleanUserDetailsAfterTest() 1s 332ms
View Feature Status rejection
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 4s 787ms
And Prepare user "pla1-carrier" details with all notifications and "apolloautomattest@gmail.com" by JSON file 1s 381ms
And Login as "lantmannen-guard" and set token of apiUsername "super-admin-lantmannen" 4s 809ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-lantmannen" 2s 932ms
And Check if reject date is not visible 15s 039ms
When Reject status: Book of disinfection 276ms
And Check if reject date is visible 939ms
Then If user is login then logout 253ms
And Login as "lantmannen-admin" 2s 251ms
And Check if note was added to transport after status rejection 1s 731ms
And Check if history note was added to transport after status rejection - "LOAD" 4s 286ms
And Get mail "apolloautomattest@gmail.com" message from mail account with "Nieaktualna księga mycia i dezynfekcji" 26s 772ms
And Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 854ms
After Hooks.cleanUserDetailsAfterTest() 979ms