Project Number Date
ApolloFullRunnerReport develop.283 27 sty 2021, 04:44

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Invitation 106 0 0 0 0 106 21 1 22 5m 39s 934ms Failed
Feature Invitation
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 1s 229ms
When Create invitation for "CARRIER" "CARRIER" "automatyy1@test.pl" 1s 171ms
Then Create invitation success alert is displayed 717ms
And Invitation is displayed on list "automatyy1@test.pl" 183ms
After Hooks.deleteInvitationAfterTest() 041ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 228ms
When Create invitation for "CARRIER" "CARRIER" "automatyy2@test.pl" 658ms
Then Create invitation success alert is displayed 258ms
And Invitation is displayed on list "automatyy2@test.pl" 187ms
After Hooks.deleteInvitationAfterTest() 034ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 1s 049ms
When Create invitation for "CARRIER" "CARRIER" "automatyy2@test.pl" 566ms
Then Create invitation success alert is displayed 261ms
And Invitation is displayed on list "automatyy2@test.pl" 159ms
After Hooks.deleteInvitationAfterTest() 031ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 109ms
When Create invitation for "CARRIER" "CARRIER" "automatyy2@test.pl" 650ms
Then Create invitation success alert is displayed 265ms
And Invitation is displayed on list "automatyy2@test.pl" 189ms
After Hooks.deleteInvitationAfterTest() 029ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 1s 029ms
When Create invitation for "CARRIER" "CARRIER" "automatyy2@test.pl" 635ms
Then Create invitation success alert is displayed 204ms
And Invitation is displayed on list "automatyy2@test.pl" 155ms
After Hooks.deleteInvitationAfterTest() 032ms
Given If user is login then logout 096ms
And Create invitation by JSON file "super-admin-skz" for "automatyy15q@test.pl" "CREATE_SUPPLIER_INVITATION" 257ms
When Mock invitation email by admin panel "super-admin-skz" "automatyy15q@test.pl" 4s 116ms
And Verify that user is redirected to registration page 174ms
And Register to application "SUPPLIER" 2s 112ms
Then Check if user can be logged "automatyy15q@test.pl" 3s 252ms
After Hooks.cleanUpAfterTest() 513ms
Given If user is login then logout 083ms
And Create invitation by JSON file "super-admin-piast" for "automatyy19q@test.pl" "CREATE_SUPPLIER_INVITATION" 283ms
When Mock invitation email by admin panel "super-admin-piast" "automatyy19q@test.pl" 3s 433ms
And Verify that user is redirected to registration page 153ms
And Register to application "SUPPLIER" 2s 073ms
Then Check if user can be logged "automatyy19q@test.pl" 2s 718ms
After Hooks.cleanUpAfterTest() 430ms
Given If user is login then logout 089ms
And Create invitation by JSON file "super-admin-lantmannen" for "automatyy2545q@test.pl" "CREATE_SUPPLIER_INVITATION" 258ms
When Mock invitation email by admin panel "super-admin-lantmannen" "automatyy2545q@test.pl" 3s 390ms
And Verify that user is redirected to registration page 144ms
And Register to application "SUPPLIER" 2s 010ms
Then Check if user can be logged "automatyy2545q@test.pl" 2s 739ms
After Hooks.cleanUpAfterTest() 381ms
Given If user is login then logout 080ms
And Create invitation by JSON file "super-admin-keeeper" for "automatyy287q@test.pl" "CREATE_SUPPLIER_INVITATION" 250ms
When Mock invitation email by admin panel "super-admin-keeeper" "automatyy287q@test.pl" 3s 353ms
And Verify that user is redirected to registration page 147ms
And Register to application "SUPPLIER" 1s 914ms
Then Check if user can be logged "automatyy287q@test.pl" 2s 481ms
After Hooks.cleanUpAfterTest() 337ms
Given If user is login then logout 088ms
And Create invitation by JSON file "super-admin-alrec" for "automatyy2871q@test.pl" "CREATE_SUPPLIER_INVITATION" 278ms
When Mock invitation email by admin panel "super-admin-alrec" "automatyy2871q@test.pl" 3s 289ms
And Verify that user is redirected to registration page 180ms
And Register to application "SUPPLIER" 1s 953ms
Then Check if user can be logged "automatyy2871q@test.pl" 2s 225ms
After Hooks.cleanUpAfterTest() 334ms
Given If user is login then logout 077ms
And Create invitation by JSON file "super-admin-piast" for "automaty31415@test.pl" "CREATE_SUPPLIER_INVITATION" 313ms
When Mock invitation email by admin panel "super-admin-piast" "automaty31415@test.pl" 3s 375ms
And Register to application "SUPPLIER" 2s 253ms
And Login as "automaty31415@test.pl" and set token of apiUsername "super-admin-piast" 2s 045ms
Then Mock invitation email by admin panel "super-admin-piast" "automaty31415@test.pl" 3s 361ms
And Verify that user is redirected to invitation page "automaty31415@test.pl" 487ms
After Hooks.cleanUpAfterTest() 380ms
Given If user is login then logout 100ms
And Create invitation by JSON file "super-admin-lantmannen" for "automaty27182@test.pl" "CREATE_SUPPLIER_INVITATION" 244ms
When Mock invitation email by admin panel "super-admin-lantmannen" "automaty27182@test.pl" 3s 431ms
And Register to application "SUPPLIER" 2s 203ms
And Login as "automaty27182@test.pl" and set token of apiUsername "super-admin-lantmannen" 1s 860ms
Then Mock invitation email by admin panel "super-admin-lantmannen" "automaty27182@test.pl" 3s 312ms
And Verify that user is redirected to invitation page "automaty27182@test.pl" 294ms
After Hooks.cleanUpAfterTest() 311ms
Given If user is login then logout 113ms
And Create invitation by JSON file "super-admin-keeeper" for "automaty6022@test.pl" "CREATE_SUPPLIER_INVITATION" 242ms
When Mock invitation email by admin panel "super-admin-keeeper" "automaty6022@test.pl" 3s 417ms
And Register to application "SUPPLIER" 2s 117ms
And Login as "automaty6022@test.pl" and set token of apiUsername "super-admin-keeeper" 2s 022ms
Then Mock invitation email by admin panel "super-admin-keeeper" "automaty6022@test.pl" 3s 274ms
And Verify that user is redirected to invitation page "automaty6022@test.pl" 341ms
After Hooks.cleanUpAfterTest() 356ms
Given If user is login then logout 105ms
And Create invitation by JSON file "super-admin-skz" for "automaty666@test.pl" "CREATE_SUPPLIER_INVITATION" 235ms
When Mock invitation email by admin panel "super-admin-skz" "automaty666@test.pl" 3s 840ms
And Register to application "SUPPLIER" 2s 201ms
And Login as "automaty666@test.pl" and set token of apiUsername "super-admin-skz" 1s 902ms
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" 393ms
After Hooks.cleanUpAfterTest() 408ms
Scenario Outline Check if logged user is redirected from registration link to invitation tab
Steps
Given If user is login then logout 074ms
And Create invitation by JSON file "super-admin-alrec" for "automaty2871q@test.pl" "CREATE_SUPPLIER_INVITATION" 261ms
When Mock invitation email by admin panel "super-admin-alrec" "automaty2871q@test.pl" 3s 276ms
And Register to application "SUPPLIER" 2s 156ms
And Login as "automaty2871q@test.pl" and set token of apiUsername "super-admin-alrec" 1s 983ms
Then Mock invitation email by admin panel "super-admin-alrec" "automaty2871q@test.pl" 3s 379ms
And Verify that user is redirected to invitation page "automaty2871q@test.pl" 333ms
Hooks
After Hooks.cleanUpAfterTest() 685ms
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.delete(RequestSpecificationImpl.groovy:183)
	at io.restassured.internal.RequestSpecificationImpl.delete(RequestSpecificationImpl.groovy)
	at Utils.RestUtils.RestUtil.deleteResponse(RestUtil.java:168)
	at Utils.RestUtils.RestUtil.deleteFromApolloApi(RestUtil.java:97)
	at CucumberTests.Hooks.cleanUpAfterTest(Hooks.java:273)
	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)
And Create invitation by JSON file "super-admin-skz" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 252ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 13s 415ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 043ms
And Create invitation by JSON file "super-admin-lantmannen" 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" 37s 246ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 040ms
And Create invitation by JSON file "super-admin-keeeper" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 291ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 42s 498ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 037ms
And Create invitation by JSON file "super-admin-adama" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 245ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 31s 489ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 037ms
And Create invitation by JSON file "super-admin-piast" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 340ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 31s 011ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 033ms
And Create invitation by JSON file "super-admin-alrec" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 253ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 31s 215ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 043ms
And Create invitation by JSON file "super-admin-sempertrans" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 277ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 37s 198ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 039ms