Project Number Date
ApolloFullRunnerReport develop.387 20 kwi 2021, 06:09

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 12m 6s 110ms Failed
Feature Invitation
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 1s 205ms
When Go to "INVITATIONS_TAB" 544ms
And Create invitation for "CARRIER" "CARRIER" "automatyy1@test.pl" "notFromPoland" 1s 477ms
Then Create invitation success alert is displayed 779ms
And Invitation is displayed on list "automatyy1@test.pl" 223ms
After Hooks.deleteInvitationAfterTest() 043ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 140ms
When Go to "INVITATIONS_TAB" 205ms
And Create invitation for "CARRIER" "CARRIER" "automatyy2@test.pl" "notFromPoland" 1s 155ms
Then Create invitation success alert is displayed 261ms
And Invitation is displayed on list "automatyy2@test.pl" 182ms
After Hooks.deleteInvitationAfterTest() 035ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 1s 068ms
When Go to "INVITATIONS_TAB" 191ms
And Create invitation for "CARRIER" "CARRIER" "automatyy2@test.pl" "notFromPoland" 1s 121ms
Then Create invitation success alert is displayed 203ms
And Invitation is displayed on list "automatyy2@test.pl" 200ms
After Hooks.deleteInvitationAfterTest() 035ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 109ms
When Go to "INVITATIONS_TAB" 186ms
And Create invitation for "CARRIER" "CARRIER" "automatyy2@test.pl" "notFromPoland" 1s 201ms
Then Create invitation success alert is displayed 206ms
And Invitation is displayed on list "automatyy2@test.pl" 201ms
After Hooks.deleteInvitationAfterTest() 033ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 1s 072ms
When Go to "INVITATIONS_TAB" 197ms
And Create invitation for "CARRIER" "CARRIER" "automatyy2@test.pl" "notFromPoland" 1s 109ms
Then Create invitation success alert is displayed 213ms
And Invitation is displayed on list "automatyy2@test.pl" 190ms
After Hooks.deleteInvitationAfterTest() 035ms
Given If user is login then logout 095ms
And Create invitation by JSON file "super-admin-skz" for "automatyy15q@test.pl" "CREATE_SUPPLIER_INVITATION" 391ms
When Mock invitation email by admin panel "super-admin-skz" "automatyy15q@test.pl" 5s 950ms
And Fill tax id registration page "byJSON" 384ms
And Verify that user is redirected to registration page 091ms
And Register to application "SUPPLIER" 1s 482ms
Then Check if user can be logged "automatyy15q@test.pl" 3s 812ms
After Hooks.cleanUpAfterTest() 492ms
Given If user is login then logout 250ms
And Create invitation by JSON file "super-admin-piast" for "automatyy19q@test.pl" "CREATE_SUPPLIER_INVITATION" 300ms
When Mock invitation email by admin panel "super-admin-piast" "automatyy19q@test.pl" 5s 577ms
And Fill tax id registration page "byJSON" 378ms
And Verify that user is redirected to registration page 086ms
And Register to application "SUPPLIER" 1s 525ms
Then Check if user can be logged "automatyy19q@test.pl" 2s 813ms
After Hooks.cleanUpAfterTest() 428ms
Given If user is login then logout 244ms
And Create invitation by JSON file "super-admin-lantmannen" for "automatyy2545q@test.pl" "CREATE_SUPPLIER_INVITATION" 1s 203ms
When Mock invitation email by admin panel "super-admin-lantmannen" "automatyy2545q@test.pl" 5s 328ms
And Fill tax id registration page "byJSON" 380ms
And Verify that user is redirected to registration page 092ms
And Register to application "SUPPLIER" 1s 443ms
Then Check if user can be logged "automatyy2545q@test.pl" 2s 808ms
After Hooks.cleanUpAfterTest() 340ms
Given If user is login then logout 277ms
And Create invitation by JSON file "super-admin-keeeper" for "automatyy287q@test.pl" "CREATE_SUPPLIER_INVITATION" 805ms
When Mock invitation email by admin panel "super-admin-keeeper" "automatyy287q@test.pl" 5s 396ms
And Fill tax id registration page "byJSON" 393ms
And Verify that user is redirected to registration page 093ms
And Register to application "SUPPLIER" 1s 435ms
Then Check if user can be logged "automatyy287q@test.pl" 3s 032ms
After Hooks.cleanUpAfterTest() 356ms
Given If user is login then logout 231ms
And Create invitation by JSON file "super-admin-alrec" for "automatyy2871q@test.pl" "CREATE_SUPPLIER_INVITATION" 276ms
When Mock invitation email by admin panel "super-admin-alrec" "automatyy2871q@test.pl" 5s 385ms
And Fill tax id registration page "byJSON" 327ms
And Verify that user is redirected to registration page 091ms
And Register to application "SUPPLIER" 1s 581ms
Then Check if user can be logged "automatyy2871q@test.pl" 2s 822ms
After Hooks.cleanUpAfterTest() 364ms
Given If user is login then logout 085ms
And Create invitation by JSON file "super-admin-piast" for "automaty31415@test.pl" "CREATE_SUPPLIER_INVITATION" 340ms
When Mock invitation email by admin panel "super-admin-piast" "automaty31415@test.pl" 5s 345ms
And Fill tax id registration page "byJSON" 365ms
And Register to application "SUPPLIER" 1s 573ms
And Login as "automaty31415@test.pl" and set token of apiUsername "super-admin-piast" 2s 145ms
Then Mock invitation email by admin panel "super-admin-piast" "automaty31415@test.pl" 5s 405ms
And Verify that user is redirected to invitation page "automaty31415@test.pl" 501ms
After Hooks.cleanUpAfterTest() 429ms
Scenario Outline Check if logged user is redirected from registration link to invitation tab
Steps
Given If user is login then logout 118ms
And Create invitation by JSON file "super-admin-lantmannen" for "automaty27182@test.pl" "CREATE_SUPPLIER_INVITATION" 265ms
When Mock invitation email by admin panel "super-admin-lantmannen" "automaty27182@test.pl" 5s 413ms
And Fill tax id registration page "byJSON" 374ms
And Register to application "SUPPLIER" 1s 551ms
And Login as "automaty27182@test.pl" and set token of apiUsername "super-admin-lantmannen" 31s 237ms
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 181ms
Scenario Outline Check if logged user is redirected from registration link to invitation tab
Steps
Given If user is login then logout 15s 093ms
And Create invitation by JSON file "super-admin-keeeper" for "automaty6022@test.pl" "CREATE_SUPPLIER_INVITATION" 287ms
When Mock invitation email by admin panel "super-admin-keeeper" "automaty6022@test.pl" 5s 466ms
And Fill tax id registration page "byJSON" 364ms
And Register to application "SUPPLIER" 1s 461ms
And Login as "automaty6022@test.pl" and set token of apiUsername "super-admin-keeeper" 31s 329ms
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 427ms
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" 367ms
When Mock invitation email by admin panel "super-admin-skz" "automaty666@test.pl" 5s 345ms
And Fill tax id registration page "byJSON" 376ms
And Register to application "SUPPLIER" 1s 587ms
And Login as "automaty666@test.pl" and set token of apiUsername "super-admin-skz" 2s 430ms
Then Mock invitation email by admin panel "super-admin-skz" "automaty666@test.pl" 5s 424ms
And Verify that user is redirected to invitation page "automaty666@test.pl" 393ms
After Hooks.cleanUpAfterTest() 413ms
Scenario Outline Check if logged user is redirected from registration link to invitation tab
Steps
Given If user is login then logout 424ms
And Create invitation by JSON file "super-admin-alrec" for "automaty2871q@test.pl" "CREATE_SUPPLIER_INVITATION" 247ms
When Mock invitation email by admin panel "super-admin-alrec" "automaty2871q@test.pl" 5s 395ms
And Fill tax id registration page "byJSON" 364ms
And Register to application "SUPPLIER" 1s 544ms
And Login as "automaty2871q@test.pl" and set token of apiUsername "super-admin-alrec" 31s 346ms
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 248ms
And Create invitation by JSON file "super-admin-skz" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 840ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 42s 527ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 047ms
And Create invitation by JSON file "super-admin-lantmannen" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 831ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 43s 502ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 033ms
And Create invitation by JSON file "super-admin-keeeper" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 857ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 37s 730ms
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" 798ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 43s 927ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 057ms
And Create invitation by JSON file "super-admin-piast" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 330ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 50s 631ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 043ms
And Create invitation by JSON file "super-admin-alrec" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 255ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 49s 785ms
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 245ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 050ms
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" 115ms
And Prepare user "dnfa1-supplier" details with all notifications and "automaty314153@test.pl" by JSON file 361ms
And Create invitation by JSON file "super-admin-farmacol" for "automaty314153@test.pl" "CREATE_SUPPLIER_INVITATION" 305ms
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-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() 230ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 1s 406ms
When Create and accept invitation by JSON file as "super-admin-skz" for "automaty1591qa@test.pl" "CREATE_CARRIER_INVITATION" 1s 833ms
And Go to "USERS_TAB" 1s 151ms
And Find user "automaty1591qa@test.pl" 2s 219ms
And Change user details "email" to "apolloautomattest@test.pl" 641ms
And Save user details 568ms
When Go to "INVITATIONS_TAB" 185ms
And Create invitation for "CARRIER" "CARRIER" "automaty1591qa@test.pl" "notFromPoland" 1s 157ms
Then Verify that invitation can't be sent on already used username 094ms
After Hooks.cleanUpAfterTest() 1s 832ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 1s 018ms
When Create and accept invitation by JSON file as "super-admin-lantmannen" for "automaty1231qa@test.pl" "CREATE_CARRIER_INVITATION" 1s 887ms
And Go to "USERS_TAB" 1s 096ms
And Find user "automaty1231qa@test.pl" 2s 228ms
And Change user details "email" to "apolloautomattest@test.pl" 297ms
And Save user details 278ms
When Go to "INVITATIONS_TAB" 153ms
And Create invitation for "CARRIER" "CARRIER" "automaty1231qa@test.pl" "notFromPoland" 1s 052ms
Then Verify that invitation can't be sent on already used username 087ms
After Hooks.cleanUpAfterTest() 1s 303ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 113ms
When Create and accept invitation by JSON file as "super-admin-piast" for "automaty9231qa@test.pl" "CREATE_CARRIER_INVITATION" 676ms
And Go to "USERS_TAB" 982ms
And Find user "automaty9231qa@test.pl" 2s 264ms
And Change user details "email" to "apolloautomattest@test.pl" 309ms
And Save user details 361ms
When Go to "INVITATIONS_TAB" 200ms
And Create invitation for "CARRIER" "CARRIER" "automaty9231qa@test.pl" "notFromPoland" 1s 150ms
Then Verify that invitation can't be sent on already used username 100ms
After Hooks.cleanUpAfterTest() 1s 432ms
Given Login as "farmacol-admin" and set token of apiUsername "super-admin-farmacol" 1s 099ms
When Create and accept invitation by JSON file as "super-admin-farmacol" for "automaty7221qa@test.pl" "CREATE_CARRIER_INVITATION" 840ms
And Go to "USERS_TAB" 1s 126ms
And Find user "automaty7221qa@test.pl" 2s 283ms
And Change user details "email" to "apolloautomattest@test.pl" 365ms
And Save user details 501ms
When Go to "INVITATIONS_TAB" 181ms
And Create invitation for "CARRIER" "CARRIER" "automaty7221qa@test.pl" "notFromPoland" 1s 193ms
Then Verify that invitation can't be sent on already used username 087ms
After Hooks.cleanUpAfterTest() 1s 457ms
Given If user is login then logout 087ms
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" 5s 392ms
And Verify that user is redirected to registration page 173ms
And Fill tax id registration page "byJSON" 215ms
And Register to application "SUPPLIER" 1s 555ms
Given Login as "super-admin-piast" and set token of apiUsername "super-admin-piast" 2s 096ms
When Go to "INVITATIONS_TAB" 240ms
Then Go to "ACCEPTED_TAB" invitation status tab 101ms
And Invitation is displayed on list "automaty31415@test.pl" 157ms
After Hooks.cleanUpAfterTest() 1s 250ms
Given If user is login then logout 085ms
Given Set token of apiUsername "super-admin-piast" 098ms
And Get setting "INVITATION_EXPIRATION_INTERVAL" for "piast" 161ms
Then Prepare setting: "INVITATION_EXPIRATION_INTERVAL" with value: "-1d" with "super-admin-piast" by API 225ms
And Create invitation by JSON file "super-admin-piast" for "automaty31415@test.pl" "CREATE_SUPPLIER_INVITATION" 334ms
Given Login as "super-admin-piast" and set token of apiUsername "super-admin-piast" 1s 272ms
Then Go to "INVITATIONS_TAB" 182ms
And Go to "EXPIRED_TAB" invitation status tab 088ms
Then Invitation is displayed on list "automaty31415@test.pl" 139ms
After Hooks.deleteInvitationAfterTest() 030ms
After Hooks.rollbackSettings() 033ms
Given Set token of apiUsername "super-admin-piast" 104ms
And Prepare user "piast-admin" details with all notifications and "automaty31415@test.pl" by JSON file 195ms
Then Create invitation by JSON file "super-admin-alrec" for "automaty31415@test.pl" "CREATE_SUPPLIER_INVITATION" 312ms
When Login as "piast-admin" 1s 733ms
Then Go to "INVITATIONS_TAB" 187ms
And Go to invitation details 062ms
Then Reject invitation by button as user 111ms
When If user is login then logout 083ms
Then Login as "super-admin-alrec" and set token of apiUsername "super-admin-alrec" 2s 069ms
And Go to "INVITATIONS_TAB" 190ms
And Go to "REJECTED_TAB" invitation status tab 084ms
Then Invitation is displayed on list "automaty31415@test.pl" 121ms
After Hooks.deleteInvitationAfterTest() 023ms
After Hooks.cleanUserDetailsAfterTest() 133ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 848ms
When Go to "INVITATIONS_TAB" 179ms
And Create invitation for "CARRIER" "CARRIER" "automatyy4@test.pl" "PL" 1s 163ms
Then Check if company has been verified by GUS 1s 135ms
And If user is login then logout 095ms
When Mock invitation email by admin panel "piast-admin" "automatyy4@test.pl" 5s 398ms
And Verify that user is redirected to registration page 206ms
And Fill tax id registration page "notByJSON" 203ms
Then Verify that user is redirected to registration page 082ms
And Check if data from GUS are automatically completed 2s 087ms
After Hooks.deleteInvitationAfterTest() 023ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 1s 119ms
When Go to "INVITATIONS_TAB" 206ms
And Create invitation for "CARRIER" "CARRIER" "automatyy4@test.pl" "PL" 1s 232ms
Then Check if company has been verified by GUS 236ms
And If user is login then logout 092ms
When Mock invitation email by admin panel "lantmannen-admin" "automatyy4@test.pl" 5s 405ms
And Verify that user is redirected to registration page 204ms
And Fill tax id registration page "notByJSON" 216ms
Then Verify that user is redirected to registration page 084ms
And Check if data from GUS are automatically completed 2s 082ms
After Hooks.deleteInvitationAfterTest() 027ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 181ms
When Go to "INVITATIONS_TAB" 197ms
And Create invitation for "CARRIER" "CARRIER" "automatyy4@test.pl" "PL" 1s 212ms
Then Check if company has been verified by GUS 246ms
And If user is login then logout 073ms
When Mock invitation email by admin panel "keeeper-admin" "automatyy4@test.pl" 5s 432ms
And Verify that user is redirected to registration page 209ms
And Fill tax id registration page "notByJSON" 223ms
Then Verify that user is redirected to registration page 090ms
And Check if data from GUS are automatically completed 2s 086ms
After Hooks.deleteInvitationAfterTest() 031ms
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 1s 070ms
When Go to "INVITATIONS_TAB" 201ms
And Create invitation for "CARRIER" "CARRIER" "automatyy4@test.pl" "PL" 1s 237ms
Then Check if company has been verified by GUS 422ms
And If user is login then logout 072ms
When Mock invitation email by admin panel "neuca-admin" "automatyy4@test.pl" 5s 395ms
And Verify that user is redirected to registration page 161ms
And Fill tax id registration page "notByJSON" 221ms
Then Verify that user is redirected to registration page 089ms
And Check if data from GUS are automatically completed 2s 094ms
After Hooks.deleteInvitationAfterTest() 026ms
Given Login as "farmacol-admin" and set token of apiUsername "super-admin-farmacol" 1s 235ms
When Go to "INVITATIONS_TAB" 198ms
And Create invitation for "CARRIER" "CARRIER" "automatyy4@test.pl" "PL" 1s 237ms
Then Check if company has been verified by GUS 428ms
And If user is login then logout 099ms
When Mock invitation email by admin panel "farmacol-admin" "automatyy4@test.pl" 5s 381ms
And Verify that user is redirected to registration page 217ms
And Fill tax id registration page "notByJSON" 222ms
Then Verify that user is redirected to registration page 087ms
And Check if data from GUS are automatically completed 2s 079ms
After Hooks.deleteInvitationAfterTest() 024ms
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" 324ms
When Mock invitation email by admin panel "super-admin-piast" "automatyy99@test.pl" 5s 351ms
And Verify that user is redirected to registration page 165ms
And Fill tax id registration page "notbyJSON" 218ms
Then Check if non-compliant NIP message is displayed 2s 037ms
After Hooks.deleteInvitationAfterTest() 033ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 203ms
When Go to "INVITATIONS_TAB" 185ms
And Fill part of invitation page for existed company in Apollo "CARRIER" "CARRIER" "PL" 1s 040ms
Then Check if company existed in apollo is suggest correctly 901ms
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 1s 010ms
When Go to "INVITATIONS_TAB" 173ms
And Fill part of invitation page for existed company in Apollo "SUPPLIER" "SUPPLIER" "PL" 1s 029ms
Then Check if company existed in apollo is suggest correctly 121ms
Given Login as "farmacol-admin" and set token of apiUsername "super-admin-farmacol" 1s 098ms
When Go to "INVITATIONS_TAB" 177ms
And Fill part of invitation page for existed company in Apollo "CARRIER" "CARRIER" "PL" 1s 044ms
Then Check if company existed in apollo is suggest correctly 118ms
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 1s 013ms
When Go to "INVITATIONS_TAB" 190ms
And Create invitation for "CARRIER" "CARRIER" "automatyy3333@test.pl" "PL" 1s 175ms
Then Check if company has been verified by GUS 417ms
And If user is login then logout 087ms
When Mock invitation email by admin panel "neuca-admin" "automatyy3333@test.pl" 5s 264ms
And Fill tax id registration page "notByJSON" 354ms
And Register to application "CARRIER" 1s 470ms
And Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 1s 100ms
And Go to "COMPANIES_TAB" 523ms
And Go to company "POLSKI KONCERN NAFTOWY ORLEN SPÓŁKA AKCYJNA" details 233ms
Then Check if user "neuca-admin" have correct permission to edit data from the GUS 104ms
After Hooks.changeCompanyNIPAndDeleteFromGUSCompanyDatabaseTable() 2s 454ms
Given Login as "super-admin-lantmannen" and set token of apiUsername "super-admin-lantmannen" 2s 291ms
When Go to "INVITATIONS_TAB" 218ms
And Create invitation for "CARRIER" "CARRIER" "automatyy3338@test.pl" "PL" 1s 212ms
Then Check if company has been verified by GUS 908ms
And If user is login then logout 091ms
When Mock invitation email by admin panel "super-admin-lantmannen" "automatyy3338@test.pl" 5s 387ms
And Fill tax id registration page "notByJSON" 393ms
And Register to application "CARRIER" 1s 580ms
And Login as "super-admin-lantmannen" and set token of apiUsername "super-admin-lantmannen" 1s 133ms
And Go to "COMPANIES_TAB" 462ms
And Go to company "POLSKI KONCERN NAFTOWY ORLEN SPÓŁKA AKCYJNA" details 223ms
Then Check if user "super-admin-lantmannen" have correct permission to edit data from the GUS 418ms
After Hooks.changeCompanyNIPAndDeleteFromGUSCompanyDatabaseTable() 2s 026ms