Project Number Date
ApolloFullRunnerReport develop.400 28 kwi 2021, 05:38

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Invitation 273 4 16 0 0 293 37 4 41 11m 57s 888ms Failed
Feature Invitation
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 1s 242ms
When Go to "INVITATIONS_TAB" 415ms
And Create invitation for "CARRIER" "CARRIER" "automatyy1@test.pl" "notFromPoland" 1s 466ms
Then Create invitation success alert is displayed 754ms
And Invitation is displayed on list "automatyy1@test.pl" 176ms
After Hooks.deleteInvitationAfterTest() 042ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 177ms
When Go to "INVITATIONS_TAB" 190ms
And Create invitation for "CARRIER" "CARRIER" "automatyy2@test.pl" "notFromPoland" 1s 066ms
Then Create invitation success alert is displayed 248ms
And Invitation is displayed on list "automatyy2@test.pl" 165ms
After Hooks.deleteInvitationAfterTest() 032ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 1s 008ms
When Go to "INVITATIONS_TAB" 173ms
And Create invitation for "CARRIER" "CARRIER" "automatyy2@test.pl" "notFromPoland" 1s 087ms
Then Create invitation success alert is displayed 198ms
And Invitation is displayed on list "automatyy2@test.pl" 195ms
After Hooks.deleteInvitationAfterTest() 036ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 066ms
When Go to "INVITATIONS_TAB" 178ms
And Create invitation for "CARRIER" "CARRIER" "automatyy2@test.pl" "notFromPoland" 1s 109ms
Then Create invitation success alert is displayed 264ms
And Invitation is displayed on list "automatyy2@test.pl" 196ms
After Hooks.deleteInvitationAfterTest() 033ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 1s 069ms
When Go to "INVITATIONS_TAB" 196ms
And Create invitation for "CARRIER" "CARRIER" "automatyy2@test.pl" "notFromPoland" 1s 127ms
Then Create invitation success alert is displayed 198ms
And Invitation is displayed on list "automatyy2@test.pl" 188ms
After Hooks.deleteInvitationAfterTest() 036ms
Given If user is login then logout 078ms
And Create invitation by JSON file "super-admin-skz" for "automatyy15q@test.pl" "CREATE_SUPPLIER_INVITATION" 392ms
When Mock invitation email by admin panel "super-admin-skz" "automatyy15q@test.pl" 6s 187ms
And Fill tax id registration page "byJSON" 397ms
And Verify that user is redirected to registration page 092ms
And Register to application "SUPPLIER" 1s 482ms
Then Check if user can be logged "automatyy15q@test.pl" 3s 776ms
After Hooks.cleanUpAfterTest() 554ms
Given If user is login then logout 085ms
And Create invitation by JSON file "super-admin-piast" for "automatyy19q@test.pl" "CREATE_SUPPLIER_INVITATION" 326ms
When Mock invitation email by admin panel "super-admin-piast" "automatyy19q@test.pl" 5s 357ms
And Fill tax id registration page "byJSON" 340ms
And Verify that user is redirected to registration page 089ms
And Register to application "SUPPLIER" 1s 454ms
Then Check if user can be logged "automatyy19q@test.pl" 2s 841ms
After Hooks.cleanUpAfterTest() 387ms
Given If user is login then logout 078ms
And Create invitation by JSON file "super-admin-lantmannen" for "automatyy2545q@test.pl" "CREATE_SUPPLIER_INVITATION" 1s 162ms
When Mock invitation email by admin panel "super-admin-lantmannen" "automatyy2545q@test.pl" 5s 384ms
And Fill tax id registration page "byJSON" 339ms
And Verify that user is redirected to registration page 089ms
And Register to application "SUPPLIER" 1s 389ms
Then Check if user can be logged "automatyy2545q@test.pl" 2s 809ms
After Hooks.cleanUpAfterTest() 346ms
Given If user is login then logout 070ms
And Create invitation by JSON file "super-admin-keeeper" for "automatyy287q@test.pl" "CREATE_SUPPLIER_INVITATION" 850ms
When Mock invitation email by admin panel "super-admin-keeeper" "automatyy287q@test.pl" 5s 381ms
And Fill tax id registration page "byJSON" 334ms
And Verify that user is redirected to registration page 104ms
And Register to application "SUPPLIER" 1s 486ms
Then Check if user can be logged "automatyy287q@test.pl" 3s 076ms
After Hooks.cleanUpAfterTest() 385ms
Given If user is login then logout 074ms
And Create invitation by JSON file "super-admin-alrec" for "automatyy2871q@test.pl" "CREATE_SUPPLIER_INVITATION" 269ms
When Mock invitation email by admin panel "super-admin-alrec" "automatyy2871q@test.pl" 5s 328ms
And Fill tax id registration page "byJSON" 373ms
And Verify that user is redirected to registration page 095ms
And Register to application "SUPPLIER" 1s 451ms
Then Check if user can be logged "automatyy2871q@test.pl" 3s 380ms
After Hooks.cleanUpAfterTest() 407ms
Given If user is login then logout 079ms
And Create invitation by JSON file "super-admin-piast" for "automaty31415@test.pl" "CREATE_SUPPLIER_INVITATION" 312ms
When Mock invitation email by admin panel "super-admin-piast" "automaty31415@test.pl" 5s 388ms
And Fill tax id registration page "byJSON" 361ms
And Register to application "SUPPLIER" 1s 489ms
And Login as "automaty31415@test.pl" and set token of apiUsername "super-admin-piast" 2s 437ms
Then Mock invitation email by admin panel "super-admin-piast" "automaty31415@test.pl" 5s 381ms
And Verify that user is redirected to invitation page "automaty31415@test.pl" 527ms
After Hooks.cleanUpAfterTest() 402ms
Scenario Outline Check if logged user is redirected from registration link to invitation tab
Steps
Given If user is login then logout 091ms
And Create invitation by JSON file "super-admin-lantmannen" for "automaty27182@test.pl" "CREATE_SUPPLIER_INVITATION" 273ms
When Mock invitation email by admin panel "super-admin-lantmannen" "automaty27182@test.pl" 5s 358ms
And Fill tax id registration page "byJSON" 362ms
And Register to application "SUPPLIER" 1s 581ms
And Login as "automaty27182@test.pl" and set token of apiUsername "super-admin-lantmannen" 31s 287ms
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() 1s 274ms
Scenario Outline Check if logged user is redirected from registration link to invitation tab
Steps
Given If user is login then logout 15s 043ms
And Create invitation by JSON file "super-admin-keeeper" for "automaty6022@test.pl" "CREATE_SUPPLIER_INVITATION" 285ms
When Mock invitation email by admin panel "super-admin-keeeper" "automaty6022@test.pl" 5s 371ms
And Fill tax id registration page "byJSON" 349ms
And Register to application "SUPPLIER" 1s 511ms
And Login as "automaty6022@test.pl" and set token of apiUsername "super-admin-keeeper" 31s 233ms
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 537ms
Given If user is login then logout 15s 057ms
And Create invitation by JSON file "super-admin-skz" for "automaty666@test.pl" "CREATE_SUPPLIER_INVITATION" 392ms
When Mock invitation email by admin panel "super-admin-skz" "automaty666@test.pl" 5s 370ms
And Fill tax id registration page "byJSON" 351ms
And Register to application "SUPPLIER" 1s 545ms
And Login as "automaty666@test.pl" and set token of apiUsername "super-admin-skz" 2s 432ms
Then Mock invitation email by admin panel "super-admin-skz" "automaty666@test.pl" 5s 332ms
And Verify that user is redirected to invitation page "automaty666@test.pl" 395ms
After Hooks.cleanUpAfterTest() 393ms
Scenario Outline Check if logged user is redirected from registration link to invitation tab
Steps
Given If user is login then logout 265ms
And Create invitation by JSON file "super-admin-alrec" for "automaty2871q@test.pl" "CREATE_SUPPLIER_INVITATION" 279ms
When Mock invitation email by admin panel "super-admin-alrec" "automaty2871q@test.pl" 5s 366ms
And Fill tax id registration page "byJSON" 341ms
And Register to application "SUPPLIER" 1s 467ms
And Login as "automaty2871q@test.pl" and set token of apiUsername "super-admin-alrec" 31s 226ms
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() 1s 477ms
And Create invitation by JSON file "super-admin-skz" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 927ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 38s 254ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 052ms
And Create invitation by JSON file "super-admin-lantmannen" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 784ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 50s 109ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 044ms
And Create invitation by JSON file "super-admin-keeeper" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 797ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 31s 572ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 039ms
And Create invitation by JSON file "super-admin-adama" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 768ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 43s 864ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 050ms
And Create invitation by JSON file "super-admin-piast" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 323ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 43s 848ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 042ms
And Create invitation by JSON file "super-admin-alrec" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 260ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 36s 854ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 043ms
And Create invitation by JSON file "super-admin-sempertrans" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 311ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 54s 742ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 046ms
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" 112ms
And Prepare user "dnfa1-supplier" details with all notifications and "automaty314153@test.pl" by JSON file 344ms
And Create invitation by JSON file "super-admin-farmacol" for "automaty314153@test.pl" "CREATE_SUPPLIER_INVITATION" 534ms
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() 253ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 1s 413ms
When Create and accept invitation by JSON file as "super-admin-skz" for "automaty1591qa@test.pl" "CREATE_CARRIER_INVITATION" 1s 814ms
And Go to "USERS_TAB" 1s 191ms
And Find user "automaty1591qa@test.pl" 2s 207ms
And Change user details "email" to "apolloautomattest@test.pl" 686ms
And Save user details 501ms
When Go to "INVITATIONS_TAB" 172ms
And Create invitation for "CARRIER" "CARRIER" "automaty1591qa@test.pl" "notFromPoland" 1s 081ms
Then Verify that invitation can't be sent on already used username 086ms
After Hooks.cleanUpAfterTest() 1s 819ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 980ms
When Create and accept invitation by JSON file as "super-admin-lantmannen" for "automaty1231qa@test.pl" "CREATE_CARRIER_INVITATION" 3s 657ms
And Go to "USERS_TAB" 876ms
And Find user "automaty1231qa@test.pl" 2s 228ms
And Change user details "email" to "apolloautomattest@test.pl" 337ms
And Save user details 289ms
When Go to "INVITATIONS_TAB" 163ms
And Create invitation for "CARRIER" "CARRIER" "automaty1231qa@test.pl" "notFromPoland" 1s 069ms
Then Verify that invitation can't be sent on already used username 089ms
After Hooks.cleanUpAfterTest() 1s 450ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 080ms
When Create and accept invitation by JSON file as "super-admin-piast" for "automaty9231qa@test.pl" "CREATE_CARRIER_INVITATION" 658ms
And Go to "USERS_TAB" 1s 015ms
And Find user "automaty9231qa@test.pl" 2s 274ms
And Change user details "email" to "apolloautomattest@test.pl" 283ms
And Save user details 375ms
When Go to "INVITATIONS_TAB" 179ms
And Create invitation for "CARRIER" "CARRIER" "automaty9231qa@test.pl" "notFromPoland" 1s 051ms
Then Verify that invitation can't be sent on already used username 085ms
After Hooks.cleanUpAfterTest() 1s 311ms
Given Login as "farmacol-admin" and set token of apiUsername "super-admin-farmacol" 1s 107ms
When Create and accept invitation by JSON file as "super-admin-farmacol" for "automaty7221qa@test.pl" "CREATE_CARRIER_INVITATION" 909ms
And Go to "USERS_TAB" 1s 102ms
And Find user "automaty7221qa@test.pl" 2s 242ms
And Change user details "email" to "apolloautomattest@test.pl" 346ms
And Save user details 517ms
When Go to "INVITATIONS_TAB" 183ms
And Create invitation for "CARRIER" "CARRIER" "automaty7221qa@test.pl" "notFromPoland" 1s 116ms
Then Verify that invitation can't be sent on already used username 088ms
After Hooks.cleanUpAfterTest() 1s 505ms
Given If user is login then logout 069ms
And Create invitation by JSON file "super-admin-piast" for "automaty31415@test.pl" "CREATE_SUPPLIER_INVITATION" 362ms
When Mock invitation email by admin panel "super-admin-piast" "automaty31415@test.pl" 5s 372ms
And Verify that user is redirected to registration page 193ms
And Fill tax id registration page "byJSON" 192ms
And Register to application "SUPPLIER" 1s 498ms
Given Login as "super-admin-piast" and set token of apiUsername "super-admin-piast" 2s 266ms
When Go to "INVITATIONS_TAB" 176ms
Then Go to "ACCEPTED_TAB" invitation status tab 090ms
And Invitation is displayed on list "automaty31415@test.pl" 134ms
After Hooks.cleanUpAfterTest() 1s 278ms
Given If user is login then logout 084ms
Given Set token of apiUsername "super-admin-piast" 099ms
And Get setting "INVITATION_EXPIRATION_INTERVAL" for "piast" 199ms
Then Prepare setting: "INVITATION_EXPIRATION_INTERVAL" with value: "-1d" with "super-admin-piast" by API 237ms
And Create invitation by JSON file "super-admin-piast" for "automaty31415@test.pl" "CREATE_SUPPLIER_INVITATION" 318ms
Given Login as "super-admin-piast" and set token of apiUsername "super-admin-piast" 1s 195ms
Then Go to "INVITATIONS_TAB" 174ms
And Go to "EXPIRED_TAB" invitation status tab 088ms
Then Invitation is displayed on list "automaty31415@test.pl" 142ms
After Hooks.deleteInvitationAfterTest() 029ms
After Hooks.rollbackSettings() 033ms
Given Set token of apiUsername "super-admin-piast" 109ms
And Prepare user "piast-admin" details with all notifications and "automaty31415@test.pl" by JSON file 179ms
Then Create invitation by JSON file "super-admin-alrec" for "automaty31415@test.pl" "CREATE_SUPPLIER_INVITATION" 354ms
When Login as "piast-admin" 1s 786ms
Then Go to "INVITATIONS_TAB" 196ms
And Go to invitation details 058ms
Then Reject invitation by button as user 106ms
When If user is login then logout 075ms
Then Login as "super-admin-alrec" and set token of apiUsername "super-admin-alrec" 2s 021ms
And Go to "INVITATIONS_TAB" 177ms
And Go to "REJECTED_TAB" invitation status tab 085ms
Then Invitation is displayed on list "automaty31415@test.pl" 139ms
After Hooks.deleteInvitationAfterTest() 037ms
After Hooks.cleanUserDetailsAfterTest() 172ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 049ms
When Go to "INVITATIONS_TAB" 166ms
And Create invitation for "CARRIER" "CARRIER" "automatyy4@test.pl" "PL" 1s 123ms
Then Check if company has been verified by GUS 920ms
And If user is login then logout 085ms
When Mock invitation email by admin panel "piast-admin" "automatyy4@test.pl" 5s 382ms
And Verify that user is redirected to registration page 200ms
And Fill tax id registration page "notByJSON" 195ms
Then Verify that user is redirected to registration page 085ms
And Check if data from GUS are automatically completed 2s 073ms
After Hooks.deleteInvitationAfterTest() 026ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 1s 096ms
When Go to "INVITATIONS_TAB" 194ms
And Create invitation for "CARRIER" "CARRIER" "automatyy4@test.pl" "PL" 1s 144ms
Then Check if company has been verified by GUS 226ms
And If user is login then logout 077ms
When Mock invitation email by admin panel "lantmannen-admin" "automatyy4@test.pl" 5s 279ms
And Verify that user is redirected to registration page 177ms
And Fill tax id registration page "notByJSON" 220ms
Then Verify that user is redirected to registration page 089ms
And Check if data from GUS are automatically completed 2s 081ms
After Hooks.deleteInvitationAfterTest() 026ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 172ms
When Go to "INVITATIONS_TAB" 202ms
And Create invitation for "CARRIER" "CARRIER" "automatyy4@test.pl" "PL" 1s 100ms
Then Check if company has been verified by GUS 214ms
And If user is login then logout 081ms
When Mock invitation email by admin panel "keeeper-admin" "automatyy4@test.pl" 5s 344ms
And Verify that user is redirected to registration page 168ms
And Fill tax id registration page "notByJSON" 209ms
Then Verify that user is redirected to registration page 082ms
And Check if data from GUS are automatically completed 2s 084ms
After Hooks.deleteInvitationAfterTest() 027ms
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 1s 047ms
When Go to "INVITATIONS_TAB" 173ms
And Create invitation for "CARRIER" "CARRIER" "automatyy4@test.pl" "PL" 1s 217ms
Then Check if company has been verified by GUS 405ms
And If user is login then logout 092ms
When Mock invitation email by admin panel "neuca-admin" "automatyy4@test.pl" 5s 351ms
And Verify that user is redirected to registration page 120ms
And Fill tax id registration page "notByJSON" 216ms
Then Verify that user is redirected to registration page 089ms
And Check if data from GUS are automatically completed 2s 060ms
After Hooks.deleteInvitationAfterTest() 019ms
Given Login as "farmacol-admin" and set token of apiUsername "super-admin-farmacol" 1s 086ms
When Go to "INVITATIONS_TAB" 194ms
And Create invitation for "CARRIER" "CARRIER" "automatyy4@test.pl" "PL" 1s 275ms
Then Check if company has been verified by GUS 414ms
And If user is login then logout 094ms
When Mock invitation email by admin panel "farmacol-admin" "automatyy4@test.pl" 5s 374ms
And Verify that user is redirected to registration page 175ms
And Fill tax id registration page "notByJSON" 209ms
Then Verify that user is redirected to registration page 088ms
And Check if data from GUS are automatically completed 2s 075ms
After Hooks.deleteInvitationAfterTest() 027ms
Given If user is login then logout 15s 057ms
And Create invitation by JSON file "super-admin-piast" for "automatyy99@test.pl" "CREATE_SUPPLIER_INVITATION" 326ms
When Mock invitation email by admin panel "super-admin-piast" "automatyy99@test.pl" 5s 357ms
And Verify that user is redirected to registration page 151ms
And Fill tax id registration page "notbyJSON" 205ms
Then Check if non-compliant NIP message is displayed 2s 038ms
After Hooks.deleteInvitationAfterTest() 035ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 139ms
When Go to "INVITATIONS_TAB" 189ms
And Fill part of invitation page for existed company in Apollo "CARRIER" "CARRIER" "PL" 966ms
Then Check if company existed in apollo is suggest correctly 831ms
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 963ms
When Go to "INVITATIONS_TAB" 168ms
And Fill part of invitation page for existed company in Apollo "SUPPLIER" "SUPPLIER" "PL" 1s 001ms
Then Check if company existed in apollo is suggest correctly 112ms
Given Login as "farmacol-admin" and set token of apiUsername "super-admin-farmacol" 1s 087ms
When Go to "INVITATIONS_TAB" 173ms
And Fill part of invitation page for existed company in Apollo "CARRIER" "CARRIER" "PL" 971ms
Then Check if company existed in apollo is suggest correctly 114ms
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 1s 020ms
When Go to "INVITATIONS_TAB" 156ms
And Create invitation for "CARRIER" "CARRIER" "automatyy3333@test.pl" "PL" 1s 162ms
Then Check if company has been verified by GUS 405ms
And If user is login then logout 094ms
When Mock invitation email by admin panel "neuca-admin" "automatyy3333@test.pl" 5s 379ms
And Fill tax id registration page "notByJSON" 328ms
And Register to application "CARRIER" 1s 447ms
And Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 1s 103ms
And Go to "COMPANIES_TAB" 407ms
And Go to company "POLSKI KONCERN NAFTOWY ORLEN SPÓŁKA AKCYJNA" details 215ms
Then Check if user "neuca-admin" have correct permission to edit data from the GUS 098ms
After Hooks.changeCompanyNIPAndDeleteFromGUSCompanyDatabaseTable() 2s 418ms
Given Login as "super-admin-lantmannen" and set token of apiUsername "super-admin-lantmannen" 2s 179ms
When Go to "INVITATIONS_TAB" 186ms
And Create invitation for "CARRIER" "CARRIER" "automatyy3338@test.pl" "PL" 1s 044ms
Then Check if company has been verified by GUS 825ms
And If user is login then logout 069ms
When Mock invitation email by admin panel "super-admin-lantmannen" "automatyy3338@test.pl" 5s 339ms
And Fill tax id registration page "notByJSON" 390ms
And Register to application "CARRIER" 1s 475ms
And Login as "super-admin-lantmannen" and set token of apiUsername "super-admin-lantmannen" 1s 083ms
And Go to "COMPANIES_TAB" 460ms
And Go to company "POLSKI KONCERN NAFTOWY ORLEN SPÓŁKA AKCYJNA" details 248ms
Then Check if user "super-admin-lantmannen" have correct permission to edit data from the GUS 391ms
After Hooks.changeCompanyNIPAndDeleteFromGUSCompanyDatabaseTable() 2s 013ms