Project Number Date
ApolloFullRunnerReport develop.379 14 kwi 2021, 05:23

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Transport table 45 1 2 0 0 48 7 1 8 2m 13s 157ms Failed
Feature Transport table
Given Login as "lantmannen-guard-3" and set token of apiUsername "super-admin-lantmannen" 1s 845ms
And Create transport "CREATE_DELIVERY_NIEPORET_WAREHOUSE" by JSON file as "super-admin-lantmannen" 1s 367ms
And Show all transport types 1s 043ms
Then Check if transport number is visible "DELIVERY" 15s 051ms
And Check if transport details is not visible 15s 009ms
After Hooks.deleteTransportAfterTest() 107ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 700ms
And Show all transport "false" 006ms
And Go to "TRANSPORT_TABLE" 121ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 446ms
When Click on transport row 077ms
Then Verify if transport row is selected 033ms
After Hooks.deleteTransportAfterTest() 089ms
Scenario Outline Check if transport table row is selected
Steps
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 1s 903ms
And Show all transport "false" 005ms
And Go to "TRANSPORT_TABLE" 183ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-adama" 067ms
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.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() 001ms
Given Login as "swiss-krono-delivery-admin" and set token of apiUsername "super-admin-skd" 1s 785ms
And Show all transport "false" 004ms
And Go to "TRANSPORT_TABLE" 105ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-skd" 15s 313ms
When Click on transport row 056ms
Then Verify if transport row is selected 027ms
After Hooks.deleteTransportAfterTest() 102ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 1s 783ms
And Show all transport "false" 015ms
And Go to "TRANSPORT_TABLE" 126ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-lantmannen" 1s 319ms
When Click on transport row 070ms
Then Verify if transport row is selected 031ms
After Hooks.deleteTransportAfterTest() 113ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 032ms
And Show all transport "false" 004ms
And Go to "TRANSPORT_TABLE" 113ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-keeeper" 1s 339ms
When Click on transport row 071ms
Then Verify if transport row is selected 025ms
After Hooks.deleteTransportAfterTest() 109ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 1s 844ms
And Show all transport "true" 074ms
And Go to "TRANSPORT_TABLE" 119ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-alrec" 1s 321ms
When Click on transport row 068ms
Then Verify if transport row is selected 023ms
After Hooks.deleteTransportAfterTest() 084ms
Given Login as "pgf-admin" and set token of apiUsername "super-admin-pgf" 1s 864ms
And Create transport "CREATE_UNLOAD" by JSON file as "super-admin-pgf" in "-2" days 15s 777ms
And Create transport "CREATE_UNLOAD" by JSON file as "super-admin-pgf" in "-1" days 15s 578ms
And Create transport "CREATE_UNLOAD" by JSON file as "super-admin-pgf" in "1" days 15s 614ms
And Create transport "CREATE_UNLOAD" by JSON file as "super-admin-pgf" in "2" days 15s 640ms
When Show closest date transport 102ms
Then Verify if "2" transport in table is selected 035ms
After Hooks.deleteAllTransports() 1m 30s 823ms