Project Number Date
ApolloFullRunnerReport develop.434 24 maj 2021, 09:36

Tag Report

Steps Scenarios Features
Tag Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
@deleteInvitationAfterTest 190 7 35 0 0 232 27 7 34 7m 40s 728ms Failed
View Feature Invitation
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 1s 349ms
When Go to "INVITATIONS_TAB" 360ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy1@test.pl" "notFromPoland" 1s 402ms
Then Create invitation success alert is displayed 708ms
And Invitation is displayed on list "automatyy1@test.pl" 271ms
After Hooks.deleteInvitationAfterTest() 068ms
View Feature Invitation
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 225ms
When Go to "INVITATIONS_TAB" 178ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy2@test.pl" "notFromPoland" 1s 071ms
Then Create invitation success alert is displayed 271ms
And Invitation is displayed on list "automatyy2@test.pl" 177ms
After Hooks.deleteInvitationAfterTest() 042ms
View Feature Invitation
Scenario Outline Check if it possible to create invitation
Steps
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 1s 156ms
When Go to "INVITATIONS_TAB" 165ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy2@test.pl" "notFromPoland" 1s 040ms
Then Create invitation success alert is displayed 15s 050ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//div[contains(@class, 'success')]"}
  (Session info: headless chrome=90.0.4430.93)
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: 'ns3112421', ip: '94.23.29.183', os.name: 'Linux', os.arch: 'amd64', os.version: '4.15.0-136-generic', java.version: '1.8.0_201'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Capabilities [{networkConnectionEnabled=false, chrome={chromedriverVersion=90.0.4430.24 (4c6d850f087da467d926e8eddb76550aed655991-refs/branch-heads/4430@{#429}), userDataDir=/home/teamcity/build-agent-2/temp/buildTmp/.com.google.Chrome.aO301I}, 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=90.0.4430.93, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: 90d94c4c788e9fb06e5800f1f86bcf19
*** 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:56)
	at ✽.Create invitation success alert is displayed(file:Features/Atom/Invitations/Invitation.feature:8)
And Invitation is displayed on list "automatyy2@test.pl" 000ms
After Hooks.deleteInvitationAfterTest() 035ms
View Feature Invitation
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 278ms
When Go to "INVITATIONS_TAB" 188ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy2@test.pl" "notFromPoland" 1s 165ms
Then Create invitation success alert is displayed 256ms
And Invitation is displayed on list "automatyy2@test.pl" 217ms
After Hooks.deleteInvitationAfterTest() 047ms
View Feature Invitation
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 1s 182ms
When Go to "INVITATIONS_TAB" 184ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy2@test.pl" "notFromPoland" 1s 073ms
Then Create invitation success alert is displayed 191ms
And Invitation is displayed on list "automatyy2@test.pl" 198ms
After Hooks.deleteInvitationAfterTest() 050ms
View Feature Invitation
And Create invitation by JSON file "super-admin-skz" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 834ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 33s 460ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 069ms
View Feature Invitation
And Create invitation by JSON file "super-admin-lantmannen" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 850ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 43s 950ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 059ms
View Feature Invitation
And Create invitation by JSON file "super-admin-keeeper" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 920ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 31s 568ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 058ms
View Feature Invitation
And Create invitation by JSON file "super-admin-adama" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 815ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 7s 014ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 053ms
View Feature Invitation
And Create invitation by JSON file "super-admin-piast" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 310ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 13s 185ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 055ms
View Feature Invitation
And Create invitation by JSON file "super-admin-alrec" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 304ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 37s 543ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 105ms
View Feature Invitation
And Create invitation by JSON file "super-admin-sempertrans" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 370ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 36s 996ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 067ms
View Feature Invitation
Given If user is login then logout 085ms
Given Set token of apiUsername "super-admin-piast" 137ms
And Get setting "INVITATION_EXPIRATION_INTERVAL" for "piast" 202ms
Then Prepare setting: "INVITATION_EXPIRATION_INTERVAL" with value: "-1d" with "super-admin-piast" by API 272ms
And Create invitation by JSON file "super-admin-piast" for "automaty31415@test.pl" "CREATE_SUPPLIER_INVITATION" 338ms
Given Login as "super-admin-piast" and set token of apiUsername "super-admin-piast" 1s 230ms
Then Go to "INVITATIONS_TAB" 185ms
And Go to "EXPIRED_TAB" invitation status tab 084ms
Then Invitation is displayed on list "automaty31415@test.pl" 143ms
After Hooks.deleteInvitationAfterTest() 051ms
After Hooks.rollbackSettings() 049ms
View Feature Invitation
Scenario Outline Check if rejected invitation is visible in rejected tab
Steps
Given Set token of apiUsername "super-admin-piast" 123ms
And Prepare user "piast-admin" details with all notifications and "automaty31415@test.pl" by JSON file 170ms
Then Create invitation by JSON file "super-admin-alrec" for "automaty31415@test.pl" "CREATE_SUPPLIER_INVITATION" 172ms
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.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.GeneratedMethodAccessor94.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.GeneratedMethodAccessor93.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:64)
	at CucumberTests.Invitation.RegistrationTest.createInvitationByJSONFile(RegistrationTest.java:63)
	at ✽.Create invitation by JSON file "super-admin-alrec" for "automaty31415@test.pl" "CREATE_SUPPLIER_INVITATION"(file:Features/Atom/Invitations/Invitation.feature:153)
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
After Hooks.deleteInvitationAfterTest() 055ms
After Hooks.cleanUserDetailsAfterTest() 136ms
View Feature Invitation
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 448ms
When Go to "INVITATIONS_TAB" 179ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy4@test.pl" "PL" 1s 188ms
Then Check content of message about invitation "GUSAlert" 1s 449ms
And If user is login then logout 094ms
When Mock invitation email by admin panel "piast-admin" "automatyy4@test.pl" 5s 257ms
And Verify that user is redirected to registration page 200ms
And Fill tax id registration page "notByJSON" 203ms
Then Verify that user is redirected to registration page 085ms
And Check if data from GUS are automatically completed 2s 084ms
After Hooks.deleteInvitationAfterTest() 045ms
View Feature Invitation
Scenario Outline Check if new company from Poland is correctly verified in GUS [A-7282]
Steps
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 1s 088ms
When Go to "INVITATIONS_TAB" 188ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy4@test.pl" "PL" 1s 168ms
Then Check content of message about invitation "GUSAlert" 15s 045ms
java.lang.AssertionError: Komunikat o poprawnym wysłaniu zaproszenia na mejla się nie pojawił
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at Pages.Invitation.InvitationPage.getSuccessAlertContent(InvitationPage.java:74)
	at CucumberTests.Invitation.InvitationTest.checkContentInvitationAlert(InvitationTest.java:214)
	at ✽.Check content of message about invitation "GUSAlert"(file:Features/Atom/Invitations/Invitation.feature:172)
And If user is login then logout 000ms
When Mock invitation email by admin panel "lantmannen-admin" "automatyy4@test.pl" 000ms
And Verify that user is redirected to registration page 000ms
And Fill tax id registration page "notByJSON" 000ms
Then Verify that user is redirected to registration page 000ms
And Check if data from GUS are automatically completed 000ms
After Hooks.deleteInvitationAfterTest() 050ms
View Feature Invitation
Scenario Outline Check if new company from Poland is correctly verified in GUS [A-7282]
Steps
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 133ms
When Go to "INVITATIONS_TAB" 178ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy4@test.pl" "PL" 1s 120ms
Then Check content of message about invitation "GUSAlert" 15s 042ms
java.lang.AssertionError: Komunikat o poprawnym wysłaniu zaproszenia na mejla się nie pojawił
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at Pages.Invitation.InvitationPage.getSuccessAlertContent(InvitationPage.java:74)
	at CucumberTests.Invitation.InvitationTest.checkContentInvitationAlert(InvitationTest.java:214)
	at ✽.Check content of message about invitation "GUSAlert"(file:Features/Atom/Invitations/Invitation.feature:172)
And If user is login then logout 000ms
When Mock invitation email by admin panel "keeeper-admin" "automatyy4@test.pl" 000ms
And Verify that user is redirected to registration page 000ms
And Fill tax id registration page "notByJSON" 000ms
Then Verify that user is redirected to registration page 000ms
And Check if data from GUS are automatically completed 000ms
After Hooks.deleteInvitationAfterTest() 052ms
View Feature Invitation
Scenario Outline Check if new company from Poland is correctly verified in GUS [A-7282]
Steps
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 1s 098ms
When Go to "INVITATIONS_TAB" 190ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy4@test.pl" "PL" 1s 145ms
Then Check content of message about invitation "GUSAlert" 15s 029ms
java.lang.AssertionError: Komunikat o poprawnym wysłaniu zaproszenia na mejla się nie pojawił
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at Pages.Invitation.InvitationPage.getSuccessAlertContent(InvitationPage.java:74)
	at CucumberTests.Invitation.InvitationTest.checkContentInvitationAlert(InvitationTest.java:214)
	at ✽.Check content of message about invitation "GUSAlert"(file:Features/Atom/Invitations/Invitation.feature:172)
And If user is login then logout 000ms
When Mock invitation email by admin panel "neuca-admin" "automatyy4@test.pl" 000ms
And Verify that user is redirected to registration page 000ms
And Fill tax id registration page "notByJSON" 000ms
Then Verify that user is redirected to registration page 000ms
And Check if data from GUS are automatically completed 000ms
After Hooks.deleteInvitationAfterTest() 051ms
View Feature Invitation
Scenario Outline Check if new company from Poland is correctly verified in GUS [A-7282]
Steps
Given Login as "farmacol-admin" and set token of apiUsername "super-admin-farmacol" 1s 133ms
When Go to "INVITATIONS_TAB" 180ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy4@test.pl" "PL" 1s 087ms
Then Check content of message about invitation "GUSAlert" 15s 015ms
java.lang.AssertionError: Komunikat o poprawnym wysłaniu zaproszenia na mejla się nie pojawił
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at Pages.Invitation.InvitationPage.getSuccessAlertContent(InvitationPage.java:74)
	at CucumberTests.Invitation.InvitationTest.checkContentInvitationAlert(InvitationTest.java:214)
	at ✽.Check content of message about invitation "GUSAlert"(file:Features/Atom/Invitations/Invitation.feature:172)
And If user is login then logout 000ms
When Mock invitation email by admin panel "farmacol-admin" "automatyy4@test.pl" 000ms
And Verify that user is redirected to registration page 000ms
And Fill tax id registration page "notByJSON" 000ms
Then Verify that user is redirected to registration page 000ms
And Check if data from GUS are automatically completed 000ms
After Hooks.deleteInvitationAfterTest() 047ms
View Feature Invitation
Given If user is login then logout 089ms
And Create invitation by JSON file "super-admin-piast" for "automatyy99@test.pl" "CREATE_SUPPLIER_INVITATION" 351ms
When Mock invitation email by admin panel "super-admin-piast" "automatyy99@test.pl" 5s 432ms
And Verify that user is redirected to registration page 171ms
And Fill tax id registration page "notbyJSON" 206ms
Then Check if non-compliant NIP message is displayed 2s 036ms
After Hooks.deleteInvitationAfterTest() 053ms
View Feature Invitation
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 115ms
When Go to "INVITATIONS_TAB" 189ms
And Go to create invitation form 096ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "PRODUCER" "null" "aaaa@keeeper.pl" 464ms
Then Check if NIP is not required to inviting to your company 30s 062ms
When Send invitation 092ms
Then Create invitation success alert is displayed 262ms
And Invitation is displayed on list "aaaa@keeeper.pl" 292ms
After Hooks.deleteInvitationAfterTest() 049ms
View Feature Invitation
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 1s 766ms
When Go to "INVITATIONS_TAB" 166ms
And Go to create invitation form 076ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "WAREHOUSEMAN" "null" "aaaa@neuca.pl" 441ms
Then Check if NIP is not required to inviting to your company 30s 073ms
When Send invitation 102ms
Then Create invitation success alert is displayed 308ms
And Invitation is displayed on list "aaaa@neuca.pl" 239ms
After Hooks.deleteInvitationAfterTest() 099ms
View Feature Invitation
Given Login as "farmacol-admin" and set token of apiUsername "super-admin-farmacol" 2s 011ms
When Go to "INVITATIONS_TAB" 180ms
And Go to create invitation form 099ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "WAREHOUSE_MANAGER" "null" "aaaa@farmacol.com.pl" 526ms
Then Check if NIP is not required to inviting to your company 30s 067ms
When Send invitation 092ms
Then Create invitation success alert is displayed 310ms
And Invitation is displayed on list "aaaa@farmacol.com.pl" 268ms
After Hooks.deleteInvitationAfterTest() 061ms
View Feature Invitation
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 168ms
When Go to "INVITATIONS_TAB" 194ms
And Go to create invitation form 089ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "PRODUCER" "null" "aaaa@keeeper.pl" 445ms
When Send invitation 061ms
Then Create invitation success alert is displayed 257ms
And Check content of message about invitation "ownCompany" 064ms
And Invitation is displayed on list "aaaa@keeeper.pl" 209ms
After Hooks.deleteInvitationAfterTest() 059ms
View Feature Invitation
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 1s 007ms
When Go to "INVITATIONS_TAB" 158ms
And Go to create invitation form 090ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "WAREHOUSEMAN" "null" "aaaa@neuca.pl" 477ms
When Send invitation 068ms
Then Create invitation success alert is displayed 254ms
And Check content of message about invitation "ownCompany" 054ms
And Invitation is displayed on list "aaaa@neuca.pl" 203ms
After Hooks.deleteInvitationAfterTest() 051ms
View Feature Invitation
Given Login as "farmacol-admin" and set token of apiUsername "super-admin-farmacol" 1s 070ms
When Go to "INVITATIONS_TAB" 172ms
And Go to create invitation form 075ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "WAREHOUSE_MANAGER" "null" "aaaa@farmacol.com.pl" 496ms
When Send invitation 069ms
Then Create invitation success alert is displayed 311ms
And Check content of message about invitation "ownCompany" 062ms
And Invitation is displayed on list "aaaa@farmacol.com.pl" 188ms
After Hooks.deleteInvitationAfterTest() 053ms
View Feature Invitation
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 053ms
When Go to "INVITATIONS_TAB" 188ms
And Go to create invitation form 077ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "PRODUCER" "null" "aaaa@kper.pl" 445ms
When Send invitation 064ms
Then Verify that wrong mail domain alert is displayed 068ms
When Fill part of invitation page for existed company in Apollo "null" "null" "null" "abc@keeeper.pl" 101ms
And Send invitation 043ms
Then Create invitation success alert is displayed 264ms
And Check content of message about invitation "ownCompany" 045ms
And Invitation is displayed on list "abc@keeeper.pl" 202ms
After Hooks.deleteInvitationAfterTest() 049ms
View Feature Invitation
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 969ms
When Go to "INVITATIONS_TAB" 157ms
And Go to create invitation form 083ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "WAREHOUSEMAN" "null" "aaaa@neeeuca.pl" 492ms
When Send invitation 066ms
Then Verify that wrong mail domain alert is displayed 047ms
When Fill part of invitation page for existed company in Apollo "null" "null" "null" "abcd@neuca.pl" 102ms
And Send invitation 047ms
Then Create invitation success alert is displayed 261ms
And Check content of message about invitation "ownCompany" 057ms
And Invitation is displayed on list "abcd@neuca.pl" 218ms
After Hooks.deleteInvitationAfterTest() 041ms
View Feature Invitation
Given Login as "farmacol-admin" and set token of apiUsername "super-admin-farmacol" 1s 216ms
When Go to "INVITATIONS_TAB" 177ms
And Go to create invitation form 070ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "WAREHOUSE_MANAGER" "null" "aaaa@farrrmacol.com.pl" 488ms
When Send invitation 076ms
Then Verify that wrong mail domain alert is displayed 051ms
When Fill part of invitation page for existed company in Apollo "null" "null" "null" "abcde@farmacol.com.pl" 112ms
And Send invitation 058ms
Then Create invitation success alert is displayed 265ms
And Check content of message about invitation "ownCompany" 054ms
And Invitation is displayed on list "abcde@farmacol.com.pl" 170ms
After Hooks.deleteInvitationAfterTest() 045ms
View Feature Invitation
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 810ms
When Go to "INVITATIONS_TAB" 239ms
And Create invitation for "new" user "CARRIER" "CARRIER" "dha1-supplier-2@qa.qa-test" "AL" 1s 102ms
Then Check content of message about invitation "incompatibleNIP" 107ms
After Hooks.deleteInvitationAfterTest() 032ms
View Feature Invitation
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 1s 527ms
When Go to "INVITATIONS_TAB" 192ms
And Create invitation for "new" user "CARRIER" "CARRIER" "dha1-supplier-2@qa.qa-test" "AL" 1s 090ms
Then Check content of message about invitation "incompatibleNIP" 113ms
After Hooks.deleteInvitationAfterTest() 041ms
View Feature Invitation
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 125ms
When Go to "INVITATIONS_TAB" 195ms
And Go to create invitation form 084ms
And Fill part of invitation page for existed company in Apollo "CARRIER" "CARRIER" "PL" "dha1-supplier-2@qa.qa-test" 1s 038ms
Then Check if company existed in apollo is suggest correctly 057ms
When Send invitation 063ms
Then Check content of message about invitation "incompatibleNIP" 116ms
After Hooks.deleteInvitationAfterTest() 041ms
View Feature Invitation
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 1s 038ms
When Go to "INVITATIONS_TAB" 179ms
And Go to create invitation form 089ms
And Fill part of invitation page for existed company in Apollo "CARRIER" "CARRIER" "PL" "dha1-supplier-2@qa.qa-test" 1s 058ms
Then Check if company existed in apollo is suggest correctly 059ms
When Send invitation 048ms
Then Check content of message about invitation "incompatibleNIP" 112ms
After Hooks.deleteInvitationAfterTest() 045ms
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" 128ms
And Prepare user "dha1-supplier-2@qa.qa-test" details with all notifications and "automatyy3333@test.pl" by JSON file 225ms
When Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 1s 031ms
And Go to "INVITATIONS_TAB" 161ms
And Create invitation for "existing" user "SUPPLIER" "SUPPLIER" "automatyy3333@test.pl" "PL" 396ms
javax.persistence.PersistenceException: org.hibernate.exception.DataException: could not extract ResultSet
	at org.hibernate.internal.ExceptionConverterImpl.convert(ExceptionConverterImpl.java:149)
	at org.hibernate.internal.ExceptionConverterImpl.convert(ExceptionConverterImpl.java:157)
	at org.hibernate.query.internal.AbstractProducedQuery.list(AbstractProducedQuery.java:1515)
	at org.hibernate.query.internal.AbstractProducedQuery.getSingleResult(AbstractProducedQuery.java:1554)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.getStringResult(ApolloSelectDbService.java:128)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.findCompanyTaxIdNumberByEmail(ApolloSelectDbService.java:403)
	at Pages.Invitation.InvitationPage.fillForm(InvitationPage.java:47)
	at CucumberTests.Invitation.InvitationTest.createInvitation(InvitationTest.java:48)
	at ✽.Create invitation for "existing" user "SUPPLIER" "SUPPLIER" "automatyy3333@test.pl" "PL"(file:Features/Atom/Invitations/Invitation.feature:317)
Caused by: org.hibernate.exception.DataException: could not extract ResultSet
	at org.hibernate.exception.internal.SQLStateConversionDelegate.convert(SQLStateConversionDelegate.java:118)
	at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:42)
	at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:111)
	at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:97)
	at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.extract(ResultSetReturnImpl.java:69)
	at org.hibernate.loader.Loader.getResultSet(Loader.java:2167)
	at org.hibernate.loader.Loader.executeQueryStatement(Loader.java:1930)
	at org.hibernate.loader.Loader.executeQueryStatement(Loader.java:1892)
	at org.hibernate.loader.Loader.doQuery(Loader.java:937)
	at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:340)
	at org.hibernate.loader.Loader.doList(Loader.java:2689)
	at org.hibernate.loader.Loader.doList(Loader.java:2672)
	at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2506)
	at org.hibernate.loader.Loader.list(Loader.java:2501)
	at org.hibernate.loader.custom.CustomLoader.list(CustomLoader.java:338)
	at org.hibernate.internal.SessionImpl.listCustomQuery(SessionImpl.java:2221)
	at org.hibernate.internal.AbstractSharedSessionContract.list(AbstractSharedSessionContract.java:1051)
	at org.hibernate.query.internal.NativeQueryImpl.doList(NativeQueryImpl.java:168)
	at org.hibernate.query.internal.AbstractProducedQuery.list(AbstractProducedQuery.java:1506)
	at org.hibernate.query.internal.AbstractProducedQuery.getSingleResult(AbstractProducedQuery.java:1554)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.getStringResult(ApolloSelectDbService.java:128)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.findCompanyTaxIdNumberByEmail(ApolloSelectDbService.java:403)
	at Pages.Invitation.InvitationPage.fillForm(InvitationPage.java:47)
	at CucumberTests.Invitation.InvitationTest.createInvitation(InvitationTest.java:48)
	at sun.reflect.GeneratedMethodAccessor234.invoke(Unknown Source)
	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.JavaStepDefinition.execute(JavaStepDefinition.java:57)
	at cucumber.runner.PickleStepDefinitionMatch.runStep(PickleStepDefinitionMatch.java:50)
	at cucumber.runner.TestStep.executeStep(TestStep.java:63)
	at cucumber.runner.TestStep.run(TestStep.java:49)
	at cucumber.runner.PickleStepTestStep.run(PickleStepTestStep.java:43)
	at cucumber.runner.TestCase.run(TestCase.java:45)
	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)
Caused by: org.postgresql.util.PSQLException: BŁĄD: ponad jeden wiersz zwrócony przez podzapytanie użyte jako wyrażenie
	at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2103)
	at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1836)
	at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:257)
	at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:512)
	at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:388)
	at org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc2Statement.java:273)
	at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.extract(ResultSetReturnImpl.java:60)
	... 60 more
Then Create invitation success alert is displayed 000ms
After Hooks.deleteInvitationAfterTest() 041ms
After Hooks.cleanUserDetailsAfterTest() 209ms