Project Number Date
ApolloFullRunnerReport develop.344 19 maj 2021, 19:36

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Invitation 343 11 51 0 0 405 44 11 55 13m 55s 225ms Failed
Feature Invitation
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 1s 235ms
When Go to "INVITATIONS_TAB" 327ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy1@test.pl" "notFromPoland" 1s 433ms
Then Create invitation success alert is displayed 648ms
And Invitation is displayed on list "automatyy1@test.pl" 144ms
After Hooks.deleteInvitationAfterTest() 034ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 080ms
When Go to "INVITATIONS_TAB" 176ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy2@test.pl" "notFromPoland" 1s 112ms
Then Create invitation success alert is displayed 254ms
And Invitation is displayed on list "automatyy2@test.pl" 185ms
After Hooks.deleteInvitationAfterTest() 029ms
Scenario Outline Check if it possible to create invitation
Steps
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 995ms
When Go to "INVITATIONS_TAB" 183ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy2@test.pl" "notFromPoland" 1s 092ms
Then Create invitation success alert is displayed 15s 024ms
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.WKWIO2}, 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: 04bc9faeb0706f0280e16abb5afc1365
*** 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() 024ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 102ms
When Go to "INVITATIONS_TAB" 188ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy2@test.pl" "notFromPoland" 1s 144ms
Then Create invitation success alert is displayed 197ms
And Invitation is displayed on list "automatyy2@test.pl" 197ms
After Hooks.deleteInvitationAfterTest() 021ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 1s 122ms
When Go to "INVITATIONS_TAB" 170ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy2@test.pl" "notFromPoland" 1s 021ms
Then Create invitation success alert is displayed 187ms
And Invitation is displayed on list "automatyy2@test.pl" 171ms
After Hooks.deleteInvitationAfterTest() 025ms
Given If user is login then logout 090ms
And Create invitation by JSON file "super-admin-skz" for "automatyy15q@test.pl" "CREATE_SUPPLIER_INVITATION" 303ms
When Mock invitation email by admin panel "super-admin-skz" "automatyy15q@test.pl" 5s 636ms
And Fill tax id registration page "byJSON" 382ms
And Verify that user is redirected to registration page 086ms
And Register to application "SUPPLIER" 1s 484ms
Then Check if user can be logged "automatyy15q@test.pl" 3s 046ms
After Hooks.cleanUpAfterTest() 455ms
Given If user is login then logout 087ms
And Create invitation by JSON file "super-admin-piast" for "automatyy19q@test.pl" "CREATE_SUPPLIER_INVITATION" 309ms
When Mock invitation email by admin panel "super-admin-piast" "automatyy19q@test.pl" 5s 326ms
And Fill tax id registration page "byJSON" 341ms
And Verify that user is redirected to registration page 097ms
And Register to application "SUPPLIER" 1s 475ms
Then Check if user can be logged "automatyy19q@test.pl" 1s 955ms
After Hooks.cleanUpAfterTest() 480ms
Given If user is login then logout 082ms
And Create invitation by JSON file "super-admin-lantmannen" for "automatyy2545q@test.pl" "CREATE_SUPPLIER_INVITATION" 1s 348ms
When Mock invitation email by admin panel "super-admin-lantmannen" "automatyy2545q@test.pl" 5s 228ms
And Fill tax id registration page "byJSON" 346ms
And Verify that user is redirected to registration page 089ms
And Register to application "SUPPLIER" 1s 453ms
Then Check if user can be logged "automatyy2545q@test.pl" 2s 214ms
After Hooks.cleanUpAfterTest() 324ms
Given If user is login then logout 082ms
And Create invitation by JSON file "super-admin-keeeper" for "automatyy287q@test.pl" "CREATE_SUPPLIER_INVITATION" 774ms
When Mock invitation email by admin panel "super-admin-keeeper" "automatyy287q@test.pl" 5s 341ms
And Fill tax id registration page "byJSON" 358ms
And Verify that user is redirected to registration page 096ms
And Register to application "SUPPLIER" 1s 338ms
Then Check if user can be logged "automatyy287q@test.pl" 2s 629ms
After Hooks.cleanUpAfterTest() 365ms
Given If user is login then logout 083ms
And Create invitation by JSON file "super-admin-alrec" for "automatyy2871q@test.pl" "CREATE_SUPPLIER_INVITATION" 285ms
When Mock invitation email by admin panel "super-admin-alrec" "automatyy2871q@test.pl" 5s 354ms
And Fill tax id registration page "byJSON" 332ms
And Verify that user is redirected to registration page 088ms
And Register to application "SUPPLIER" 1s 430ms
Then Check if user can be logged "automatyy2871q@test.pl" 2s 270ms
After Hooks.cleanUpAfterTest() 351ms
Given If user is login then logout 071ms
And Create invitation by JSON file "super-admin-piast" for "automaty31415@test.pl" "CREATE_SUPPLIER_INVITATION" 298ms
When Mock invitation email by admin panel "super-admin-piast" "automaty31415@test.pl" 5s 252ms
And Fill tax id registration page "byJSON" 351ms
And Register to application "SUPPLIER" 1s 297ms
And Login as "automaty31415@test.pl" and set token of apiUsername "super-admin-piast" 1s 573ms
Then Mock invitation email by admin panel "super-admin-piast" "automaty31415@test.pl" 5s 318ms
And Verify that user is redirected to invitation page "automaty31415@test.pl" 494ms
After Hooks.cleanUpAfterTest() 379ms
Scenario Outline Check if logged user is redirected from registration link to invitation tab
Steps
Given If user is login then logout 093ms
And Create invitation by JSON file "super-admin-lantmannen" for "automaty27182@test.pl" "CREATE_SUPPLIER_INVITATION" 263ms
When Mock invitation email by admin panel "super-admin-lantmannen" "automaty27182@test.pl" 5s 326ms
And Fill tax id registration page "byJSON" 344ms
And Register to application "SUPPLIER" 1s 551ms
And Login as "automaty27182@test.pl" and set token of apiUsername "super-admin-lantmannen" 31s 338ms
org.openqa.selenium.TimeoutException: Expected condition failed: Nie udalo sie poprawnie zalogowac automaty27182@test.pl (tried for 20 second(s) with 500 MILLISECONDS interval)
	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.checkElementIsVisible(BasePage.java:183)
	at Pages.LoginPage.loginAs(LoginPage.java:38)
	at CucumberTests.BaseTest.loginAs(BaseTest.java:102)
	at CucumberTests.LoginTest.loginAsAndSetTokenOfApiUsername(LoginTest.java:78)
	at ✽.Login as "automaty27182@test.pl" and set token of apiUsername "super-admin-lantmannen"(file:Features/Atom/Invitations/Invitation.feature:42)
Caused by: org.openqa.selenium.NoSuchElementException: Cannot locate an element using By.xpath: //a[text()='Logout'] | //a[text()='Wyloguj']
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: driver.version: unknown
	at org.openqa.selenium.support.ui.ExpectedConditions.lambda$findElement$0(ExpectedConditions.java:882)
	at java.util.Optional.orElseThrow(Optional.java:290)
	at org.openqa.selenium.support.ui.ExpectedConditions.findElement(ExpectedConditions.java:881)
	at org.openqa.selenium.support.ui.ExpectedConditions.access$000(ExpectedConditions.java:43)
	at org.openqa.selenium.support.ui.ExpectedConditions$7.apply(ExpectedConditions.java:205)
	at org.openqa.selenium.support.ui.ExpectedConditions$7.apply(ExpectedConditions.java:201)
	at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:208)
	at Pages.BasePage.checkElementIsVisible(BasePage.java:183)
	at Pages.LoginPage.loginAs(LoginPage.java:38)
	at CucumberTests.BaseTest.loginAs(BaseTest.java:102)
	at CucumberTests.LoginTest.loginAsAndSetTokenOfApiUsername(LoginTest.java:78)
	at sun.reflect.GeneratedMethodAccessor199.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)
Then Mock invitation email by admin panel "super-admin-lantmannen" "automaty27182@test.pl" 000ms
And Verify that user is redirected to invitation page "automaty27182@test.pl" 000ms
After Hooks.cleanUpAfterTest() 629ms
Scenario Outline Check if logged user is redirected from registration link to invitation tab
Steps
Given If user is login then logout 15s 028ms
And Create invitation by JSON file "super-admin-keeeper" for "automaty6022@test.pl" "CREATE_SUPPLIER_INVITATION" 266ms
When Mock invitation email by admin panel "super-admin-keeeper" "automaty6022@test.pl" 5s 320ms
And Fill tax id registration page "byJSON" 357ms
And Register to application "SUPPLIER" 1s 528ms
And Login as "automaty6022@test.pl" and set token of apiUsername "super-admin-keeeper" 31s 535ms
org.openqa.selenium.TimeoutException: Expected condition failed: Nie udalo sie poprawnie zalogowac automaty6022@test.pl (tried for 20 second(s) with 500 MILLISECONDS interval)
	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.checkElementIsVisible(BasePage.java:183)
	at Pages.LoginPage.loginAs(LoginPage.java:38)
	at CucumberTests.BaseTest.loginAs(BaseTest.java:102)
	at CucumberTests.LoginTest.loginAsAndSetTokenOfApiUsername(LoginTest.java:78)
	at ✽.Login as "automaty6022@test.pl" and set token of apiUsername "super-admin-keeeper"(file:Features/Atom/Invitations/Invitation.feature:42)
Caused by: org.openqa.selenium.NoSuchElementException: Cannot locate an element using By.xpath: //a[text()='Logout'] | //a[text()='Wyloguj']
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: driver.version: unknown
	at org.openqa.selenium.support.ui.ExpectedConditions.lambda$findElement$0(ExpectedConditions.java:882)
	at java.util.Optional.orElseThrow(Optional.java:290)
	at org.openqa.selenium.support.ui.ExpectedConditions.findElement(ExpectedConditions.java:881)
	at org.openqa.selenium.support.ui.ExpectedConditions.access$000(ExpectedConditions.java:43)
	at org.openqa.selenium.support.ui.ExpectedConditions$7.apply(ExpectedConditions.java:205)
	at org.openqa.selenium.support.ui.ExpectedConditions$7.apply(ExpectedConditions.java:201)
	at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:208)
	at Pages.BasePage.checkElementIsVisible(BasePage.java:183)
	at Pages.LoginPage.loginAs(LoginPage.java:38)
	at CucumberTests.BaseTest.loginAs(BaseTest.java:102)
	at CucumberTests.LoginTest.loginAsAndSetTokenOfApiUsername(LoginTest.java:78)
	at sun.reflect.GeneratedMethodAccessor199.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)
Then Mock invitation email by admin panel "super-admin-keeeper" "automaty6022@test.pl" 000ms
And Verify that user is redirected to invitation page "automaty6022@test.pl" 000ms
After Hooks.cleanUpAfterTest() 847ms
Given If user is login then logout 15s 042ms
And Create invitation by JSON file "super-admin-skz" for "automaty666@test.pl" "CREATE_SUPPLIER_INVITATION" 308ms
When Mock invitation email by admin panel "super-admin-skz" "automaty666@test.pl" 5s 239ms
And Fill tax id registration page "byJSON" 332ms
And Register to application "SUPPLIER" 1s 506ms
And Login as "automaty666@test.pl" and set token of apiUsername "super-admin-skz" 1s 912ms
Then Mock invitation email by admin panel "super-admin-skz" "automaty666@test.pl" 5s 314ms
And Verify that user is redirected to invitation page "automaty666@test.pl" 413ms
After Hooks.cleanUpAfterTest() 389ms
Scenario Outline Check if logged user is redirected from registration link to invitation tab
Steps
Given If user is login then logout 110ms
And Create invitation by JSON file "super-admin-alrec" for "automaty2871q@test.pl" "CREATE_SUPPLIER_INVITATION" 301ms
When Mock invitation email by admin panel "super-admin-alrec" "automaty2871q@test.pl" 5s 329ms
And Fill tax id registration page "byJSON" 344ms
And Register to application "SUPPLIER" 1s 485ms
And Login as "automaty2871q@test.pl" and set token of apiUsername "super-admin-alrec" 31s 228ms
org.openqa.selenium.TimeoutException: Expected condition failed: Nie udalo sie poprawnie zalogowac automaty2871q@test.pl (tried for 20 second(s) with 500 MILLISECONDS interval)
	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.checkElementIsVisible(BasePage.java:183)
	at Pages.LoginPage.loginAs(LoginPage.java:38)
	at CucumberTests.BaseTest.loginAs(BaseTest.java:102)
	at CucumberTests.LoginTest.loginAsAndSetTokenOfApiUsername(LoginTest.java:78)
	at ✽.Login as "automaty2871q@test.pl" and set token of apiUsername "super-admin-alrec"(file:Features/Atom/Invitations/Invitation.feature:42)
Caused by: org.openqa.selenium.NoSuchElementException: Cannot locate an element using By.xpath: //a[text()='Logout'] | //a[text()='Wyloguj']
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: driver.version: unknown
	at org.openqa.selenium.support.ui.ExpectedConditions.lambda$findElement$0(ExpectedConditions.java:882)
	at java.util.Optional.orElseThrow(Optional.java:290)
	at org.openqa.selenium.support.ui.ExpectedConditions.findElement(ExpectedConditions.java:881)
	at org.openqa.selenium.support.ui.ExpectedConditions.access$000(ExpectedConditions.java:43)
	at org.openqa.selenium.support.ui.ExpectedConditions$7.apply(ExpectedConditions.java:205)
	at org.openqa.selenium.support.ui.ExpectedConditions$7.apply(ExpectedConditions.java:201)
	at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:208)
	at Pages.BasePage.checkElementIsVisible(BasePage.java:183)
	at Pages.LoginPage.loginAs(LoginPage.java:38)
	at CucumberTests.BaseTest.loginAs(BaseTest.java:102)
	at CucumberTests.LoginTest.loginAsAndSetTokenOfApiUsername(LoginTest.java:78)
	at sun.reflect.GeneratedMethodAccessor199.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)
Then Mock invitation email by admin panel "super-admin-alrec" "automaty2871q@test.pl" 000ms
And Verify that user is redirected to invitation page "automaty2871q@test.pl" 000ms
After Hooks.cleanUpAfterTest() 673ms
And Create invitation by JSON file "super-admin-skz" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 780ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 44s 492ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 047ms
And Create invitation by JSON file "super-admin-lantmannen" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 760ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 31s 302ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 040ms
And Create invitation by JSON file "super-admin-keeeper" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 762ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 31s 264ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 034ms
And Create invitation by JSON file "super-admin-adama" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 733ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 43s 180ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 032ms
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" 43s 334ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 042ms
And Create invitation by JSON file "super-admin-alrec" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 284ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 42s 946ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 038ms
And Create invitation by JSON file "super-admin-sempertrans" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 305ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 42s 430ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 034ms
Scenario Outline Check if user has accepted invitation from principal after accepting invitation by another user from company
Steps
Given Set token of apiUsername "super-admin-farmacol" 121ms
And Prepare user "dnfa1-supplier" details with all notifications and "automaty314153@test.pl" by JSON file 456ms
And Create invitation by JSON file "super-admin-farmacol" for "automaty314153@test.pl" "CREATE_SUPPLIER_INVITATION" 168ms
java.lang.AssertionError: 1 expectation failed.
Expected status code <200> but was <422>.

	at sun.reflect.GeneratedConstructorAccessor191.newInstance(Unknown Source)
	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-farmacol" for "automaty314153@test.pl" "CREATE_SUPPLIER_INVITATION"(file:Features/Atom/Invitations/Invitation.feature:72)
And Prepare user "dnfa1-supplier-2" details with all notifications and "automaty214152@test.pl" by JSON file 000ms
And Create invitation by JSON file "super-admin-farmacol" for "automaty214152@test.pl" "CREATE_SUPPLIER_INVITATION" 000ms
When Login as "dnfa1-supplier" and set token of apiUsername "super-admin-farmacol" 000ms
And Go to "INVITATIONS_TAB" 000ms
And Accept invitation 000ms
And If user is login then logout 000ms
And Login as "dnfa1-supplier-2" and set token of apiUsername "super-admin-farmacol" 000ms
And Verify if user has visible "no waiting" invitation 000ms
And Verify if user has visible "accepted" invitation 000ms
And Verify if user can see "Farmacol" on principal switch dropdown 000ms
After Hooks.cleanUserDetailsAfterTest() 242ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 1s 712ms
When Create and accept invitation by JSON file as "super-admin-skz" for "automaty1591qa@test.pl" "CREATE_CARRIER_INVITATION" 2s 159ms
And Go to "USERS_TAB" 1s 843ms
And Find user "automaty1591qa@test.pl" 2s 237ms
And Change user details "email" to "apolloautomattest@test.pl" 299ms
And Save user details 968ms
When Go to "INVITATIONS_TAB" 162ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automaty1591qa@test.pl" "notFromPoland" 1s 074ms
Then Verify that invitation can't be sent on already used username 088ms
After Hooks.cleanUpAfterTest() 902ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 930ms
When Create and accept invitation by JSON file as "super-admin-lantmannen" for "automaty1231qa@test.pl" "CREATE_CARRIER_INVITATION" 1s 569ms
And Go to "USERS_TAB" 957ms
And Find user "automaty1231qa@test.pl" 2s 230ms
And Change user details "email" to "apolloautomattest@test.pl" 277ms
And Save user details 270ms
When Go to "INVITATIONS_TAB" 155ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automaty1231qa@test.pl" "notFromPoland" 984ms
Then Verify that invitation can't be sent on already used username 074ms
After Hooks.cleanUpAfterTest() 570ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 274ms
When Create and accept invitation by JSON file as "super-admin-piast" for "automaty9231qa@test.pl" "CREATE_CARRIER_INVITATION" 627ms
And Go to "USERS_TAB" 901ms
And Find user "automaty9231qa@test.pl" 2s 239ms
And Change user details "email" to "apolloautomattest@test.pl" 294ms
And Save user details 371ms
When Go to "INVITATIONS_TAB" 176ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automaty9231qa@test.pl" "notFromPoland" 1s 019ms
Then Verify that invitation can't be sent on already used username 083ms
After Hooks.cleanUpAfterTest() 731ms
Given Login as "farmacol-admin" and set token of apiUsername "super-admin-farmacol" 1s 153ms
When Create and accept invitation by JSON file as "super-admin-farmacol" for "automaty7221qa@test.pl" "CREATE_CARRIER_INVITATION" 743ms
And Go to "USERS_TAB" 894ms
And Find user "automaty7221qa@test.pl" 2s 222ms
And Change user details "email" to "apolloautomattest@test.pl" 351ms
And Save user details 466ms
When Go to "INVITATIONS_TAB" 170ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automaty7221qa@test.pl" "notFromPoland" 1s 038ms
Then Verify that invitation can't be sent on already used username 088ms
After Hooks.cleanUpAfterTest() 946ms
Given If user is login then logout 063ms
And Create invitation by JSON file "super-admin-piast" for "automaty31415@test.pl" "CREATE_SUPPLIER_INVITATION" 344ms
When Mock invitation email by admin panel "super-admin-piast" "automaty31415@test.pl" 5s 213ms
And Verify that user is redirected to registration page 178ms
And Fill tax id registration page "byJSON" 179ms
And Register to application "SUPPLIER" 1s 343ms
Given Login as "super-admin-piast" and set token of apiUsername "super-admin-piast" 1s 461ms
When Go to "INVITATIONS_TAB" 185ms
Then Go to "ACCEPTED_TAB" invitation status tab 085ms
And Invitation is displayed on list "automaty31415@test.pl" 153ms
After Hooks.cleanUpAfterTest() 785ms
Given If user is login then logout 079ms
Given Set token of apiUsername "super-admin-piast" 148ms
And Get setting "INVITATION_EXPIRATION_INTERVAL" for "piast" 188ms
Then Prepare setting: "INVITATION_EXPIRATION_INTERVAL" with value: "-1d" with "super-admin-piast" by API 214ms
And Create invitation by JSON file "super-admin-piast" for "automaty31415@test.pl" "CREATE_SUPPLIER_INVITATION" 314ms
Given Login as "super-admin-piast" and set token of apiUsername "super-admin-piast" 1s 259ms
Then Go to "INVITATIONS_TAB" 187ms
And Go to "EXPIRED_TAB" invitation status tab 069ms
Then Invitation is displayed on list "automaty31415@test.pl" 126ms
After Hooks.deleteInvitationAfterTest() 024ms
After Hooks.rollbackSettings() 022ms
Scenario Outline Check if rejected invitation is visible in rejected tab
Steps
Given Set token of apiUsername "super-admin-piast" 124ms
And Prepare user "piast-admin" details with all notifications and "automaty31415@test.pl" by JSON file 158ms
Then Create invitation by JSON file "super-admin-alrec" for "automaty31415@test.pl" "CREATE_SUPPLIER_INVITATION" 134ms
java.lang.AssertionError: 1 expectation failed.
Expected status code <200> but was <422>.

	at sun.reflect.GeneratedConstructorAccessor191.newInstance(Unknown Source)
	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() 017ms
After Hooks.cleanUserDetailsAfterTest() 126ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 412ms
When Go to "INVITATIONS_TAB" 155ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy4@test.pl" "PL" 1s 042ms
Then Check content of message about invitation "GUSAlert" 1s 286ms
And If user is login then logout 079ms
When Mock invitation email by admin panel "piast-admin" "automatyy4@test.pl" 5s 202ms
And Verify that user is redirected to registration page 179ms
And Fill tax id registration page "notByJSON" 189ms
Then Verify that user is redirected to registration page 084ms
And Check if data from GUS are automatically completed 2s 071ms
After Hooks.deleteInvitationAfterTest() 020ms
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 026ms
When Go to "INVITATIONS_TAB" 185ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy4@test.pl" "PL" 1s 097ms
Then Check content of message about invitation "GUSAlert" 15s 024ms
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() 026ms
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 074ms
When Go to "INVITATIONS_TAB" 174ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy4@test.pl" "PL" 1s 109ms
Then Check content of message about invitation "GUSAlert" 15s 036ms
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() 022ms
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 089ms
When Go to "INVITATIONS_TAB" 189ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy4@test.pl" "PL" 1s 201ms
Then Check content of message about invitation "GUSAlert" 15s 059ms
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() 026ms
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 230ms
When Go to "INVITATIONS_TAB" 191ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy4@test.pl" "PL" 1s 210ms
Then Check content of message about invitation "GUSAlert" 15s 057ms
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() 030ms
Given If user is login then logout 116ms
And Create invitation by JSON file "super-admin-piast" for "automatyy99@test.pl" "CREATE_SUPPLIER_INVITATION" 346ms
When Mock invitation email by admin panel "super-admin-piast" "automatyy99@test.pl" 5s 338ms
And Verify that user is redirected to registration page 177ms
And Fill tax id registration page "notbyJSON" 207ms
Then Check if non-compliant NIP message is displayed 2s 039ms
After Hooks.deleteInvitationAfterTest() 029ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 068ms
When Go to "INVITATIONS_TAB" 193ms
And Go to create invitation form 101ms
And Fill part of invitation page for existed company in Apollo "CARRIER" "CARRIER" "PL" "null" 902ms
Then Check if company existed in apollo is suggest correctly 890ms
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 999ms
When Go to "INVITATIONS_TAB" 159ms
And Go to create invitation form 082ms
And Fill part of invitation page for existed company in Apollo "SUPPLIER" "SUPPLIER" "PL" "null" 821ms
Then Check if company existed in apollo is suggest correctly 107ms
Given Login as "farmacol-admin" and set token of apiUsername "super-admin-farmacol" 1s 066ms
When Go to "INVITATIONS_TAB" 174ms
And Go to create invitation form 077ms
And Fill part of invitation page for existed company in Apollo "CARRIER" "CARRIER" "PL" "null" 806ms
Then Check if company existed in apollo is suggest correctly 116ms
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 988ms
When Go to "INVITATIONS_TAB" 154ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy3333@test.pl" "PL" 1s 075ms
Then Check content of message about invitation "GUSAlert" 295ms
And If user is login then logout 091ms
When Mock invitation email by admin panel "neuca-admin" "automatyy3333@test.pl" 5s 329ms
And Fill tax id registration page "notByJSON" 341ms
And Register to application "CARRIER" 1s 426ms
And Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 1s 077ms
And Go to "COMPANIES_TAB" 377ms
And Go to company "POLSKI KONCERN NAFTOWY ORLEN SPÓŁKA AKCYJNA" details 233ms
Then Check if user "neuca-admin" have correct permission to edit data from the GUS 117ms
After Hooks.changeCompanyNIPAndDeleteFromGUSCompanyDatabaseTable() 1s 845ms
Given Login as "super-admin-lantmannen" and set token of apiUsername "super-admin-lantmannen" 1s 885ms
When Go to "INVITATIONS_TAB" 191ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy3338@test.pl" "PL" 1s 108ms
Then Check content of message about invitation "GUSAlert" 1s 046ms
And If user is login then logout 095ms
When Mock invitation email by admin panel "super-admin-lantmannen" "automatyy3338@test.pl" 5s 371ms
And Fill tax id registration page "notByJSON" 376ms
And Register to application "CARRIER" 1s 266ms
And Login as "super-admin-lantmannen" and set token of apiUsername "super-admin-lantmannen" 1s 078ms
And Go to "COMPANIES_TAB" 469ms
And Go to company "POLSKI KONCERN NAFTOWY ORLEN SPÓŁKA AKCYJNA" details 220ms
Then Check if user "super-admin-lantmannen" have correct permission to edit data from the GUS 405ms
After Hooks.changeCompanyNIPAndDeleteFromGUSCompanyDatabaseTable() 1s 306ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 081ms
When Go to "INVITATIONS_TAB" 199ms
And Go to create invitation form 097ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "PRODUCER" "null" "aaaa@keeeper.pl" 479ms
Then Check if NIP is not required to inviting to your company 30s 087ms
When Send invitation 098ms
Then Create invitation success alert is displayed 204ms
And Invitation is displayed on list "aaaa@keeeper.pl" 234ms
After Hooks.deleteInvitationAfterTest() 031ms
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 1s 632ms
When Go to "INVITATIONS_TAB" 165ms
And Go to create invitation form 088ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "WAREHOUSEMAN" "null" "aaaa@neuca.pl" 474ms
Then Check if NIP is not required to inviting to your company 30s 110ms
When Send invitation 079ms
Then Create invitation success alert is displayed 263ms
And Invitation is displayed on list "aaaa@neuca.pl" 241ms
After Hooks.deleteInvitationAfterTest() 032ms
Given Login as "farmacol-admin" and set token of apiUsername "super-admin-farmacol" 2s 008ms
When Go to "INVITATIONS_TAB" 160ms
And Go to create invitation form 086ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "WAREHOUSE_MANAGER" "null" "aaaa@farmacol.com.pl" 411ms
Then Check if NIP is not required to inviting to your company 30s 096ms
When Send invitation 102ms
Then Create invitation success alert is displayed 252ms
And Invitation is displayed on list "aaaa@farmacol.com.pl" 229ms
After Hooks.deleteInvitationAfterTest() 034ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 133ms
When Go to "INVITATIONS_TAB" 193ms
And Go to create invitation form 097ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "PRODUCER" "null" "aaaa@keeeper.pl" 449ms
When Send invitation 062ms
Then Create invitation success alert is displayed 193ms
And Check content of message about invitation "ownCompany" 061ms
And Invitation is displayed on list "aaaa@keeeper.pl" 213ms
After Hooks.deleteInvitationAfterTest() 034ms
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 983ms
When Go to "INVITATIONS_TAB" 165ms
And Go to create invitation form 067ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "WAREHOUSEMAN" "null" "aaaa@neuca.pl" 471ms
When Send invitation 066ms
Then Create invitation success alert is displayed 247ms
And Check content of message about invitation "ownCompany" 049ms
And Invitation is displayed on list "aaaa@neuca.pl" 205ms
After Hooks.deleteInvitationAfterTest() 029ms
Given Login as "farmacol-admin" and set token of apiUsername "super-admin-farmacol" 1s 050ms
When Go to "INVITATIONS_TAB" 184ms
And Go to create invitation form 085ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "WAREHOUSE_MANAGER" "null" "aaaa@farmacol.com.pl" 461ms
When Send invitation 076ms
Then Create invitation success alert is displayed 247ms
And Check content of message about invitation "ownCompany" 054ms
And Invitation is displayed on list "aaaa@farmacol.com.pl" 209ms
After Hooks.deleteInvitationAfterTest() 026ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 054ms
When Go to "INVITATIONS_TAB" 189ms
And Go to create invitation form 067ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "PRODUCER" "null" "aaaa@kper.pl" 399ms
When Send invitation 053ms
Then Verify that wrong mail domain alert is displayed 054ms
When Fill part of invitation page for existed company in Apollo "null" "null" "null" "abc@keeeper.pl" 105ms
And Send invitation 042ms
Then Create invitation success alert is displayed 190ms
And Check content of message about invitation "ownCompany" 056ms
And Invitation is displayed on list "abc@keeeper.pl" 173ms
After Hooks.deleteInvitationAfterTest() 027ms
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 982ms
When Go to "INVITATIONS_TAB" 150ms
And Go to create invitation form 079ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "WAREHOUSEMAN" "null" "aaaa@neeeuca.pl" 420ms
When Send invitation 069ms
Then Verify that wrong mail domain alert is displayed 051ms
When Fill part of invitation page for existed company in Apollo "null" "null" "null" "abcd@neuca.pl" 115ms
And Send invitation 047ms
Then Create invitation success alert is displayed 263ms
And Check content of message about invitation "ownCompany" 052ms
And Invitation is displayed on list "abcd@neuca.pl" 188ms
After Hooks.deleteInvitationAfterTest() 031ms
Given Login as "farmacol-admin" and set token of apiUsername "super-admin-farmacol" 1s 077ms
When Go to "INVITATIONS_TAB" 188ms
And Go to create invitation form 075ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "WAREHOUSE_MANAGER" "null" "aaaa@farrrmacol.com.pl" 484ms
When Send invitation 076ms
Then Verify that wrong mail domain alert is displayed 045ms
When Fill part of invitation page for existed company in Apollo "null" "null" "null" "abcde@farmacol.com.pl" 117ms
And Send invitation 059ms
Then Create invitation success alert is displayed 258ms
And Check content of message about invitation "ownCompany" 055ms
And Invitation is displayed on list "abcde@farmacol.com.pl" 204ms
After Hooks.deleteInvitationAfterTest() 029ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 592ms
When Go to "INVITATIONS_TAB" 177ms
And Create invitation for "new" user "CARRIER" "CARRIER" "dha1-supplier-2@qa.qa-test" "AL" 1s 116ms
Then Check content of message about invitation "incompatibleNIP" 120ms
After Hooks.deleteInvitationAfterTest() 019ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 1s 323ms
When Go to "INVITATIONS_TAB" 187ms
And Create invitation for "new" user "CARRIER" "CARRIER" "dha1-supplier-2@qa.qa-test" "AL" 1s 057ms
Then Check content of message about invitation "incompatibleNIP" 115ms
After Hooks.deleteInvitationAfterTest() 021ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 106ms
When Go to "INVITATIONS_TAB" 186ms
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 032ms
Then Check if company existed in apollo is suggest correctly 059ms
When Send invitation 058ms
Then Check content of message about invitation "incompatibleNIP" 120ms
After Hooks.deleteInvitationAfterTest() 022ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 1s 012ms
When Go to "INVITATIONS_TAB" 177ms
And Go to create invitation form 081ms
And Fill part of invitation page for existed company in Apollo "CARRIER" "CARRIER" "PL" "dha1-supplier-2@qa.qa-test" 978ms
Then Check if company existed in apollo is suggest correctly 048ms
When Send invitation 054ms
Then Check content of message about invitation "incompatibleNIP" 108ms
After Hooks.deleteInvitationAfterTest() 020ms
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" 129ms
And Prepare user "dha1-supplier-2@qa.qa-test" details with all notifications and "automatyy3333@test.pl" by JSON file 198ms
When Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 980ms
And Go to "INVITATIONS_TAB" 164ms
And Create invitation for "existing" user "SUPPLIER" "SUPPLIER" "automatyy3333@test.pl" "PL" 404ms
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() 021ms
After Hooks.cleanUserDetailsAfterTest() 177ms