Project Number Date
ApolloFullRunnerReport develop.415 08 maj 2021, 06:12

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Invitation 341 10 52 0 2 405 43 12 55 14m 6s 923ms Failed
Feature Invitation
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 1s 736ms
When Go to "INVITATIONS_TAB" 471ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy1@test.pl" "notFromPoland" 1s 407ms
Then Create invitation success alert is displayed 693ms
And Invitation is displayed on list "automatyy1@test.pl" 173ms
After Hooks.deleteInvitationAfterTest() 054ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 166ms
When Go to "INVITATIONS_TAB" 183ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy2@test.pl" "notFromPoland" 1s 072ms
Then Create invitation success alert is displayed 252ms
And Invitation is displayed on list "automatyy2@test.pl" 188ms
After Hooks.deleteInvitationAfterTest() 040ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 1s 116ms
When Go to "INVITATIONS_TAB" 167ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy2@test.pl" "notFromPoland" 1s 093ms
Then Create invitation success alert is displayed 195ms
And Invitation is displayed on list "automatyy2@test.pl" 200ms
After Hooks.deleteInvitationAfterTest() 041ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 074ms
When Go to "INVITATIONS_TAB" 179ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy2@test.pl" "notFromPoland" 1s 251ms
Then Create invitation success alert is displayed 196ms
And Invitation is displayed on list "automatyy2@test.pl" 184ms
After Hooks.deleteInvitationAfterTest() 032ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 1s 070ms
When Go to "INVITATIONS_TAB" 162ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy2@test.pl" "notFromPoland" 1s 016ms
Then Create invitation success alert is displayed 191ms
And Invitation is displayed on list "automatyy2@test.pl" 176ms
After Hooks.deleteInvitationAfterTest() 042ms
Given If user is login then logout 077ms
And Create invitation by JSON file "super-admin-skz" for "automatyy15q@test.pl" "CREATE_SUPPLIER_INVITATION" 365ms
When Mock invitation email by admin panel "super-admin-skz" "automatyy15q@test.pl" 6s 165ms
And Fill tax id registration page "byJSON" 538ms
And Verify that user is redirected to registration page 092ms
And Register to application "SUPPLIER" 1s 233ms
Then Check if user can be logged "automatyy15q@test.pl" 3s 340ms
After Hooks.cleanUpAfterTest() 535ms
Given If user is login then logout 069ms
And Create invitation by JSON file "super-admin-piast" for "automatyy19q@test.pl" "CREATE_SUPPLIER_INVITATION" 314ms
When Mock invitation email by admin panel "super-admin-piast" "automatyy19q@test.pl" 5s 269ms
And Fill tax id registration page "byJSON" 378ms
And Verify that user is redirected to registration page 103ms
And Register to application "SUPPLIER" 1s 242ms
Then Check if user can be logged "automatyy19q@test.pl" 2s 120ms
After Hooks.cleanUpAfterTest() 425ms
Given If user is login then logout 073ms
And Create invitation by JSON file "super-admin-lantmannen" for "automatyy2545q@test.pl" "CREATE_SUPPLIER_INVITATION" 1s 923ms
When Mock invitation email by admin panel "super-admin-lantmannen" "automatyy2545q@test.pl" 5s 361ms
And Fill tax id registration page "byJSON" 433ms
And Verify that user is redirected to registration page 086ms
And Register to application "SUPPLIER" 1s 286ms
Then Check if user can be logged "automatyy2545q@test.pl" 2s 376ms
After Hooks.cleanUpAfterTest() 376ms
Given If user is login then logout 078ms
And Create invitation by JSON file "super-admin-keeeper" for "automatyy287q@test.pl" "CREATE_SUPPLIER_INVITATION" 785ms
When Mock invitation email by admin panel "super-admin-keeeper" "automatyy287q@test.pl" 5s 230ms
And Fill tax id registration page "byJSON" 335ms
And Verify that user is redirected to registration page 093ms
And Register to application "SUPPLIER" 1s 262ms
Then Check if user can be logged "automatyy287q@test.pl" 2s 622ms
After Hooks.cleanUpAfterTest() 420ms
Given If user is login then logout 069ms
And Create invitation by JSON file "super-admin-alrec" for "automatyy2871q@test.pl" "CREATE_SUPPLIER_INVITATION" 323ms
When Mock invitation email by admin panel "super-admin-alrec" "automatyy2871q@test.pl" 5s 176ms
And Fill tax id registration page "byJSON" 387ms
And Verify that user is redirected to registration page 085ms
And Register to application "SUPPLIER" 1s 220ms
Then Check if user can be logged "automatyy2871q@test.pl" 2s 763ms
After Hooks.cleanUpAfterTest() 384ms
Given If user is login then logout 092ms
And Create invitation by JSON file "super-admin-piast" for "automaty31415@test.pl" "CREATE_SUPPLIER_INVITATION" 321ms
When Mock invitation email by admin panel "super-admin-piast" "automaty31415@test.pl" 5s 197ms
And Fill tax id registration page "byJSON" 336ms
And Register to application "SUPPLIER" 1s 288ms
And Login as "automaty31415@test.pl" and set token of apiUsername "super-admin-piast" 1s 768ms
Then Mock invitation email by admin panel "super-admin-piast" "automaty31415@test.pl" 5s 317ms
And Verify that user is redirected to invitation page "automaty31415@test.pl" 655ms
After Hooks.cleanUpAfterTest() 438ms
Scenario Outline Check if logged user is redirected from registration link to invitation tab
Steps
Given If user is login then logout 089ms
And Create invitation by JSON file "super-admin-lantmannen" for "automaty27182@test.pl" "CREATE_SUPPLIER_INVITATION" 269ms
When Mock invitation email by admin panel "super-admin-lantmannen" "automaty27182@test.pl" 5s 398ms
And Fill tax id registration page "byJSON" 382ms
And Register to application "SUPPLIER" 1s 282ms
And Login as "automaty27182@test.pl" and set token of apiUsername "super-admin-lantmannen" 31s 303ms
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:166)
	at Pages.LoginPage.loginAs(LoginPage.java:38)
	at CucumberTests.BaseTest.loginAs(BaseTest.java:102)
	at CucumberTests.LoginTest.loginAsAndSetTokenOfApiUsername(LoginTest.java:73)
	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:166)
	at Pages.LoginPage.loginAs(LoginPage.java:38)
	at CucumberTests.BaseTest.loginAs(BaseTest.java:102)
	at CucumberTests.LoginTest.loginAsAndSetTokenOfApiUsername(LoginTest.java:73)
	at sun.reflect.GeneratedMethodAccessor204.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() 660ms
Scenario Outline Check if logged user is redirected from registration link to invitation tab
Steps
Given If user is login then logout 15s 017ms
And Create invitation by JSON file "super-admin-keeeper" for "automaty6022@test.pl" "CREATE_SUPPLIER_INVITATION" 339ms
When Mock invitation email by admin panel "super-admin-keeeper" "automaty6022@test.pl" 5s 237ms
And Fill tax id registration page "byJSON" 346ms
And Register to application "SUPPLIER" 1s 270ms
And Login as "automaty6022@test.pl" and set token of apiUsername "super-admin-keeeper" 31s 383ms
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:166)
	at Pages.LoginPage.loginAs(LoginPage.java:38)
	at CucumberTests.BaseTest.loginAs(BaseTest.java:102)
	at CucumberTests.LoginTest.loginAsAndSetTokenOfApiUsername(LoginTest.java:73)
	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:166)
	at Pages.LoginPage.loginAs(LoginPage.java:38)
	at CucumberTests.BaseTest.loginAs(BaseTest.java:102)
	at CucumberTests.LoginTest.loginAsAndSetTokenOfApiUsername(LoginTest.java:73)
	at sun.reflect.GeneratedMethodAccessor204.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() 1s 077ms
Given If user is login then logout 15s 058ms
And Create invitation by JSON file "super-admin-skz" for "automaty666@test.pl" "CREATE_SUPPLIER_INVITATION" 326ms
When Mock invitation email by admin panel "super-admin-skz" "automaty666@test.pl" 5s 276ms
And Fill tax id registration page "byJSON" 476ms
And Register to application "SUPPLIER" 1s 498ms
And Login as "automaty666@test.pl" and set token of apiUsername "super-admin-skz" 1s 978ms
Then Mock invitation email by admin panel "super-admin-skz" "automaty666@test.pl" 5s 185ms
And Verify that user is redirected to invitation page "automaty666@test.pl" 711ms
After Hooks.cleanUpAfterTest() 549ms
Scenario Outline Check if logged user is redirected from registration link to invitation tab
Steps
Given If user is login then logout 097ms
And Create invitation by JSON file "super-admin-alrec" for "automaty2871q@test.pl" "CREATE_SUPPLIER_INVITATION" 370ms
When Mock invitation email by admin panel "super-admin-alrec" "automaty2871q@test.pl" 5s 212ms
And Fill tax id registration page "byJSON" 337ms
And Register to application "SUPPLIER" 1s 399ms
And Login as "automaty2871q@test.pl" and set token of apiUsername "super-admin-alrec" 31s 493ms
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:166)
	at Pages.LoginPage.loginAs(LoginPage.java:38)
	at CucumberTests.BaseTest.loginAs(BaseTest.java:102)
	at CucumberTests.LoginTest.loginAsAndSetTokenOfApiUsername(LoginTest.java:73)
	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:166)
	at Pages.LoginPage.loginAs(LoginPage.java:38)
	at CucumberTests.BaseTest.loginAs(BaseTest.java:102)
	at CucumberTests.LoginTest.loginAsAndSetTokenOfApiUsername(LoginTest.java:73)
	at sun.reflect.GeneratedMethodAccessor204.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() 911ms
And Create invitation by JSON file "super-admin-skz" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 810ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 40s 305ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 036ms
And Create invitation by JSON file "super-admin-lantmannen" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 790ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 44s 121ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 073ms
And Create invitation by JSON file "super-admin-keeeper" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 858ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 49s 554ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 067ms
And Create invitation by JSON file "super-admin-adama" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 785ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 32s 010ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 080ms
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" 37s 930ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 072ms
And Create invitation by JSON file "super-admin-alrec" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 281ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 1m 2s 350ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 040ms
And Create invitation by JSON file "super-admin-sempertrans" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 292ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 37s 144ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 043ms
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" 111ms
And Prepare user "dnfa1-supplier" details with all notifications and "automaty314153@test.pl" by JSON file 271ms
And Create invitation by JSON file "super-admin-farmacol" for "automaty314153@test.pl" "CREATE_SUPPLIER_INVITATION" 420ms
java.lang.AssertionError: 1 expectation failed.
Expected status code <200> but was <422>.

	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:83)
	at org.codehaus.groovy.reflection.CachedConstructor.doConstructorInvoke(CachedConstructor.java:77)
	at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrap.callConstructor(ConstructorSite.java:84)
	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:59)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:238)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:250)
	at io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure.validate(ResponseSpecificationImpl.groovy:494)
	at io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure$validate$1.call(Unknown Source)
	at io.restassured.internal.RequestSpecificationImpl.applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy:1750)
	at sun.reflect.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() 176ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 1s 659ms
When Create and accept invitation by JSON file as "super-admin-skz" for "automaty1591qa@test.pl" "CREATE_CARRIER_INVITATION" 1s 916ms
And Go to "USERS_TAB" 1s 251ms
And Find user "automaty1591qa@test.pl" 2s 245ms
And Change user details "email" to "apolloautomattest@test.pl" 540ms
And Save user details 1s 004ms
When Go to "INVITATIONS_TAB" 157ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automaty1591qa@test.pl" "notFromPoland" 1s 259ms
Then Verify that invitation can't be sent on already used username 084ms
After Hooks.cleanUpAfterTest() 1s 095ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 1s 201ms
When Create and accept invitation by JSON file as "super-admin-lantmannen" for "automaty1231qa@test.pl" "CREATE_CARRIER_INVITATION" 1s 604ms
And Go to "USERS_TAB" 905ms
And Find user "automaty1231qa@test.pl" 2s 219ms
And Change user details "email" to "apolloautomattest@test.pl" 317ms
And Save user details 304ms
When Go to "INVITATIONS_TAB" 159ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automaty1231qa@test.pl" "notFromPoland" 1s 028ms
Then Verify that invitation can't be sent on already used username 074ms
After Hooks.cleanUpAfterTest() 708ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 203ms
When Create and accept invitation by JSON file as "super-admin-piast" for "automaty9231qa@test.pl" "CREATE_CARRIER_INVITATION" 750ms
And Go to "USERS_TAB" 1s 244ms
And Find user "automaty9231qa@test.pl" 2s 228ms
And Change user details "email" to "apolloautomattest@test.pl" 334ms
And Save user details 317ms
When Go to "INVITATIONS_TAB" 188ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automaty9231qa@test.pl" "notFromPoland" 955ms
Then Verify that invitation can't be sent on already used username 079ms
After Hooks.cleanUpAfterTest() 1s 003ms
Given Login as "farmacol-admin" and set token of apiUsername "super-admin-farmacol" 1s 118ms
When Create and accept invitation by JSON file as "super-admin-farmacol" for "automaty7221qa@test.pl" "CREATE_CARRIER_INVITATION" 806ms
And Go to "USERS_TAB" 1s 249ms
And Find user "automaty7221qa@test.pl" 2s 357ms
And Change user details "email" to "apolloautomattest@test.pl" 373ms
And Save user details 522ms
When Go to "INVITATIONS_TAB" 160ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automaty7221qa@test.pl" "notFromPoland" 1s 060ms
Then Verify that invitation can't be sent on already used username 079ms
After Hooks.cleanUpAfterTest() 998ms
Given If user is login then logout 067ms
And Create invitation by JSON file "super-admin-piast" for "automaty31415@test.pl" "CREATE_SUPPLIER_INVITATION" 309ms
When Mock invitation email by admin panel "super-admin-piast" "automaty31415@test.pl" 5s 280ms
And Verify that user is redirected to registration page 336ms
And Fill tax id registration page "byJSON" 194ms
And Register to application "SUPPLIER" 1s 299ms
Given Login as "super-admin-piast" and set token of apiUsername "super-admin-piast" 1s 656ms
When Go to "INVITATIONS_TAB" 181ms
Then Go to "ACCEPTED_TAB" invitation status tab 095ms
And Invitation is displayed on list "automaty31415@test.pl" 127ms
After Hooks.cleanUpAfterTest() 839ms
Given If user is login then logout 069ms
Given Set token of apiUsername "super-admin-piast" 106ms
And Get setting "INVITATION_EXPIRATION_INTERVAL" for "piast" 186ms
Then Prepare setting: "INVITATION_EXPIRATION_INTERVAL" with value: "-1d" with "super-admin-piast" by API 266ms
And Create invitation by JSON file "super-admin-piast" for "automaty31415@test.pl" "CREATE_SUPPLIER_INVITATION" 317ms
Given Login as "super-admin-piast" and set token of apiUsername "super-admin-piast" 1s 342ms
Then Go to "INVITATIONS_TAB" 178ms
And Go to "EXPIRED_TAB" invitation status tab 054ms
Then Invitation is displayed on list "automaty31415@test.pl" 102ms
After Hooks.deleteInvitationAfterTest() 037ms
After Hooks.rollbackSettings() 033ms
Scenario Outline Check if rejected invitation is visible in rejected tab
Steps
Given Set token of apiUsername "super-admin-piast" 115ms
And Prepare user "piast-admin" details with all notifications and "automaty31415@test.pl" by JSON file 154ms
Then Create invitation by JSON file "super-admin-alrec" for "automaty31415@test.pl" "CREATE_SUPPLIER_INVITATION" 170ms
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() 030ms
After Hooks.cleanUserDetailsAfterTest() 162ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 350ms
When Go to "INVITATIONS_TAB" 171ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy4@test.pl" "PL" 1s 328ms
Then Check content of message about invitation "GUSAlert" 727ms
And If user is login then logout 058ms
When Mock invitation email by admin panel "piast-admin" "automatyy4@test.pl" 5s 156ms
And Verify that user is redirected to registration page 301ms
And Fill tax id registration page "notByJSON" 183ms
Then Verify that user is redirected to registration page 096ms
And Check if data from GUS are automatically completed 2s 067ms
After Hooks.deleteInvitationAfterTest() 031ms
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 083ms
When Go to "INVITATIONS_TAB" 170ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy4@test.pl" "PL" 1s 112ms
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() 042ms
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 227ms
When Go to "INVITATIONS_TAB" 189ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy4@test.pl" "PL" 1s 273ms
Then Check content of message about invitation "GUSAlert" 15s 007ms
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() 033ms
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 223ms
When Go to "INVITATIONS_TAB" 230ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy4@test.pl" "PL" 1s 226ms
Then Check content of message about invitation "GUSAlert" 15s 009ms
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() 033ms
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 150ms
When Go to "INVITATIONS_TAB" 189ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy4@test.pl" "PL" 1s 271ms
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() 030ms
Given If user is login then logout 122ms
And Create invitation by JSON file "super-admin-piast" for "automatyy99@test.pl" "CREATE_SUPPLIER_INVITATION" 318ms
When Mock invitation email by admin panel "super-admin-piast" "automatyy99@test.pl" 5s 219ms
And Verify that user is redirected to registration page 199ms
And Fill tax id registration page "notbyJSON" 189ms
Then Check if non-compliant NIP message is displayed 2s 026ms
After Hooks.deleteInvitationAfterTest() 044ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 258ms
When Go to "INVITATIONS_TAB" 215ms
And Go to create invitation form 075ms
And Fill part of invitation page for existed company in Apollo "CARRIER" "CARRIER" "PL" "null" 890ms
Then Check if company existed in apollo is suggest correctly 613ms
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 966ms
When Go to "INVITATIONS_TAB" 151ms
And Go to create invitation form 067ms
And Fill part of invitation page for existed company in Apollo "SUPPLIER" "SUPPLIER" "PL" "null" 900ms
Then Check if company existed in apollo is suggest correctly 109ms
Given Login as "farmacol-admin" and set token of apiUsername "super-admin-farmacol" 1s 027ms
When Go to "INVITATIONS_TAB" 158ms
And Go to create invitation form 062ms
And Fill part of invitation page for existed company in Apollo "CARRIER" "CARRIER" "PL" "null" 895ms
Then Check if company existed in apollo is suggest correctly 103ms
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 967ms
When Go to "INVITATIONS_TAB" 144ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy3333@test.pl" "PL" 1s 088ms
Then Check content of message about invitation "GUSAlert" 289ms
And If user is login then logout 074ms
When Mock invitation email by admin panel "neuca-admin" "automatyy3333@test.pl" 5s 236ms
And Fill tax id registration page "notByJSON" 333ms
And Register to application "CARRIER" 1s 231ms
And Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 1s 065ms
And Go to "COMPANIES_TAB" 459ms
And Go to company "POLSKI KONCERN NAFTOWY ORLEN SPÓŁKA AKCYJNA" details 245ms
Then Check if user "neuca-admin" have correct permission to edit data from the GUS 149ms
After Hooks.changeCompanyNIPAndDeleteFromGUSCompanyDatabaseTable() 2s 136ms
Given Login as "super-admin-lantmannen" and set token of apiUsername "super-admin-lantmannen" 2s 256ms
When Go to "INVITATIONS_TAB" 196ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy3338@test.pl" "PL" 1s 051ms
Then Check content of message about invitation "GUSAlert" 740ms
And If user is login then logout 084ms
When Mock invitation email by admin panel "super-admin-lantmannen" "automatyy3338@test.pl" 5s 219ms
And Fill tax id registration page "notByJSON" 433ms
And Register to application "CARRIER" 1s 204ms
And Login as "super-admin-lantmannen" and set token of apiUsername "super-admin-lantmannen" 1s 333ms
And Go to "COMPANIES_TAB" 458ms
And Go to company "POLSKI KONCERN NAFTOWY ORLEN SPÓŁKA AKCYJNA" details 249ms
Then Check if user "super-admin-lantmannen" have correct permission to edit data from the GUS 452ms
After Hooks.changeCompanyNIPAndDeleteFromGUSCompanyDatabaseTable() 1s 543ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 248ms
When Go to "INVITATIONS_TAB" 186ms
And Go to create invitation form 082ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "PRODUCER" "null" "aaaa@keeeper.pl" 409ms
Then Check if NIP is not required to inviting to your company 30s 094ms
When Send invitation 095ms
Then Create invitation success alert is displayed 212ms
And Invitation is displayed on list "aaaa@keeeper.pl" 300ms
After Hooks.deleteInvitationAfterTest() 042ms
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 1s 792ms
When Go to "INVITATIONS_TAB" 161ms
And Go to create invitation form 078ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "WAREHOUSEMAN" "null" "aaaa@neuca.pl" 450ms
Then Check if NIP is not required to inviting to your company 30s 036ms
When Send invitation 089ms
Then Create invitation success alert is displayed 249ms
And Invitation is displayed on list "aaaa@neuca.pl" 211ms
After Hooks.deleteInvitationAfterTest() 039ms
Given Login as "farmacol-admin" and set token of apiUsername "super-admin-farmacol" 1s 850ms
When Go to "INVITATIONS_TAB" 170ms
And Go to create invitation form 089ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "WAREHOUSE_MANAGER" "null" "aaaa@farmacol.com.pl" 466ms
Then Check if NIP is not required to inviting to your company 30s 110ms
When Send invitation 097ms
Then Create invitation success alert is displayed 310ms
And Invitation is displayed on list "aaaa@farmacol.com.pl" 230ms
After Hooks.deleteInvitationAfterTest() 048ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 191ms
When Go to "INVITATIONS_TAB" 168ms
And Go to create invitation form 100ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "PRODUCER" "null" "aaaa@keeeper.pl" 435ms
When Send invitation 054ms
Then Create invitation success alert is displayed 193ms
And Check content of message about invitation "ownCompany" 051ms
And Invitation is displayed on list "aaaa@keeeper.pl" 174ms
After Hooks.deleteInvitationAfterTest() 038ms
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 987ms
When Go to "INVITATIONS_TAB" 240ms
And Go to create invitation form 074ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "WAREHOUSEMAN" "null" "aaaa@neuca.pl" 459ms
When Send invitation 057ms
Then Create invitation success alert is displayed 248ms
And Check content of message about invitation "ownCompany" 041ms
And Invitation is displayed on list "aaaa@neuca.pl" 181ms
After Hooks.deleteInvitationAfterTest() 041ms
Given Login as "farmacol-admin" and set token of apiUsername "super-admin-farmacol" 984ms
When Go to "INVITATIONS_TAB" 173ms
And Go to create invitation form 081ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "WAREHOUSE_MANAGER" "null" "aaaa@farmacol.com.pl" 428ms
When Send invitation 088ms
Then Create invitation success alert is displayed 305ms
And Check content of message about invitation "ownCompany" 047ms
And Invitation is displayed on list "aaaa@farmacol.com.pl" 173ms
After Hooks.deleteInvitationAfterTest() 035ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 219ms
When Go to "INVITATIONS_TAB" 166ms
And Go to create invitation form 073ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "PRODUCER" "null" "aaaa@kper.pl" 417ms
When Send invitation 054ms
Then Verify that wrong mail domain alert is displayed 057ms
When Fill part of invitation page for existed company in Apollo "null" "null" "null" "abc@keeeper.pl" 096ms
And Send invitation 034ms
Then Create invitation success alert is displayed 207ms
And Check content of message about invitation "ownCompany" 074ms
And Invitation is displayed on list "abc@keeeper.pl" 184ms
After Hooks.deleteInvitationAfterTest() 035ms
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 905ms
When Go to "INVITATIONS_TAB" 149ms
And Go to create invitation form 070ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "WAREHOUSEMAN" "null" "aaaa@neeeuca.pl" 443ms
When Send invitation 057ms
Then Verify that wrong mail domain alert is displayed 073ms
When Fill part of invitation page for existed company in Apollo "null" "null" "null" "abcd@neuca.pl" 080ms
And Send invitation 033ms
Then Create invitation success alert is displayed 245ms
And Check content of message about invitation "ownCompany" 050ms
And Invitation is displayed on list "abcd@neuca.pl" 178ms
After Hooks.deleteInvitationAfterTest() 051ms
Given Login as "farmacol-admin" and set token of apiUsername "super-admin-farmacol" 1s 030ms
When Go to "INVITATIONS_TAB" 165ms
And Go to create invitation form 062ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "WAREHOUSE_MANAGER" "null" "aaaa@farrrmacol.com.pl" 479ms
When Send invitation 064ms
Then Verify that wrong mail domain alert is displayed 040ms
When Fill part of invitation page for existed company in Apollo "null" "null" "null" "abcde@farmacol.com.pl" 157ms
And Send invitation 049ms
Then Create invitation success alert is displayed 310ms
And Check content of message about invitation "ownCompany" 080ms
And Invitation is displayed on list "abcde@farmacol.com.pl" 151ms
After Hooks.deleteInvitationAfterTest() 035ms
Scenario Outline Check if is always take into account NIP provided in invitation - e-mail address used by another user [A-7390]
Steps
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 934ms
When Go to "INVITATIONS_TAB" 177ms
And Create invitation for "CARRIER" "CARRIER" "dha1-supplier-2@qa.qa-test" "AL" 000ms
Then Check content of message about invitation "incompatibleNIP" 000ms
After Hooks.deleteInvitationAfterTest() 025ms
Scenario Outline Check if is always take into account NIP provided in invitation - e-mail address used by another user [A-7390]
Steps
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 1s 228ms
When Go to "INVITATIONS_TAB" 164ms
And Create invitation for "CARRIER" "CARRIER" "dha1-supplier-2@qa.qa-test" "AL" 000ms
Then Check content of message about invitation "incompatibleNIP" 000ms
After Hooks.deleteInvitationAfterTest() 027ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 072ms
When Go to "INVITATIONS_TAB" 166ms
And Go to create invitation form 083ms
And Fill part of invitation page for existed company in Apollo "CARRIER" "CARRIER" "PL" "dha1-supplier-2@qa.qa-test" 994ms
Then Check if company existed in apollo is suggest correctly 050ms
When Send invitation 055ms
Then Check content of message about invitation "incompatibleNIP" 110ms
After Hooks.deleteInvitationAfterTest() 031ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 1s 009ms
When Go to "INVITATIONS_TAB" 160ms
And Go to create invitation form 075ms
And Fill part of invitation page for existed company in Apollo "CARRIER" "CARRIER" "PL" "dha1-supplier-2@qa.qa-test" 1s 116ms
Then Check if company existed in apollo is suggest correctly 071ms
When Send invitation 068ms
Then Check content of message about invitation "incompatibleNIP" 109ms
After Hooks.deleteInvitationAfterTest() 042ms
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" 133ms
And Prepare user "dha1-supplier-2@qa.qa-test" details with all notifications and "automatyy3333@test.pl" by JSON file 171ms
When Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 960ms
And Go to "INVITATIONS_TAB" 171ms
And Create invitation for "existing" user "SUPPLIER" "SUPPLIER" "automatyy3333@test.pl" "PL" 416ms
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.GeneratedMethodAccessor225.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() 030ms
After Hooks.cleanUserDetailsAfterTest() 193ms