Project Number Date
ApolloFullRunnerReport f_after_release_3_4_0.306 10 lut 2021, 23:29

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Invitation 144 2 13 0 0 159 26 2 28 9m 15s 420ms Failed
Feature Invitation
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 1s 205ms
When Create invitation for "CARRIER" "CARRIER" "automatyy1@test.pl" 1s 142ms
Then Create invitation success alert is displayed 665ms
And Invitation is displayed on list "automatyy1@test.pl" 212ms
After Hooks.deleteInvitationAfterTest() 034ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 627ms
When Create invitation for "CARRIER" "CARRIER" "automatyy2@test.pl" 674ms
Then Create invitation success alert is displayed 277ms
And Invitation is displayed on list "automatyy2@test.pl" 166ms
After Hooks.deleteInvitationAfterTest() 038ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 1s 038ms
When Create invitation for "CARRIER" "CARRIER" "automatyy2@test.pl" 667ms
Then Create invitation success alert is displayed 208ms
And Invitation is displayed on list "automatyy2@test.pl" 170ms
After Hooks.deleteInvitationAfterTest() 030ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 089ms
When Create invitation for "CARRIER" "CARRIER" "automatyy2@test.pl" 651ms
Then Create invitation success alert is displayed 209ms
And Invitation is displayed on list "automatyy2@test.pl" 169ms
After Hooks.deleteInvitationAfterTest() 040ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 1s 047ms
When Create invitation for "CARRIER" "CARRIER" "automatyy2@test.pl" 700ms
Then Create invitation success alert is displayed 216ms
And Invitation is displayed on list "automatyy2@test.pl" 181ms
After Hooks.deleteInvitationAfterTest() 036ms
Given If user is login then logout 091ms
And Create invitation by JSON file "super-admin-skz" for "automatyy15q@test.pl" "CREATE_SUPPLIER_INVITATION" 277ms
When Mock invitation email by admin panel "super-admin-skz" "automatyy15q@test.pl" 4s 098ms
And Verify that user is redirected to registration page 161ms
And Register to application "SUPPLIER" 1s 941ms
Then Check if user can be logged "automatyy15q@test.pl" 3s 252ms
After Hooks.cleanUpAfterTest() 451ms
Given If user is login then logout 088ms
And Create invitation by JSON file "super-admin-piast" for "automatyy19q@test.pl" "CREATE_SUPPLIER_INVITATION" 289ms
When Mock invitation email by admin panel "super-admin-piast" "automatyy19q@test.pl" 3s 324ms
And Verify that user is redirected to registration page 179ms
And Register to application "SUPPLIER" 1s 981ms
Then Check if user can be logged "automatyy19q@test.pl" 2s 564ms
After Hooks.cleanUpAfterTest() 367ms
Given If user is login then logout 074ms
And Create invitation by JSON file "super-admin-lantmannen" for "automatyy2545q@test.pl" "CREATE_SUPPLIER_INVITATION" 274ms
When Mock invitation email by admin panel "super-admin-lantmannen" "automatyy2545q@test.pl" 3s 349ms
And Verify that user is redirected to registration page 199ms
And Register to application "SUPPLIER" 1s 994ms
Then Check if user can be logged "automatyy2545q@test.pl" 2s 326ms
After Hooks.cleanUpAfterTest() 323ms
Given If user is login then logout 084ms
And Create invitation by JSON file "super-admin-keeeper" for "automatyy287q@test.pl" "CREATE_SUPPLIER_INVITATION" 255ms
When Mock invitation email by admin panel "super-admin-keeeper" "automatyy287q@test.pl" 3s 358ms
And Verify that user is redirected to registration page 184ms
And Register to application "SUPPLIER" 2s 066ms
Then Check if user can be logged "automatyy287q@test.pl" 2s 441ms
After Hooks.cleanUpAfterTest() 334ms
Given If user is login then logout 087ms
And Create invitation by JSON file "super-admin-alrec" for "automatyy2871q@test.pl" "CREATE_SUPPLIER_INVITATION" 233ms
When Mock invitation email by admin panel "super-admin-alrec" "automatyy2871q@test.pl" 3s 353ms
And Verify that user is redirected to registration page 163ms
And Register to application "SUPPLIER" 2s 031ms
Then Check if user can be logged "automatyy2871q@test.pl" 2s 289ms
After Hooks.cleanUpAfterTest() 318ms
Given If user is login then logout 086ms
And Create invitation by JSON file "super-admin-piast" for "automaty31415@test.pl" "CREATE_SUPPLIER_INVITATION" 297ms
When Mock invitation email by admin panel "super-admin-piast" "automaty31415@test.pl" 3s 355ms
And Register to application "SUPPLIER" 2s 153ms
And Login as "automaty31415@test.pl" and set token of apiUsername "super-admin-piast" 2s 122ms
Then Mock invitation email by admin panel "super-admin-piast" "automaty31415@test.pl" 3s 334ms
And Verify that user is redirected to invitation page "automaty31415@test.pl" 489ms
After Hooks.cleanUpAfterTest() 374ms
Given If user is login then logout 090ms
And Create invitation by JSON file "super-admin-lantmannen" for "automaty27182@test.pl" "CREATE_SUPPLIER_INVITATION" 228ms
When Mock invitation email by admin panel "super-admin-lantmannen" "automaty27182@test.pl" 3s 278ms
And Register to application "SUPPLIER" 2s 127ms
And Login as "automaty27182@test.pl" and set token of apiUsername "super-admin-lantmannen" 1s 868ms
Then Mock invitation email by admin panel "super-admin-lantmannen" "automaty27182@test.pl" 3s 283ms
And Verify that user is redirected to invitation page "automaty27182@test.pl" 288ms
After Hooks.cleanUpAfterTest() 324ms
Given If user is login then logout 103ms
And Create invitation by JSON file "super-admin-keeeper" for "automaty6022@test.pl" "CREATE_SUPPLIER_INVITATION" 240ms
When Mock invitation email by admin panel "super-admin-keeeper" "automaty6022@test.pl" 3s 340ms
And Register to application "SUPPLIER" 2s 224ms
And Login as "automaty6022@test.pl" and set token of apiUsername "super-admin-keeeper" 2s 063ms
Then Mock invitation email by admin panel "super-admin-keeeper" "automaty6022@test.pl" 3s 403ms
And Verify that user is redirected to invitation page "automaty6022@test.pl" 344ms
After Hooks.cleanUpAfterTest() 383ms
Given If user is login then logout 091ms
And Create invitation by JSON file "super-admin-skz" for "automaty666@test.pl" "CREATE_SUPPLIER_INVITATION" 259ms
When Mock invitation email by admin panel "super-admin-skz" "automaty666@test.pl" 4s 265ms
And Register to application "SUPPLIER" 2s 138ms
And Login as "automaty666@test.pl" and set token of apiUsername "super-admin-skz" 2s 323ms
Then Mock invitation email by admin panel "super-admin-skz" "automaty666@test.pl" 3s 355ms
And Verify that user is redirected to invitation page "automaty666@test.pl" 376ms
After Hooks.cleanUpAfterTest() 423ms
Given If user is login then logout 105ms
And Create invitation by JSON file "super-admin-alrec" for "automaty2871q@test.pl" "CREATE_SUPPLIER_INVITATION" 242ms
When Mock invitation email by admin panel "super-admin-alrec" "automaty2871q@test.pl" 3s 394ms
And Register to application "SUPPLIER" 2s 154ms
And Login as "automaty2871q@test.pl" and set token of apiUsername "super-admin-alrec" 1s 906ms
Then Mock invitation email by admin panel "super-admin-alrec" "automaty2871q@test.pl" 3s 340ms
And Verify that user is redirected to invitation page "automaty2871q@test.pl" 318ms
After Hooks.cleanUpAfterTest() 327ms
And Create invitation by JSON file "super-admin-skz" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 261ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 37s 413ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 042ms
And Create invitation by JSON file "super-admin-lantmannen" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 256ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 43s 637ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 032ms
And Create invitation by JSON file "super-admin-keeeper" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 276ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 43s 190ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 035ms
And Create invitation by JSON file "super-admin-adama" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 247ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 36s 194ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 033ms
And Create invitation by JSON file "super-admin-piast" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 301ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 37s 317ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 029ms
And Create invitation by JSON file "super-admin-alrec" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 255ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 24s 566ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 034ms
And Create invitation by JSON file "super-admin-sempertrans" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 281ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 36s 415ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 046ms
Given Set token of apiUsername "super-admin-farmacol" 100ms
And Prepare user "dnfa1-supplier" details with all notifications and "automaty314153@test.pl" by JSON file 329ms
And Create invitation by JSON file "super-admin-farmacol" for "automaty314153@test.pl" "CREATE_SUPPLIER_INVITATION" 410ms
And Prepare user "dnfa1-supplier-2" details with all notifications and "automaty214152@test.pl" by JSON file 251ms
And Create invitation by JSON file "super-admin-farmacol" for "automaty214152@test.pl" "CREATE_SUPPLIER_INVITATION" 364ms
When Login as "dnfa1-supplier" and set token of apiUsername "super-admin-farmacol" 2s 735ms
And Go to "INVITATIONS_TAB" 173ms
And Accept invitation 15s 789ms
And If user is login then logout 097ms
And Login as "dnfa1-supplier-2" and set token of apiUsername "super-admin-farmacol" 2s 982ms
And Verify if user has visible "no waiting" invitation 15s 284ms
And Verify if user has visible "accepted" invitation 284ms
And Verify if user can see "Farmacol" on principal switch dropdown 076ms
After Hooks.cleanUserDetailsAfterTest() 275ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 1s 172ms
When Create and accept invitation by JSON file as "super-admin-skz" for "automaty1591qa@test.pl" "CREATE_CARRIER_INVITATION" 693ms
And Go to "USERS_TAB" 1s 057ms
And Find user "automaty1591qa@test.pl" 1s 403ms
And Change user details "email" to "apolloautomattest@test.pl" 554ms
And Save user details 510ms
And Create invitation for "CARRIER" "CARRIER" "automaty1591qa@test.pl" 740ms
Then Verify that invitation can't be sent on already used username 30s 034ms
After Hooks.cleanUpAfterTest() 1s 416ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 1s 092ms
When Create and accept invitation by JSON file as "super-admin-lantmannen" for "automaty1231qa@test.pl" "CREATE_CARRIER_INVITATION" 630ms
And Go to "USERS_TAB" 770ms
And Find user "automaty1231qa@test.pl" 1s 262ms
And Change user details "email" to "apolloautomattest@test.pl" 231ms
And Save user details 329ms
And Create invitation for "CARRIER" "CARRIER" "automaty1231qa@test.pl" 654ms
Then Verify that invitation can't be sent on already used username 30s 090ms
After Hooks.cleanUpAfterTest() 1s 167ms
Scenario Outline Check if invitation cant be sent to already used username
Steps
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 175ms
When Create and accept invitation by JSON file as "super-admin-keeeper" for "automaty1239qa@test.pl" "CREATE_CARRIER_INVITATION" 861ms
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:65)
	at CucumberTests.Invitation.RegistrationTest.createAndAcceptInvitationByJSONFileFor(RegistrationTest.java:69)
	at ✽.Create and accept invitation by JSON file as "super-admin-keeeper" for "automaty1239qa@test.pl" "CREATE_CARRIER_INVITATION"(file:Features/Atom/Invitations/Invitation.feature:87)
And Go to "USERS_TAB" 000ms
And Find user "automaty1239qa@test.pl" 000ms
And Change user details "email" to "apolloautomattest@test.pl" 000ms
And Save user details 000ms
And Create invitation for "CARRIER" "CARRIER" "automaty1239qa@test.pl" 000ms
Then Verify that invitation can't be sent on already used username 000ms
Hooks
After Hooks.cleanUpAfterTest() 185ms
java.lang.AssertionError: 1 expectation failed.
Expected status code <200> but was <500>.

	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.get(RequestSpecificationImpl.groovy:171)
	at io.restassured.internal.RequestSpecificationImpl.get(RequestSpecificationImpl.groovy)
	at Utils.RestUtils.RestUtil.getResponse(RestUtil.java:156)
	at Utils.RestUtils.RestUtil.getFromApolloApi(RestUtil.java:41)
	at CucumberTests.Hooks.cleanUpAfterTest(Hooks.java:269)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	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.JavaHookDefinition.execute(JavaHookDefinition.java:60)
	at cucumber.runner.HookDefinitionMatch.runStep(HookDefinitionMatch.java:16)
	at cucumber.runner.TestStep.executeStep(TestStep.java:63)
	at cucumber.runner.TestStep.run(TestStep.java:49)
	at cucumber.runner.TestCase.run(TestCase.java:49)
	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)
Scenario Outline Check if invitation cant be sent to already used username
Steps
Given Login as "lantmannen-piast" and set token of apiUsername "super-admin-piast" 31s 221ms
org.openqa.selenium.TimeoutException: Expected condition failed: Nie udalo sie poprawnie zalogowac lantmannen-piast (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:165)
	at Pages.LoginPage.loginAs(LoginPage.java:39)
	at CucumberTests.BaseTest.loginAs(BaseTest.java:98)
	at CucumberTests.LoginTest.loginAsAndSetTokenOfApiUsername(LoginTest.java:68)
	at ✽.Login as "lantmannen-piast" and set token of apiUsername "super-admin-piast"(file:Features/Atom/Invitations/Invitation.feature:86)
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-128-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:165)
	at Pages.LoginPage.loginAs(LoginPage.java:39)
	at CucumberTests.BaseTest.loginAs(BaseTest.java:98)
	at CucumberTests.LoginTest.loginAsAndSetTokenOfApiUsername(LoginTest.java:68)
	at sun.reflect.GeneratedMethodAccessor207.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)
When Create and accept invitation by JSON file as "super-admin-piast" for "automaty9231qa@test.pl" "CREATE_CARRIER_INVITATION" 000ms
And Go to "USERS_TAB" 000ms
And Find user "automaty9231qa@test.pl" 000ms
And Change user details "email" to "apolloautomattest@test.pl" 000ms
And Save user details 000ms
And Create invitation for "CARRIER" "CARRIER" "automaty9231qa@test.pl" 000ms
Then Verify that invitation can't be sent on already used username 000ms
After Hooks.cleanUpAfterTest() 003ms
Given Login as "farmacol-admin" and set token of apiUsername "super-admin-farmacol" 2s 455ms
When Create and accept invitation by JSON file as "super-admin-farmacol" for "automaty7221qa@test.pl" "CREATE_CARRIER_INVITATION" 836ms
And Go to "USERS_TAB" 803ms
And Find user "automaty7221qa@test.pl" 1s 377ms
And Change user details "email" to "apolloautomattest@test.pl" 307ms
And Save user details 508ms
And Create invitation for "CARRIER" "CARRIER" "automaty7221qa@test.pl" 686ms
Then Verify that invitation can't be sent on already used username 30s 118ms
After Hooks.cleanUpAfterTest() 1s 219ms