Project Number Date
ApolloFullRunnerReport master.392 22 kwi 2021, 22:07

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Invitation 242 6 16 0 0 264 33 6 39 14m 16s 320ms Failed
Feature Invitation
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 1s 214ms
When Go to "INVITATIONS_TAB" 473ms
And Create invitation for "CARRIER" "CARRIER" "automatyy1@test.pl" "notFromPoland" 1s 445ms
Then Create invitation success alert is displayed 753ms
And Invitation is displayed on list "automatyy1@test.pl" 184ms
After Hooks.deleteInvitationAfterTest() 041ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 224ms
When Go to "INVITATIONS_TAB" 171ms
And Create invitation for "CARRIER" "CARRIER" "automatyy2@test.pl" "notFromPoland" 1s 130ms
Then Create invitation success alert is displayed 251ms
And Invitation is displayed on list "automatyy2@test.pl" 236ms
After Hooks.deleteInvitationAfterTest() 032ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 966ms
When Go to "INVITATIONS_TAB" 162ms
And Create invitation for "CARRIER" "CARRIER" "automatyy2@test.pl" "notFromPoland" 1s 102ms
Then Create invitation success alert is displayed 206ms
And Invitation is displayed on list "automatyy2@test.pl" 156ms
After Hooks.deleteInvitationAfterTest() 032ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 035ms
When Go to "INVITATIONS_TAB" 152ms
And Create invitation for "CARRIER" "CARRIER" "automatyy2@test.pl" "notFromPoland" 1s 061ms
Then Create invitation success alert is displayed 250ms
And Invitation is displayed on list "automatyy2@test.pl" 185ms
After Hooks.deleteInvitationAfterTest() 036ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 1s 033ms
When Go to "INVITATIONS_TAB" 176ms
And Create invitation for "CARRIER" "CARRIER" "automatyy2@test.pl" "notFromPoland" 1s 091ms
Then Create invitation success alert is displayed 204ms
And Invitation is displayed on list "automatyy2@test.pl" 192ms
After Hooks.deleteInvitationAfterTest() 030ms
Given If user is login then logout 088ms
And Create invitation by JSON file "super-admin-skz" for "automatyy15q@test.pl" "CREATE_SUPPLIER_INVITATION" 373ms
When Mock invitation email by admin panel "super-admin-skz" "automatyy15q@test.pl" 21s 110ms
And Fill tax id registration page "byJSON" 413ms
And Verify that user is redirected to registration page 087ms
And Register to application "SUPPLIER" 1s 452ms
Then Check if user can be logged "automatyy15q@test.pl" 4s 066ms
After Hooks.cleanUpAfterTest() 512ms
Given If user is login then logout 063ms
And Create invitation by JSON file "super-admin-piast" for "automatyy19q@test.pl" "CREATE_SUPPLIER_INVITATION" 336ms
When Mock invitation email by admin panel "super-admin-piast" "automatyy19q@test.pl" 20s 378ms
And Fill tax id registration page "byJSON" 355ms
And Verify that user is redirected to registration page 097ms
And Register to application "SUPPLIER" 1s 406ms
Then Check if user can be logged "automatyy19q@test.pl" 2s 568ms
After Hooks.cleanUpAfterTest() 393ms
Given If user is login then logout 085ms
And Create invitation by JSON file "super-admin-lantmannen" for "automatyy2545q@test.pl" "CREATE_SUPPLIER_INVITATION" 1s 156ms
When Mock invitation email by admin panel "super-admin-lantmannen" "automatyy2545q@test.pl" 20s 382ms
And Fill tax id registration page "byJSON" 335ms
And Verify that user is redirected to registration page 092ms
And Register to application "SUPPLIER" 1s 433ms
Then Check if user can be logged "automatyy2545q@test.pl" 2s 804ms
After Hooks.cleanUpAfterTest() 351ms
Given If user is login then logout 087ms
And Create invitation by JSON file "super-admin-keeeper" for "automatyy287q@test.pl" "CREATE_SUPPLIER_INVITATION" 754ms
When Mock invitation email by admin panel "super-admin-keeeper" "automatyy287q@test.pl" 20s 395ms
And Fill tax id registration page "byJSON" 380ms
And Verify that user is redirected to registration page 096ms
And Register to application "SUPPLIER" 1s 236ms
Then Check if user can be logged "automatyy287q@test.pl" 2s 987ms
After Hooks.cleanUpAfterTest() 356ms
Given If user is login then logout 076ms
And Create invitation by JSON file "super-admin-alrec" for "automatyy2871q@test.pl" "CREATE_SUPPLIER_INVITATION" 263ms
When Mock invitation email by admin panel "super-admin-alrec" "automatyy2871q@test.pl" 20s 383ms
And Fill tax id registration page "byJSON" 358ms
And Verify that user is redirected to registration page 112ms
And Register to application "SUPPLIER" 1s 433ms
Then Check if user can be logged "automatyy2871q@test.pl" 2s 828ms
After Hooks.cleanUpAfterTest() 356ms
Scenario Outline Check if logged user is redirected from registration link to invitation tab
Steps
Given If user is login then logout 080ms
And Create invitation by JSON file "super-admin-piast" for "automaty31415@test.pl" "CREATE_SUPPLIER_INVITATION" 327ms
When Mock invitation email by admin panel "super-admin-piast" "automaty31415@test.pl" 20s 304ms
And Fill tax id registration page "byJSON" 356ms
And Register to application "SUPPLIER" 1s 478ms
And Login as "automaty31415@test.pl" and set token of apiUsername "super-admin-piast" 2s 171ms
Then Mock invitation email by admin panel "super-admin-piast" "automaty31415@test.pl" 5s 576ms
And Verify that user is redirected to invitation page "automaty31415@test.pl" 15s 026ms
java.lang.AssertionError: Użytkownik nie został przeniesiony do podstrony zaproszenia!
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at CucumberTests.Invitation.InvitationTest.verifyThatUserIsRedirectedToInvitationPage(InvitationTest.java:65)
	at ✽.Verify that user is redirected to invitation page "automaty31415@test.pl"(file:Features/Atom/Invitations/Invitation.feature:44)
After Hooks.cleanUpAfterTest() 396ms
Scenario Outline Check if logged user is redirected from registration link to invitation tab
Steps
Given If user is login then logout 15s 026ms
And Create invitation by JSON file "super-admin-lantmannen" for "automaty27182@test.pl" "CREATE_SUPPLIER_INVITATION" 274ms
When Mock invitation email by admin panel "super-admin-lantmannen" "automaty27182@test.pl" 20s 310ms
And Fill tax id registration page "byJSON" 372ms
And Register to application "SUPPLIER" 1s 502ms
And Login as "automaty27182@test.pl" and set token of apiUsername "super-admin-lantmannen" 31s 258ms
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:101)
	at CucumberTests.LoginTest.loginAsAndSetTokenOfApiUsername(LoginTest.java:72)
	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:101)
	at CucumberTests.LoginTest.loginAsAndSetTokenOfApiUsername(LoginTest.java:72)
	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() 1s 284ms
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" 271ms
When Mock invitation email by admin panel "super-admin-keeeper" "automaty6022@test.pl" 20s 419ms
And Fill tax id registration page "byJSON" 358ms
And Register to application "SUPPLIER" 1s 516ms
And Login as "automaty6022@test.pl" and set token of apiUsername "super-admin-keeeper" 31s 202ms
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:101)
	at CucumberTests.LoginTest.loginAsAndSetTokenOfApiUsername(LoginTest.java:72)
	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:101)
	at CucumberTests.LoginTest.loginAsAndSetTokenOfApiUsername(LoginTest.java:72)
	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 532ms
Scenario Outline Check if logged user is redirected from registration link to invitation tab
Steps
Given If user is login then logout 15s 048ms
And Create invitation by JSON file "super-admin-skz" for "automaty666@test.pl" "CREATE_SUPPLIER_INVITATION" 364ms
When Mock invitation email by admin panel "super-admin-skz" "automaty666@test.pl" 20s 434ms
And Fill tax id registration page "byJSON" 362ms
And Register to application "SUPPLIER" 1s 412ms
And Login as "automaty666@test.pl" and set token of apiUsername "super-admin-skz" 2s 286ms
Then Mock invitation email by admin panel "super-admin-skz" "automaty666@test.pl" 5s 316ms
And Verify that user is redirected to invitation page "automaty666@test.pl" 15s 048ms
java.lang.AssertionError: Użytkownik nie został przeniesiony do podstrony zaproszenia!
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at CucumberTests.Invitation.InvitationTest.verifyThatUserIsRedirectedToInvitationPage(InvitationTest.java:65)
	at ✽.Verify that user is redirected to invitation page "automaty666@test.pl"(file:Features/Atom/Invitations/Invitation.feature:44)
After Hooks.cleanUpAfterTest() 417ms
Scenario Outline Check if logged user is redirected from registration link to invitation tab
Steps
Given If user is login then logout 15s 022ms
And Create invitation by JSON file "super-admin-alrec" for "automaty2871q@test.pl" "CREATE_SUPPLIER_INVITATION" 266ms
When Mock invitation email by admin panel "super-admin-alrec" "automaty2871q@test.pl" 20s 331ms
And Fill tax id registration page "byJSON" 378ms
And Register to application "SUPPLIER" 1s 469ms
And Login as "automaty2871q@test.pl" and set token of apiUsername "super-admin-alrec" 31s 230ms
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:101)
	at CucumberTests.LoginTest.loginAsAndSetTokenOfApiUsername(LoginTest.java:72)
	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:101)
	at CucumberTests.LoginTest.loginAsAndSetTokenOfApiUsername(LoginTest.java:72)
	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() 1s 503ms
And Create invitation by JSON file "super-admin-skz" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 816ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 37s 545ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 041ms
And Create invitation by JSON file "super-admin-lantmannen" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 754ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 56s 792ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 052ms
And Create invitation by JSON file "super-admin-keeeper" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 811ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 30s 738ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 037ms
And Create invitation by JSON file "super-admin-adama" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 763ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 18s 699ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 042ms
And Create invitation by JSON file "super-admin-piast" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 335ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 12s 353ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 029ms
And Create invitation by JSON file "super-admin-alrec" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 278ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 36s 579ms
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" 282ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 37s 742ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 041ms
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" 099ms
And Prepare user "dnfa1-supplier" details with all notifications and "automaty314153@test.pl" by JSON file 313ms
And Create invitation by JSON file "super-admin-farmacol" for "automaty314153@test.pl" "CREATE_SUPPLIER_INVITATION" 520ms
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:59)
	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() 219ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 1s 401ms
When Create and accept invitation by JSON file as "super-admin-skz" for "automaty1591qa@test.pl" "CREATE_CARRIER_INVITATION" 1s 832ms
And Go to "USERS_TAB" 1s 082ms
And Find user "automaty1591qa@test.pl" 2s 205ms
And Change user details "email" to "apolloautomattest@test.pl" 624ms
And Save user details 525ms
When Go to "INVITATIONS_TAB" 160ms
And Create invitation for "CARRIER" "CARRIER" "automaty1591qa@test.pl" "notFromPoland" 1s 137ms
Then Verify that invitation can't be sent on already used username 088ms
After Hooks.cleanUpAfterTest() 1s 580ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 959ms
When Create and accept invitation by JSON file as "super-admin-lantmannen" for "automaty1231qa@test.pl" "CREATE_CARRIER_INVITATION" 1s 659ms
And Go to "USERS_TAB" 982ms
And Find user "automaty1231qa@test.pl" 2s 245ms
And Change user details "email" to "apolloautomattest@test.pl" 294ms
And Save user details 319ms
When Go to "INVITATIONS_TAB" 179ms
And Create invitation for "CARRIER" "CARRIER" "automaty1231qa@test.pl" "notFromPoland" 1s 044ms
Then Verify that invitation can't be sent on already used username 083ms
After Hooks.cleanUpAfterTest() 1s 132ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 097ms
When Create and accept invitation by JSON file as "super-admin-piast" for "automaty9231qa@test.pl" "CREATE_CARRIER_INVITATION" 654ms
And Go to "USERS_TAB" 1s 008ms
And Find user "automaty9231qa@test.pl" 2s 225ms
And Change user details "email" to "apolloautomattest@test.pl" 285ms
And Save user details 326ms
When Go to "INVITATIONS_TAB" 190ms
And Create invitation for "CARRIER" "CARRIER" "automaty9231qa@test.pl" "notFromPoland" 1s 115ms
Then Verify that invitation can't be sent on already used username 087ms
After Hooks.cleanUpAfterTest() 1s 455ms
Given Login as "farmacol-admin" and set token of apiUsername "super-admin-farmacol" 1s 060ms
When Create and accept invitation by JSON file as "super-admin-farmacol" for "automaty7221qa@test.pl" "CREATE_CARRIER_INVITATION" 868ms
And Go to "USERS_TAB" 1s 002ms
And Find user "automaty7221qa@test.pl" 2s 252ms
And Change user details "email" to "apolloautomattest@test.pl" 391ms
And Save user details 480ms
When Go to "INVITATIONS_TAB" 194ms
And Create invitation for "CARRIER" "CARRIER" "automaty7221qa@test.pl" "notFromPoland" 1s 124ms
Then Verify that invitation can't be sent on already used username 086ms
After Hooks.cleanUpAfterTest() 1s 403ms
Given If user is login then logout 089ms
And Create invitation by JSON file "super-admin-piast" for "automaty31415@test.pl" "CREATE_SUPPLIER_INVITATION" 332ms
When Mock invitation email by admin panel "super-admin-piast" "automaty31415@test.pl" 20s 400ms
And Verify that user is redirected to registration page 177ms
And Fill tax id registration page "byJSON" 208ms
And Register to application "SUPPLIER" 1s 486ms
Given Login as "super-admin-piast" and set token of apiUsername "super-admin-piast" 1s 188ms
When Go to "INVITATIONS_TAB" 200ms
Then Go to "ACCEPTED_TAB" invitation status tab 104ms
And Invitation is displayed on list "automaty31415@test.pl" 135ms
After Hooks.cleanUpAfterTest() 1s 293ms
Given If user is login then logout 077ms
Given Set token of apiUsername "super-admin-piast" 104ms
And Get setting "INVITATION_EXPIRATION_INTERVAL" for "piast" 167ms
Then Prepare setting: "INVITATION_EXPIRATION_INTERVAL" with value: "-1d" with "super-admin-piast" by API 246ms
And Create invitation by JSON file "super-admin-piast" for "automaty31415@test.pl" "CREATE_SUPPLIER_INVITATION" 300ms
Given Login as "super-admin-piast" and set token of apiUsername "super-admin-piast" 1s 255ms
Then Go to "INVITATIONS_TAB" 170ms
And Go to "EXPIRED_TAB" invitation status tab 074ms
Then Invitation is displayed on list "automaty31415@test.pl" 116ms
After Hooks.deleteInvitationAfterTest() 028ms
After Hooks.rollbackSettings() 026ms
Given Set token of apiUsername "super-admin-piast" 097ms
And Prepare user "piast-admin" details with all notifications and "automaty31415@test.pl" by JSON file 182ms
Then Create invitation by JSON file "super-admin-alrec" for "automaty31415@test.pl" "CREATE_SUPPLIER_INVITATION" 325ms
When Login as "piast-admin" 1s 770ms
Then Go to "INVITATIONS_TAB" 194ms
And Go to invitation details 066ms
Then Reject invitation by button as user 221ms
When If user is login then logout 078ms
Then Login as "super-admin-alrec" and set token of apiUsername "super-admin-alrec" 2s 127ms
And Go to "INVITATIONS_TAB" 173ms
And Go to "REJECTED_TAB" invitation status tab 106ms
Then Invitation is displayed on list "automaty31415@test.pl" 154ms
After Hooks.deleteInvitationAfterTest() 034ms
After Hooks.cleanUserDetailsAfterTest() 174ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 739ms
When Go to "INVITATIONS_TAB" 165ms
And Create invitation for "CARRIER" "CARRIER" "automatyy4@test.pl" "PL" 1s 128ms
Then Check if company has been verified by GUS 800ms
When Mock invitation email by admin panel "piast-admin" "automatyy4@test.pl" 5s 344ms
And Verify that user is redirected to registration page 270ms
And Fill tax id registration page "notByJSON" 199ms
Then Verify that user is redirected to registration page 078ms
And Check if data from GUS are automatically completed 2s 086ms
After Hooks.cleanUpAfterTest() 001ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 1s 059ms
When Go to "INVITATIONS_TAB" 207ms
And Create invitation for "CARRIER" "CARRIER" "automatyy4@test.pl" "PL" 1s 136ms
Then Check if company has been verified by GUS 224ms
When Mock invitation email by admin panel "lantmannen-admin" "automatyy4@test.pl" 5s 356ms
And Verify that user is redirected to registration page 167ms
And Fill tax id registration page "notByJSON" 204ms
Then Verify that user is redirected to registration page 096ms
And Check if data from GUS are automatically completed 2s 081ms
After Hooks.cleanUpAfterTest() 000ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 126ms
When Go to "INVITATIONS_TAB" 191ms
And Create invitation for "CARRIER" "CARRIER" "automatyy4@test.pl" "PL" 1s 132ms
Then Check if company has been verified by GUS 286ms
When Mock invitation email by admin panel "keeeper-admin" "automatyy4@test.pl" 5s 306ms
And Verify that user is redirected to registration page 280ms
And Fill tax id registration page "notByJSON" 185ms
Then Verify that user is redirected to registration page 095ms
And Check if data from GUS are automatically completed 2s 070ms
After Hooks.cleanUpAfterTest() 001ms
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 970ms
When Go to "INVITATIONS_TAB" 159ms
And Create invitation for "CARRIER" "CARRIER" "automatyy4@test.pl" "PL" 1s 399ms
Then Check if company has been verified by GUS 439ms
When Mock invitation email by admin panel "neuca-admin" "automatyy4@test.pl" 5s 244ms
And Verify that user is redirected to registration page 146ms
And Fill tax id registration page "notByJSON" 192ms
Then Verify that user is redirected to registration page 093ms
And Check if data from GUS are automatically completed 2s 069ms
After Hooks.cleanUpAfterTest() 000ms
Given Login as "farmacol-admin" and set token of apiUsername "super-admin-farmacol" 1s 092ms
When Go to "INVITATIONS_TAB" 167ms
And Create invitation for "CARRIER" "CARRIER" "automatyy4@test.pl" "PL" 1s 102ms
Then Check if company has been verified by GUS 441ms
When Mock invitation email by admin panel "farmacol-admin" "automatyy4@test.pl" 5s 578ms
And Verify that user is redirected to registration page 190ms
And Fill tax id registration page "notByJSON" 191ms
Then Verify that user is redirected to registration page 093ms
And Check if data from GUS are automatically completed 2s 077ms
After Hooks.cleanUpAfterTest() 001ms
Given If user is login then logout 15s 054ms
And Create invitation by JSON file "super-admin-piast" for "automatyy99@test.pl" "CREATE_SUPPLIER_INVITATION" 357ms
When Mock invitation email by admin panel "super-admin-piast" "automatyy99@test.pl" 20s 177ms
And Verify that user is redirected to registration page 120ms
And Fill tax id registration page "notbyJSON" 241ms
Then Check if non-compliant NIP message is displayed 2s 034ms
After Hooks.deleteInvitationAfterTest() 258ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 313ms
When Go to "INVITATIONS_TAB" 180ms
And Fill part of invitation page for existed company in Apollo "CARRIER" "CARRIER" "PL" 903ms
Then Check if company existed in apollo is suggest correctly 560ms
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 913ms
When Go to "INVITATIONS_TAB" 149ms
And Fill part of invitation page for existed company in Apollo "SUPPLIER" "SUPPLIER" "PL" 928ms
Then Check if company existed in apollo is suggest correctly 103ms
Given Login as "farmacol-admin" and set token of apiUsername "super-admin-farmacol" 1s 024ms
When Go to "INVITATIONS_TAB" 157ms
And Fill part of invitation page for existed company in Apollo "CARRIER" "CARRIER" "PL" 900ms
Then Check if company existed in apollo is suggest correctly 105ms