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 files 86 4 22 0 0 112 12 4 16 4m 44s 501ms Failed
Feature Transport files
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 629ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 2s 011ms
When Go to "TRANSPORT_TABLE" 401ms
And Show all transport types 1s 153ms
And Verify that transport has "0" files 086ms
Then Add file to transport by API 1s 919ms
And Verify that transport has "1" files 2s 330ms
After Hooks.deleteTransportAfterTest() 598ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 664ms
And Create transport "CREATE_LOAD_FRONT" by JSON file as "super-admin-piast" 1s 948ms
When Go to "TRANSPORT_TABLE" 329ms
And Show all transport types 1s 144ms
And Verify that transport has "0" files 080ms
Then Add file to transport by API 1s 945ms
And Verify that transport has "1" files 1s 322ms
After Hooks.deleteTransportAfterTest() 572ms
Scenario Outline Check if it possible to add file to transport in transport table
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 867ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 525ms
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/File.feature:6)
When Go to "TRANSPORT_TABLE" 000ms
And Show all transport types 000ms
And Verify that transport has "0" files 000ms
Then Add file to transport by API 000ms
And Verify that transport has "1" files 000ms
After Hooks.deleteTransportAfterTest() 000ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 412ms
And Create transport "CREATE_CONTAINER" by JSON file as "super-admin-keeeper" 1s 972ms
When Go to "TRANSPORT_TABLE" 424ms
And Show all transport types 1s 164ms
And Verify that transport has "0" files 094ms
Then Add file to transport by API 1s 316ms
And Verify that transport has "1" files 3s 109ms
After Hooks.deleteTransportAfterTest() 575ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 424ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 2s
And Delete transport 18s 024ms
When Go to "ARCHIVE_TAB" 567ms
And Show "DELIVERY" 161ms
And Verify that transport has "0" files 2s 748ms
Then Add file to transport 397ms
And Verify that transport has "1" files 1s 514ms
After Hooks.deleteTransportAfterTest() 600ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 644ms
And Create transport "CREATE_LOAD_FRONT" by JSON file as "super-admin-piast" 2s 126ms
And Delete transport 18s 586ms
When Go to "ARCHIVE_TAB" 562ms
And Show "LOAD" 213ms
And Verify that transport has "0" files 3s 979ms
Then Add file to transport 457ms
And Verify that transport has "1" files 1s 642ms
After Hooks.deleteTransportAfterTest() 502ms
Scenario Outline Check if it possible to add file to transport in archive
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 207ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 519ms
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/File.feature:22)
And Delete transport 000ms
When Go to "ARCHIVE_TAB" 000ms
And Show "DELIVERY" 000ms
And Verify that transport has "0" files 000ms
Then Add file to transport 000ms
And Verify that transport has "1" files 000ms
After Hooks.deleteTransportAfterTest() 000ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 688ms
And Create transport "CREATE_CONTAINER" by JSON file as "super-admin-keeeper" 1s 957ms
And Delete transport 18s 327ms
When Go to "ARCHIVE_TAB" 552ms
And Show "CONTAINER" 242ms
And Verify that transport has "0" files 5s 863ms
Then Add file to transport 400ms
And Verify that transport has "1" files 1s 527ms
After Hooks.deleteTransportAfterTest() 576ms
Scenario Outline Check that the file is added to the transport after carrier acceptance when the transport has been passed to the carrier
Steps
Given Set token of apiUsername "super-admin-adama" 3s 827ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 15s 926ms
And Transfer transport to carrier by JSON file "super-admin-adama" "true" confirmation 709ms
And Accept transferred transport by Api 006ms
java.lang.AssertionError: Nie znaleziono szukanego zasobu w Apollo!
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.getBigIntegerResult(ApolloSelectDbService.java:117)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.getLongResult(ApolloSelectDbService.java:107)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.findIdBy(ApolloSelectDbService.java:19)
	at CucumberTests.Transport.CarrierTransportAction.acceptTransferredTransportByApi(CarrierTransportAction.java:77)
	at ✽.Accept transferred transport by Api(file:Features/Atom/Transport/File.feature:41)
And Login as "paa1-carrier@qa.qa-test" 000ms
Then Verify that "large_entrepreneur_declaration" document can be downloaded 000ms
After Hooks.deleteTransportAfterTest() 890ms
Given Login as "paa1-carrier@qa.qa-test" and set token of apiUsername "super-admin-adama" 2s 860ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 252ms
And Transfer transport to carrier by JSON file "super-admin-adama" "false" confirmation 961ms
Then Verify that "large_entrepreneur_declaration" document can be downloaded 18s 045ms
After Hooks.deleteTransportAfterTest() 545ms
Given Set token of apiUsername "super-admin-adama" 275ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 244ms
And Set transport on auction with "500" and "1500" by JSON file as "super-admin-adama" 2s 839ms
And Add a bid "500" to an auction by JSON file as "paa1-carrier@qa.qa-test" for "super-admin-adama" 1s 549ms
And Login as "paa1-carrier@qa.qa-test" 2s 631ms
Then Verify that "large_entrepreneur_declaration" document can be downloaded 17s 670ms
After Hooks.deleteTransportAfterTest() 609ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 2s 648ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-alrec" 2s 318ms
When Go to "TRANSPORT_TABLE" 409ms
And Show all transport "true" 372ms
Then Verify that transport has "1" CMR file 1s 512ms
After Hooks.deleteTransportAfterTest() 615ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 2s 369ms
And Create transport "CREATE_TRANSPORT_TWO_UNLOAD_STEPS" by JSON file as "super-admin-alrec" 2s 497ms
When Go to "TRANSPORT_TABLE" 412ms
And Show all transport "true" 379ms
Then Verify that transport has "2" CMR file 1s 589ms
After Hooks.deleteTransportAfterTest() 614ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 2s 572ms
And Create transport "CREATE_TRANSPORT_TWO_UNLOAD_STEPS" by JSON file as "super-admin-alrec" 2s 406ms
When Go to "TRANSPORT_TABLE" 423ms
And Show all transport "true" 354ms
Then Verify that "CMR" document can be downloaded 19s 589ms
After Hooks.deleteTransportAfterTest() 585ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 2s 783ms
And Create transport "CREATE_TRANSPORT_TWO_UNLOAD_STEPS" by JSON file as "super-admin-alrec" 2s 430ms
And Show all transport "true" 384ms
And Delete transport 4s 069ms
When Go to "ARCHIVE_TAB" 440ms
And Show "TRANSPORT_ORDER" 146ms
Then Verify that "CMR" document can be downloaded 20s 772ms
After Hooks.deleteTransportAfterTest() 598ms
Scenario Outline The link to the delivery document appears after confirming the respective status [A-6905]
Steps
Given Login as "pba1-carrier" and set token of apiUsername "super-admin-bausch" 5s 989ms
And Create default accepted mode of transportation by API with "pba1-carrier" 2s 047ms
And If user is login then logout 261ms
And Login as "bausch-admin" and set token of apiUsername "super-admin-bausch" 5s 958ms
And Create transport "CREATE_LOAD_PL" by JSON file as "super-admin-bausch" 365ms
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_LOAD_PL" by JSON file as "super-admin-bausch"(file:Features/Atom/Transport/File.feature:112)
And Transfer transport to carrier by JSON file "super-admin-bausch" "false" confirmation 000ms
And Set "advice" inputs from JSON file "ADVICE_LOAD" "super-admin-bausch" 000ms
And Click button advice in transport table "LOAD_PL" 000ms
And Set advice window in schedule 000ms
And Fill advice form 000ms
And Click advice save button and wait for advice form to disappear 000ms
And Find transport in table with status "advice-added" 000ms
When Confirm statuses until reach "on-the-way" 000ms
Then Verify that "delivery_document" document can be downloaded 000ms
After Hooks.deleteTransportAfterTest() 000ms
After Hooks.deleteModeOfTransportationAfterTest() 354ms