Project Number Date
ApolloFullRunnerReport kapibary.35 10 cze 2021, 19:48

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Transport table 50 3 7 0 0 60 6 3 9 4m 13s 049ms Failed
Feature Transport table
Given Login as "lantmannen-guard-3" and set token of apiUsername "super-admin-lantmannen" 4s 514ms
And Create transport "CREATE_DELIVERY_NIEPORET_WAREHOUSE" by JSON file as "super-admin-lantmannen" 2s 882ms
And Show all transport types 1s 156ms
Then Check if transport number is visible "DELIVERY" 15s 165ms
And Check if transport details is not visible 15s 035ms
After Hooks.deleteTransportAfterTest() 837ms
Scenario Outline Check if transport table row is selected
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 10s 415ms
And Show all transport "false" 156ms
And Go to "TRANSPORT_TABLE" 506ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 508ms
java.lang.AssertionError: 1 expectation failed.
Expected status code <200> but was <422>.

	at sun.reflect.GeneratedConstructorAccessor189.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.GeneratedMethodAccessor73.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.GeneratedMethodAccessor72.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-hochland"(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 "adama-admin" and set token of apiUsername "super-admin-adama" 5s 084ms
And Show all transport "false" 152ms
And Go to "TRANSPORT_TABLE" 512ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-adama" 391ms
java.lang.AssertionError: 1 expectation failed.
Expected status code <200> but was <422>.

	at sun.reflect.GeneratedConstructorAccessor189.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.GeneratedMethodAccessor73.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.GeneratedMethodAccessor72.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
Given Login as "swiss-krono-delivery-admin" and set token of apiUsername "super-admin-skd" 4s 753ms
And Show all transport "false" 150ms
And Go to "TRANSPORT_TABLE" 419ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-skd" 16s 668ms
When Click on transport row 182ms
Then Verify if transport row is selected 098ms
After Hooks.deleteTransportAfterTest() 848ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 4s 757ms
And Show all transport "false" 153ms
And Go to "TRANSPORT_TABLE" 445ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-lantmannen" 2s 783ms
When Click on transport row 150ms
Then Verify if transport row is selected 080ms
After Hooks.deleteTransportAfterTest() 850ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 6s 019ms
And Show all transport "false" 155ms
And Go to "TRANSPORT_TABLE" 334ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-keeeper" 2s 873ms
When Click on transport row 172ms
Then Verify if transport row is selected 082ms
After Hooks.deleteTransportAfterTest() 911ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 4s 943ms
And Show all transport "true" 336ms
And Go to "TRANSPORT_TABLE" 540ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-alrec" 2s 650ms
When Click on transport row 170ms
Then Verify if transport row is selected 079ms
After Hooks.deleteTransportAfterTest() 812ms
Given Login as "pgf-admin" and set token of apiUsername "super-admin-pgf" 4s 950ms
And Create transport "CREATE_UNLOAD" by JSON file as "super-admin-pgf" in "-2" days 17s 751ms
And Create transport "CREATE_UNLOAD" by JSON file as "super-admin-pgf" in "-1" days 17s 484ms
And Create transport "CREATE_UNLOAD" by JSON file as "super-admin-pgf" in "1" days 17s 694ms
And Create transport "CREATE_UNLOAD" by JSON file as "super-admin-pgf" in "2" days 17s 540ms
When Show closest date transport 269ms
Then Verify if "2" transport in table is selected 092ms
After Hooks.deleteAllTransports() 1m 34s 803ms
Scenario Outline Check if orders are not multiplicated when creating by create similar button [A-7545]
Steps
Given Set token of apiUsername "super-admin-farmacol" 254ms
And Create transport "CREATE_EXTERNAL_DELIVERY" by JSON file as "super-admin-farmacol" 15s 887ms
And Login as "farmacol-admin" 7s 128ms
And Show all transport types 1s 154ms
When Go to transport details "EXTERNAL_DELIVERY" 4s 881ms
And Click create similar button 15s 219ms
And Fill "transport" form "CREATE_SIMILAR_DELIVERY" by "super-admin-farmacol" 8s 684ms
And Click "save-transport-and-close" save button and wait for form to disappear 16s 500ms
Then Check if orders are not multiplicated when creating by create similar button 2s 071ms
java.lang.AssertionError: Tworząc nowy transport przez "Utworz podobne" w tabeli powinny być tylko 2 transporty. Widoczna ilość to: 4
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at CucumberTests._PerformanceTests.TransportTableTest.checkIfOrdersAreNotMultiplicatedWhenCreatingByCreateSimilarButton(TransportTableTest.java:191)
	at ✽.Check if orders are not multiplicated when creating by create similar button(file:Features/Atom/Transport/TransportTable/TransportTable.feature:54)
When Go to "WAREHOUSE_TAB" 000ms
And Go to "TRANSPORT_TABLE" 000ms
Then Check if orders are not multiplicated when creating by create similar button 000ms
After Hooks.deleteAllTransports() 1m 4s 351ms