Project Number Date
ApolloFullRunnerReport develop-kapibary.401 28 kwi 2021, 19:06

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Invitation 341 9 49 0 0 399 45 9 54 15m 31s 146ms Failed
Feature Invitation
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 1s 233ms
When Go to "INVITATIONS_TAB" 354ms
And Create invitation for "CARRIER" "CARRIER" "automatyy1@test.pl" "notFromPoland" 1s 507ms
Then Create invitation success alert is displayed 602ms
And Invitation is displayed on list "automatyy1@test.pl" 189ms
After Hooks.deleteInvitationAfterTest() 037ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 176ms
When Go to "INVITATIONS_TAB" 173ms
And Create invitation for "CARRIER" "CARRIER" "automatyy2@test.pl" "notFromPoland" 1s 142ms
Then Create invitation success alert is displayed 246ms
And Invitation is displayed on list "automatyy2@test.pl" 201ms
After Hooks.deleteInvitationAfterTest() 036ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 987ms
When Go to "INVITATIONS_TAB" 184ms
And Create invitation for "CARRIER" "CARRIER" "automatyy2@test.pl" "notFromPoland" 1s 144ms
Then Create invitation success alert is displayed 202ms
And Invitation is displayed on list "automatyy2@test.pl" 174ms
After Hooks.deleteInvitationAfterTest() 036ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 077ms
When Go to "INVITATIONS_TAB" 168ms
And Create invitation for "CARRIER" "CARRIER" "automatyy2@test.pl" "notFromPoland" 1s 089ms
Then Create invitation success alert is displayed 202ms
And Invitation is displayed on list "automatyy2@test.pl" 203ms
After Hooks.deleteInvitationAfterTest() 031ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 1s 066ms
When Go to "INVITATIONS_TAB" 186ms
And Create invitation for "CARRIER" "CARRIER" "automatyy2@test.pl" "notFromPoland" 1s 132ms
Then Create invitation success alert is displayed 191ms
And Invitation is displayed on list "automatyy2@test.pl" 167ms
After Hooks.deleteInvitationAfterTest() 028ms
Given If user is login then logout 067ms
And Create invitation by JSON file "super-admin-skz" for "automatyy15q@test.pl" "CREATE_SUPPLIER_INVITATION" 343ms
When Mock invitation email by admin panel "super-admin-skz" "automatyy15q@test.pl" 6s 048ms
And Fill tax id registration page "byJSON" 389ms
And Verify that user is redirected to registration page 093ms
And Register to application "SUPPLIER" 1s 527ms
Then Check if user can be logged "automatyy15q@test.pl" 3s 337ms
After Hooks.cleanUpAfterTest() 526ms
Given If user is login then logout 082ms
And Create invitation by JSON file "super-admin-piast" for "automatyy19q@test.pl" "CREATE_SUPPLIER_INVITATION" 297ms
When Mock invitation email by admin panel "super-admin-piast" "automatyy19q@test.pl" 5s 721ms
And Fill tax id registration page "byJSON" 367ms
And Verify that user is redirected to registration page 092ms
And Register to application "SUPPLIER" 1s 462ms
Then Check if user can be logged "automatyy19q@test.pl" 1s 991ms
After Hooks.cleanUpAfterTest() 431ms
Given If user is login then logout 077ms
And Create invitation by JSON file "super-admin-lantmannen" for "automatyy2545q@test.pl" "CREATE_SUPPLIER_INVITATION" 1s 378ms
When Mock invitation email by admin panel "super-admin-lantmannen" "automatyy2545q@test.pl" 5s 288ms
And Fill tax id registration page "byJSON" 339ms
And Verify that user is redirected to registration page 087ms
And Register to application "SUPPLIER" 1s 408ms
Then Check if user can be logged "automatyy2545q@test.pl" 2s 288ms
After Hooks.cleanUpAfterTest() 329ms
Given If user is login then logout 077ms
And Create invitation by JSON file "super-admin-keeeper" for "automatyy287q@test.pl" "CREATE_SUPPLIER_INVITATION" 909ms
When Mock invitation email by admin panel "super-admin-keeeper" "automatyy287q@test.pl" 5s 374ms
And Fill tax id registration page "byJSON" 404ms
And Verify that user is redirected to registration page 089ms
And Register to application "SUPPLIER" 1s 214ms
Then Check if user can be logged "automatyy287q@test.pl" 2s 784ms
After Hooks.cleanUpAfterTest() 370ms
Given If user is login then logout 079ms
And Create invitation by JSON file "super-admin-alrec" for "automatyy2871q@test.pl" "CREATE_SUPPLIER_INVITATION" 279ms
When Mock invitation email by admin panel "super-admin-alrec" "automatyy2871q@test.pl" 5s 303ms
And Fill tax id registration page "byJSON" 371ms
And Verify that user is redirected to registration page 089ms
And Register to application "SUPPLIER" 1s 451ms
Then Check if user can be logged "automatyy2871q@test.pl" 2s 355ms
After Hooks.cleanUpAfterTest() 356ms
Given If user is login then logout 235ms
And Create invitation by JSON file "super-admin-piast" for "automaty31415@test.pl" "CREATE_SUPPLIER_INVITATION" 287ms
When Mock invitation email by admin panel "super-admin-piast" "automaty31415@test.pl" 5s 341ms
And Fill tax id registration page "byJSON" 338ms
And Register to application "SUPPLIER" 1s 578ms
And Login as "automaty31415@test.pl" and set token of apiUsername "super-admin-piast" 1s 637ms
Then Mock invitation email by admin panel "super-admin-piast" "automaty31415@test.pl" 5s 377ms
And Verify that user is redirected to invitation page "automaty31415@test.pl" 522ms
After Hooks.cleanUpAfterTest() 368ms
Scenario Outline Check if logged user is redirected from registration link to invitation tab
Steps
Given If user is login then logout 095ms
And Create invitation by JSON file "super-admin-lantmannen" for "automaty27182@test.pl" "CREATE_SUPPLIER_INVITATION" 264ms
When Mock invitation email by admin panel "super-admin-lantmannen" "automaty27182@test.pl" 5s 363ms
And Fill tax id registration page "byJSON" 345ms
And Register to application "SUPPLIER" 1s 591ms
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() 759ms
Scenario Outline Check if logged user is redirected from registration link to invitation tab
Steps
Given If user is login then logout 15s 053ms
And Create invitation by JSON file "super-admin-keeeper" for "automaty6022@test.pl" "CREATE_SUPPLIER_INVITATION" 277ms
When Mock invitation email by admin panel "super-admin-keeeper" "automaty6022@test.pl" 5s 390ms
And Fill tax id registration page "byJSON" 360ms
And Register to application "SUPPLIER" 1s 601ms
And Login as "automaty6022@test.pl" and set token of apiUsername "super-admin-keeeper" 31s 228ms
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() 786ms
Given If user is login then logout 15s 053ms
And Create invitation by JSON file "super-admin-skz" for "automaty666@test.pl" "CREATE_SUPPLIER_INVITATION" 312ms
When Mock invitation email by admin panel "super-admin-skz" "automaty666@test.pl" 5s 362ms
And Fill tax id registration page "byJSON" 375ms
And Register to application "SUPPLIER" 1s 595ms
And Login as "automaty666@test.pl" and set token of apiUsername "super-admin-skz" 2s 144ms
Then Mock invitation email by admin panel "super-admin-skz" "automaty666@test.pl" 5s 371ms
And Verify that user is redirected to invitation page "automaty666@test.pl" 450ms
After Hooks.cleanUpAfterTest() 427ms
Scenario Outline Check if logged user is redirected from registration link to invitation tab
Steps
Given If user is login then logout 270ms
And Create invitation by JSON file "super-admin-alrec" for "automaty2871q@test.pl" "CREATE_SUPPLIER_INVITATION" 255ms
When Mock invitation email by admin panel "super-admin-alrec" "automaty2871q@test.pl" 5s 405ms
And Fill tax id registration page "byJSON" 361ms
And Register to application "SUPPLIER" 1s 529ms
And Login as "automaty2871q@test.pl" and set token of apiUsername "super-admin-alrec" 31s 304ms
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() 733ms
And Create invitation by JSON file "super-admin-skz" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 1s 049ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 1m 10s 397ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 051ms
And Create invitation by JSON file "super-admin-lantmannen" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 825ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 1m 10s 056ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 049ms
And Create invitation by JSON file "super-admin-keeeper" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 851ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 37s 786ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 034ms
And Create invitation by JSON file "super-admin-adama" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 808ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 44s 396ms
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" 302ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 56s 421ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 040ms
And Create invitation by JSON file "super-admin-alrec" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 258ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 1m 7s 890ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 050ms
And Create invitation by JSON file "super-admin-sempertrans" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 274ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 38s 067ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 039ms
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" 107ms
And Prepare user "dnfa1-supplier" details with all notifications and "automaty314153@test.pl" by JSON file 368ms
And Create invitation by JSON file "super-admin-farmacol" for "automaty314153@test.pl" "CREATE_SUPPLIER_INVITATION" 426ms
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() 214ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 1s 369ms
When Create and accept invitation by JSON file as "super-admin-skz" for "automaty1591qa@test.pl" "CREATE_CARRIER_INVITATION" 2s 483ms
And Go to "USERS_TAB" 1s 202ms
And Find user "automaty1591qa@test.pl" 2s 193ms
And Change user details "email" to "apolloautomattest@test.pl" 610ms
And Save user details 951ms
When Go to "INVITATIONS_TAB" 156ms
And Create invitation for "CARRIER" "CARRIER" "automaty1591qa@test.pl" "notFromPoland" 1s 138ms
Then Verify that invitation can't be sent on already used username 087ms
After Hooks.cleanUpAfterTest() 1s 140ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 1s 055ms
When Create and accept invitation by JSON file as "super-admin-lantmannen" for "automaty1231qa@test.pl" "CREATE_CARRIER_INVITATION" 1s 758ms
And Go to "USERS_TAB" 1s 014ms
And Find user "automaty1231qa@test.pl" 2s 249ms
And Change user details "email" to "apolloautomattest@test.pl" 299ms
And Save user details 330ms
When Go to "INVITATIONS_TAB" 160ms
And Create invitation for "CARRIER" "CARRIER" "automaty1231qa@test.pl" "notFromPoland" 1s 161ms
Then Verify that invitation can't be sent on already used username 091ms
After Hooks.cleanUpAfterTest() 621ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 199ms
When Create and accept invitation by JSON file as "super-admin-piast" for "automaty9231qa@test.pl" "CREATE_CARRIER_INVITATION" 732ms
And Go to "USERS_TAB" 1s 378ms
And Find user "automaty9231qa@test.pl" 2s 291ms
And Change user details "email" to "apolloautomattest@test.pl" 268ms
And Save user details 367ms
When Go to "INVITATIONS_TAB" 194ms
And Create invitation for "CARRIER" "CARRIER" "automaty9231qa@test.pl" "notFromPoland" 1s 101ms
Then Verify that invitation can't be sent on already used username 084ms
After Hooks.cleanUpAfterTest() 795ms
Given Login as "farmacol-admin" and set token of apiUsername "super-admin-farmacol" 1s 037ms
When Create and accept invitation by JSON file as "super-admin-farmacol" for "automaty7221qa@test.pl" "CREATE_CARRIER_INVITATION" 849ms
And Go to "USERS_TAB" 1s 144ms
And Find user "automaty7221qa@test.pl" 2s 233ms
And Change user details "email" to "apolloautomattest@test.pl" 326ms
And Save user details 497ms
When Go to "INVITATIONS_TAB" 157ms
And Create invitation for "CARRIER" "CARRIER" "automaty7221qa@test.pl" "notFromPoland" 1s 028ms
Then Verify that invitation can't be sent on already used username 086ms
After Hooks.cleanUpAfterTest() 961ms
Given If user is login then logout 076ms
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 559ms
And Verify that user is redirected to registration page 123ms
And Fill tax id registration page "byJSON" 250ms
And Register to application "SUPPLIER" 1s 534ms
Given Login as "super-admin-piast" and set token of apiUsername "super-admin-piast" 1s 574ms
When Go to "INVITATIONS_TAB" 196ms
Then Go to "ACCEPTED_TAB" invitation status tab 103ms
And Invitation is displayed on list "automaty31415@test.pl" 151ms
After Hooks.cleanUpAfterTest() 781ms
Given If user is login then logout 084ms
Given Set token of apiUsername "super-admin-piast" 113ms
And Get setting "INVITATION_EXPIRATION_INTERVAL" for "piast" 205ms
Then Prepare setting: "INVITATION_EXPIRATION_INTERVAL" with value: "-1d" with "super-admin-piast" by API 276ms
And Create invitation by JSON file "super-admin-piast" for "automaty31415@test.pl" "CREATE_SUPPLIER_INVITATION" 280ms
Given Login as "super-admin-piast" and set token of apiUsername "super-admin-piast" 1s 241ms
Then Go to "INVITATIONS_TAB" 169ms
And Go to "EXPIRED_TAB" invitation status tab 080ms
Then Invitation is displayed on list "automaty31415@test.pl" 139ms
After Hooks.deleteInvitationAfterTest() 035ms
After Hooks.rollbackSettings() 037ms
Scenario Outline Check if rejected invitation is visible in rejected tab
Steps
Given Set token of apiUsername "super-admin-piast" 101ms
And Prepare user "piast-admin" details with all notifications and "automaty31415@test.pl" by JSON file 146ms
Then Create invitation by JSON file "super-admin-alrec" for "automaty31415@test.pl" "CREATE_SUPPLIER_INVITATION" 142ms
java.lang.AssertionError: 1 expectation failed.
Expected status code <200> but was <422>.

	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:83)
	at org.codehaus.groovy.reflection.CachedConstructor.doConstructorInvoke(CachedConstructor.java:77)
	at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrap.callConstructor(ConstructorSite.java:84)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:250)
	at io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure.validate(ResponseSpecificationImpl.groovy:494)
	at io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure$validate$1.call(Unknown Source)
	at io.restassured.internal.RequestSpecificationImpl.applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy:1750)
	at sun.reflect.GeneratedMethodAccessor94.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:98)
	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1225)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1034)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:822)
	at io.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:47)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.callCurrent(PogoInterceptableSite.java:57)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:185)
	at io.restassured.internal.RequestSpecificationImpl.applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy:1755)
	at sun.reflect.GeneratedMethodAccessor93.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:98)
	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1225)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1034)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:822)
	at io.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:47)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.callCurrent(PogoInterceptableSite.java:57)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:185)
	at io.restassured.internal.RequestSpecificationImpl.post(RequestSpecificationImpl.groovy:175)
	at io.restassured.internal.RequestSpecificationImpl.post(RequestSpecificationImpl.groovy)
	at Utils.RestUtils.RestUtil.postObjectToApolloApi(RestUtil.java:64)
	at CucumberTests.Invitation.RegistrationTest.createInvitationByJSONFile(RegistrationTest.java:63)
	at ✽.Create invitation by JSON file "super-admin-alrec" for "automaty31415@test.pl" "CREATE_SUPPLIER_INVITATION"(file:Features/Atom/Invitations/Invitation.feature:153)
When Login as "piast-admin" 000ms
Then Go to "INVITATIONS_TAB" 000ms
And Go to invitation details 000ms
Then Reject invitation by button as user 000ms
When If user is login then logout 000ms
Then Login as "super-admin-alrec" and set token of apiUsername "super-admin-alrec" 000ms
And Go to "INVITATIONS_TAB" 000ms
And Go to "REJECTED_TAB" invitation status tab 000ms
Then Invitation is displayed on list "automaty31415@test.pl" 000ms
After Hooks.deleteInvitationAfterTest() 038ms
After Hooks.cleanUserDetailsAfterTest() 152ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 407ms
When Go to "INVITATIONS_TAB" 191ms
And Create invitation for "CARRIER" "CARRIER" "automatyy4@test.pl" "PL" 1s 181ms
Then Check content of message about invitation "GUSAlert" 870ms
And If user is login then logout 083ms
When Mock invitation email by admin panel "piast-admin" "automatyy4@test.pl" 5s 347ms
And Verify that user is redirected to registration page 177ms
And Fill tax id registration page "notByJSON" 196ms
Then Verify that user is redirected to registration page 099ms
And Check if data from GUS are automatically completed 2s 086ms
After Hooks.deleteInvitationAfterTest() 028ms
Scenario Outline Check if new company from Poland is correctly verified in GUS [A-7282]
Steps
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 1s 070ms
When Go to "INVITATIONS_TAB" 197ms
And Create invitation for "CARRIER" "CARRIER" "automatyy4@test.pl" "PL" 1s 148ms
Then Check content of message about invitation "GUSAlert" 15s 042ms
java.lang.AssertionError: Komunikat o poprawnym wysłaniu zaproszenia na mejla się nie pojawił
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at Pages.Invitation.InvitationPage.getSuccessAlertContent(InvitationPage.java:61)
	at CucumberTests.Invitation.InvitationTest.checkContentInvitationAlert(InvitationTest.java:214)
	at ✽.Check content of message about invitation "GUSAlert"(file:Features/Atom/Invitations/Invitation.feature:172)
And If user is login then logout 000ms
When Mock invitation email by admin panel "lantmannen-admin" "automatyy4@test.pl" 000ms
And Verify that user is redirected to registration page 000ms
And Fill tax id registration page "notByJSON" 000ms
Then Verify that user is redirected to registration page 000ms
And Check if data from GUS are automatically completed 000ms
After Hooks.deleteInvitationAfterTest() 027ms
Scenario Outline Check if new company from Poland is correctly verified in GUS [A-7282]
Steps
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 073ms
When Go to "INVITATIONS_TAB" 216ms
And Create invitation for "CARRIER" "CARRIER" "automatyy4@test.pl" "PL" 1s 106ms
Then Check content of message about invitation "GUSAlert" 15s 012ms
java.lang.AssertionError: Komunikat o poprawnym wysłaniu zaproszenia na mejla się nie pojawił
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at Pages.Invitation.InvitationPage.getSuccessAlertContent(InvitationPage.java:61)
	at CucumberTests.Invitation.InvitationTest.checkContentInvitationAlert(InvitationTest.java:214)
	at ✽.Check content of message about invitation "GUSAlert"(file:Features/Atom/Invitations/Invitation.feature:172)
And If user is login then logout 000ms
When Mock invitation email by admin panel "keeeper-admin" "automatyy4@test.pl" 000ms
And Verify that user is redirected to registration page 000ms
And Fill tax id registration page "notByJSON" 000ms
Then Verify that user is redirected to registration page 000ms
And Check if data from GUS are automatically completed 000ms
After Hooks.deleteInvitationAfterTest() 037ms
Scenario Outline Check if new company from Poland is correctly verified in GUS [A-7282]
Steps
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 1s 084ms
When Go to "INVITATIONS_TAB" 180ms
And Create invitation for "CARRIER" "CARRIER" "automatyy4@test.pl" "PL" 1s 190ms
Then Check content of message about invitation "GUSAlert" 15s 024ms
java.lang.AssertionError: Komunikat o poprawnym wysłaniu zaproszenia na mejla się nie pojawił
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at Pages.Invitation.InvitationPage.getSuccessAlertContent(InvitationPage.java:61)
	at CucumberTests.Invitation.InvitationTest.checkContentInvitationAlert(InvitationTest.java:214)
	at ✽.Check content of message about invitation "GUSAlert"(file:Features/Atom/Invitations/Invitation.feature:172)
And If user is login then logout 000ms
When Mock invitation email by admin panel "neuca-admin" "automatyy4@test.pl" 000ms
And Verify that user is redirected to registration page 000ms
And Fill tax id registration page "notByJSON" 000ms
Then Verify that user is redirected to registration page 000ms
And Check if data from GUS are automatically completed 000ms
After Hooks.deleteInvitationAfterTest() 030ms
Scenario Outline Check if new company from Poland is correctly verified in GUS [A-7282]
Steps
Given Login as "farmacol-admin" and set token of apiUsername "super-admin-farmacol" 1s 148ms
When Go to "INVITATIONS_TAB" 229ms
And Create invitation for "CARRIER" "CARRIER" "automatyy4@test.pl" "PL" 1s 158ms
Then Check content of message about invitation "GUSAlert" 15s 014ms
java.lang.AssertionError: Komunikat o poprawnym wysłaniu zaproszenia na mejla się nie pojawił
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at Pages.Invitation.InvitationPage.getSuccessAlertContent(InvitationPage.java:61)
	at CucumberTests.Invitation.InvitationTest.checkContentInvitationAlert(InvitationTest.java:214)
	at ✽.Check content of message about invitation "GUSAlert"(file:Features/Atom/Invitations/Invitation.feature:172)
And If user is login then logout 000ms
When Mock invitation email by admin panel "farmacol-admin" "automatyy4@test.pl" 000ms
And Verify that user is redirected to registration page 000ms
And Fill tax id registration page "notByJSON" 000ms
Then Verify that user is redirected to registration page 000ms
And Check if data from GUS are automatically completed 000ms
After Hooks.deleteInvitationAfterTest() 033ms
Given If user is login then logout 105ms
And Create invitation by JSON file "super-admin-piast" for "automatyy99@test.pl" "CREATE_SUPPLIER_INVITATION" 298ms
When Mock invitation email by admin panel "super-admin-piast" "automatyy99@test.pl" 5s 392ms
And Verify that user is redirected to registration page 189ms
And Fill tax id registration page "notbyJSON" 204ms
Then Check if non-compliant NIP message is displayed 2s 036ms
After Hooks.deleteInvitationAfterTest() 039ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 184ms
When Go to "INVITATIONS_TAB" 192ms
And Go to create invitation form 089ms
And Fill part of invitation page for existed company in Apollo "CARRIER" "CARRIER" "PL" "null" 873ms
Then Check if company existed in apollo is suggest correctly 939ms
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 1s 007ms
When Go to "INVITATIONS_TAB" 155ms
And Go to create invitation form 075ms
And Fill part of invitation page for existed company in Apollo "SUPPLIER" "SUPPLIER" "PL" "null" 983ms
Then Check if company existed in apollo is suggest correctly 110ms
Given Login as "farmacol-admin" and set token of apiUsername "super-admin-farmacol" 1s 070ms
When Go to "INVITATIONS_TAB" 183ms
And Go to create invitation form 094ms
And Fill part of invitation page for existed company in Apollo "CARRIER" "CARRIER" "PL" "null" 900ms
Then Check if company existed in apollo is suggest correctly 108ms
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 990ms
When Go to "INVITATIONS_TAB" 169ms
And Create invitation for "CARRIER" "CARRIER" "automatyy3333@test.pl" "PL" 1s 157ms
Then Check content of message about invitation "GUSAlert" 319ms
And If user is login then logout 090ms
When Mock invitation email by admin panel "neuca-admin" "automatyy3333@test.pl" 5s 242ms
And Fill tax id registration page "notByJSON" 322ms
And Register to application "CARRIER" 1s 470ms
And Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 1s 104ms
And Go to "COMPANIES_TAB" 493ms
And Go to company "POLSKI KONCERN NAFTOWY ORLEN SPÓŁKA AKCYJNA" details 235ms
Then Check if user "neuca-admin" have correct permission to edit data from the GUS 121ms
After Hooks.changeCompanyNIPAndDeleteFromGUSCompanyDatabaseTable() 1s 948ms
Given Login as "super-admin-lantmannen" and set token of apiUsername "super-admin-lantmannen" 1s 782ms
When Go to "INVITATIONS_TAB" 165ms
And Create invitation for "CARRIER" "CARRIER" "automatyy3338@test.pl" "PL" 1s 077ms
Then Check content of message about invitation "GUSAlert" 804ms
And If user is login then logout 081ms
When Mock invitation email by admin panel "super-admin-lantmannen" "automatyy3338@test.pl" 5s 341ms
And Fill tax id registration page "notByJSON" 384ms
And Register to application "CARRIER" 1s 458ms
And Login as "super-admin-lantmannen" and set token of apiUsername "super-admin-lantmannen" 1s 059ms
And Go to "COMPANIES_TAB" 408ms
And Go to company "POLSKI KONCERN NAFTOWY ORLEN SPÓŁKA AKCYJNA" details 246ms
Then Check if user "super-admin-lantmannen" have correct permission to edit data from the GUS 402ms
After Hooks.changeCompanyNIPAndDeleteFromGUSCompanyDatabaseTable() 1s 397ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 186ms
When Go to "INVITATIONS_TAB" 208ms
And Go to create invitation form 088ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "PRODUCER" "null" "aaaa@keeeper.pl" 473ms
Then Check if NIP is not required to inviting to your company 30s 032ms
When Send invitation 087ms
Then Create invitation success alert is displayed 265ms
And Invitation is displayed on list "aaaa@keeeper.pl" 243ms
After Hooks.deleteInvitationAfterTest() 034ms
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 1s 692ms
When Go to "INVITATIONS_TAB" 169ms
And Go to create invitation form 085ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "WAREHOUSEMAN" "null" "aaaa@neuca.pl" 438ms
Then Check if NIP is not required to inviting to your company 30s 073ms
When Send invitation 097ms
Then Create invitation success alert is displayed 271ms
And Invitation is displayed on list "aaaa@neuca.pl" 244ms
After Hooks.deleteInvitationAfterTest() 039ms
Given Login as "farmacol-admin" and set token of apiUsername "super-admin-farmacol" 2s 027ms
When Go to "INVITATIONS_TAB" 165ms
And Go to create invitation form 072ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "WAREHOUSE_MANAGER" "null" "aaaa@farmacol.com.pl" 491ms
Then Check if NIP is not required to inviting to your company 30s 077ms
When Send invitation 093ms
Then Create invitation success alert is displayed 321ms
And Invitation is displayed on list "aaaa@farmacol.com.pl" 244ms
After Hooks.deleteInvitationAfterTest() 038ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 135ms
When Go to "INVITATIONS_TAB" 196ms
And Go to create invitation form 100ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "PRODUCER" "null" "aaaa@keeeper.pl" 423ms
When Send invitation 060ms
Then Create invitation success alert is displayed 202ms
And Check content of message about invitation "ownCompany" 062ms
And Invitation is displayed on list "aaaa@keeeper.pl" 188ms
After Hooks.deleteInvitationAfterTest() 033ms
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 955ms
When Go to "INVITATIONS_TAB" 154ms
And Go to create invitation form 076ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "WAREHOUSEMAN" "null" "aaaa@neuca.pl" 497ms
When Send invitation 065ms
Then Create invitation success alert is displayed 261ms
And Check content of message about invitation "ownCompany" 056ms
And Invitation is displayed on list "aaaa@neuca.pl" 201ms
After Hooks.deleteInvitationAfterTest() 038ms
Given Login as "farmacol-admin" and set token of apiUsername "super-admin-farmacol" 1s 031ms
When Go to "INVITATIONS_TAB" 200ms
And Go to create invitation form 086ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "WAREHOUSE_MANAGER" "null" "aaaa@farmacol.com.pl" 468ms
When Send invitation 073ms
Then Create invitation success alert is displayed 252ms
And Check content of message about invitation "ownCompany" 052ms
And Invitation is displayed on list "aaaa@farmacol.com.pl" 197ms
After Hooks.deleteInvitationAfterTest() 036ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 031ms
When Go to "INVITATIONS_TAB" 198ms
And Go to create invitation form 088ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "PRODUCER" "null" "aaaa@kper.pl" 471ms
When Send invitation 066ms
Then Verify that wrong mail domain alert is displayed 068ms
When Fill part of invitation page for existed company in Apollo "null" "null" "null" "abc@keeeper.pl" 101ms
And Send invitation 041ms
Then Create invitation success alert is displayed 200ms
And Check content of message about invitation "ownCompany" 044ms
And Invitation is displayed on list "abc@keeeper.pl" 194ms
After Hooks.deleteInvitationAfterTest() 038ms
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 965ms
When Go to "INVITATIONS_TAB" 168ms
And Go to create invitation form 067ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "WAREHOUSEMAN" "null" "aaaa@neeeuca.pl" 446ms
When Send invitation 065ms
Then Verify that wrong mail domain alert is displayed 053ms
When Fill part of invitation page for existed company in Apollo "null" "null" "null" "abcd@neuca.pl" 108ms
And Send invitation 052ms
Then Create invitation success alert is displayed 258ms
And Check content of message about invitation "ownCompany" 054ms
And Invitation is displayed on list "abcd@neuca.pl" 187ms
After Hooks.deleteInvitationAfterTest() 030ms
Given Login as "farmacol-admin" and set token of apiUsername "super-admin-farmacol" 1s 069ms
When Go to "INVITATIONS_TAB" 178ms
And Go to create invitation form 091ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "WAREHOUSE_MANAGER" "null" "aaaa@farrrmacol.com.pl" 508ms
When Send invitation 077ms
Then Verify that wrong mail domain alert is displayed 047ms
When Fill part of invitation page for existed company in Apollo "null" "null" "null" "abcde@farmacol.com.pl" 108ms
And Send invitation 056ms
Then Create invitation success alert is displayed 304ms
And Check content of message about invitation "ownCompany" 038ms
And Invitation is displayed on list "abcde@farmacol.com.pl" 168ms
After Hooks.deleteInvitationAfterTest() 028ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 627ms
When Go to "INVITATIONS_TAB" 187ms
And Create invitation for "CARRIER" "CARRIER" "dha1-supplier-2@qa.qa-test" "AL" 1s 136ms
Then Check content of message about invitation "incompatibleNIP" 125ms
After Hooks.deleteInvitationAfterTest() 024ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 1s 317ms
When Go to "INVITATIONS_TAB" 189ms
And Create invitation for "CARRIER" "CARRIER" "dha1-supplier-2@qa.qa-test" "AL" 1s 136ms
Then Check content of message about invitation "incompatibleNIP" 111ms
After Hooks.deleteInvitationAfterTest() 029ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 066ms
When Go to "INVITATIONS_TAB" 172ms
And Go to create invitation form 074ms
And Fill part of invitation page for existed company in Apollo "CARRIER" "CARRIER" "PL" "dha1-supplier-2@qa.qa-test" 1s 015ms
Then Check if company existed in apollo is suggest correctly 072ms
When Send invitation 055ms
Then Check content of message about invitation "incompatibleNIP" 110ms
After Hooks.deleteInvitationAfterTest() 022ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 944ms
When Go to "INVITATIONS_TAB" 175ms
And Go to create invitation form 085ms
And Fill part of invitation page for existed company in Apollo "CARRIER" "CARRIER" "PL" "dha1-supplier-2@qa.qa-test" 1s 002ms
Then Check if company existed in apollo is suggest correctly 059ms
When Send invitation 044ms
Then Check content of message about invitation "incompatibleNIP" 106ms
After Hooks.deleteInvitationAfterTest() 024ms