Project Number Date
ApolloFullRunnerReport kapibary.23 31 maj 2021, 07:26

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Transport table 42 2 4 0 0 48 6 2 8 2m 42s 396ms Failed
Feature Transport table
Given Login as "lantmannen-guard-3" and set token of apiUsername "super-admin-lantmannen" 3s 969ms
And Create transport "CREATE_DELIVERY_NIEPORET_WAREHOUSE" by JSON file as "super-admin-lantmannen" 2s 812ms
And Show all transport types 1s 126ms
Then Check if transport number is visible "DELIVERY" 15s 118ms
And Check if transport details is not visible 15s 074ms
After Hooks.deleteTransportAfterTest() 764ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 9s 646ms
And Show all transport "false" 151ms
And Go to "TRANSPORT_TABLE" 616ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 2s 875ms
When Click on transport row 396ms
Then Verify if transport row is selected 088ms
After Hooks.deleteTransportAfterTest() 826ms
Scenario Outline Check if transport table row is selected
Steps
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 4s 695ms
And Show all transport "false" 156ms
And Go to "TRANSPORT_TABLE" 413ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-adama" 360ms
java.lang.AssertionError: 1 expectation failed.
Expected status code <200> but was <422>.

	at sun.reflect.GeneratedConstructorAccessor188.newInstance(Unknown Source)
	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.Transport.CreateTransport.createByJSONFileAs(CreateTransport.java:76)
	at ✽.Create transport "CREATE_DELIVERY" by JSON file as "super-admin-adama"(file:Features/Atom/Transport/TransportTable/TransportTable.feature:19)
When Click on transport row 000ms
Then Verify if transport row is selected 000ms
After Hooks.deleteTransportAfterTest() 000ms
Scenario Outline Check if transport table row is selected
Steps
Given Login as "swiss-krono-delivery-admin" and set token of apiUsername "super-admin-skd" 4s 123ms
And Show all transport "false" 152ms
And Go to "TRANSPORT_TABLE" 443ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-skd" 325ms
java.lang.AssertionError: 1 expectation failed.
Expected status code <200> but was <422>.

	at sun.reflect.GeneratedConstructorAccessor188.newInstance(Unknown Source)
	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.Transport.CreateTransport.createByJSONFileAs(CreateTransport.java:76)
	at ✽.Create transport "CREATE_DELIVERY" by JSON file as "super-admin-skd"(file:Features/Atom/Transport/TransportTable/TransportTable.feature:19)
When Click on transport row 000ms
Then Verify if transport row is selected 000ms
After Hooks.deleteTransportAfterTest() 000ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 3s 869ms
And Show all transport "false" 154ms
And Go to "TRANSPORT_TABLE" 404ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-lantmannen" 2s 621ms
When Click on transport row 125ms
Then Verify if transport row is selected 066ms
After Hooks.deleteTransportAfterTest() 631ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 4s 999ms
And Show all transport "false" 160ms
And Go to "TRANSPORT_TABLE" 492ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-keeeper" 2s 715ms
When Click on transport row 134ms
Then Verify if transport row is selected 077ms
After Hooks.deleteTransportAfterTest() 743ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 4s 302ms
And Show all transport "true" 330ms
And Go to "TRANSPORT_TABLE" 367ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-alrec" 2s 540ms
When Click on transport row 142ms
Then Verify if transport row is selected 076ms
After Hooks.deleteTransportAfterTest() 714ms
Given Login as "pgf-admin" and set token of apiUsername "super-admin-pgf" 4s 307ms
And Create transport "CREATE_UNLOAD" by JSON file as "super-admin-pgf" in "-2" days 18s 239ms
And Create transport "CREATE_UNLOAD" by JSON file as "super-admin-pgf" in "-1" days 17s 769ms
And Create transport "CREATE_UNLOAD" by JSON file as "super-admin-pgf" in "1" days 17s 776ms
And Create transport "CREATE_UNLOAD" by JSON file as "super-admin-pgf" in "2" days 17s 791ms
When Show closest date transport 284ms
Then Verify if "2" transport in table is selected 096ms
After Hooks.deleteAllTransports() 1m 34s 128ms