Project Number Date
ApolloFullRunnerReport kapibary.28 05 cze 2021, 06:53

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Transport files 96 3 13 0 0 112 13 3 16 6m 25s 223ms Failed
Feature Transport files
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 515ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 2s 058ms
When Go to "TRANSPORT_TABLE" 405ms
And Show all transport types 1s 153ms
And Verify that transport has "0" files 088ms
Then Add file to transport by API 1s 832ms
And Verify that transport has "1" files 2s 393ms
After Hooks.deleteTransportAfterTest() 524ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 464ms
And Create transport "CREATE_LOAD_FRONT" by JSON file as "super-admin-piast" 1s 905ms
When Go to "TRANSPORT_TABLE" 404ms
And Show all transport types 1s 159ms
And Verify that transport has "0" files 079ms
Then Add file to transport by API 1s 444ms
And Verify that transport has "1" files 1s 698ms
After Hooks.deleteTransportAfterTest() 504ms
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 833ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 488ms
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.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 396ms
And Create transport "CREATE_CONTAINER" by JSON file as "super-admin-keeeper" 1s 937ms
When Go to "TRANSPORT_TABLE" 406ms
And Show all transport types 1s 153ms
And Verify that transport has "0" files 092ms
Then Add file to transport by API 1s 332ms
And Verify that transport has "1" files 287ms
After Hooks.deleteTransportAfterTest() 486ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 478ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 1s 944ms
And Delete transport 18s 366ms
When Go to "ARCHIVE_TAB" 582ms
And Show "DELIVERY" 156ms
And Verify that transport has "0" files 6s 664ms
Then Add file to transport 457ms
And Verify that transport has "1" files 1s 942ms
After Hooks.deleteTransportAfterTest() 655ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 981ms
And Create transport "CREATE_LOAD_FRONT" by JSON file as "super-admin-piast" 1s 894ms
And Delete transport 18s 590ms
When Go to "ARCHIVE_TAB" 520ms
And Show "LOAD" 197ms
And Verify that transport has "0" files 7s 132ms
Then Add file to transport 437ms
And Verify that transport has "1" files 2s 045ms
After Hooks.deleteTransportAfterTest() 589ms
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 088ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 474ms
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.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 473ms
And Create transport "CREATE_CONTAINER" by JSON file as "super-admin-keeeper" 1s 938ms
And Delete transport 18s 272ms
When Go to "ARCHIVE_TAB" 497ms
And Show "CONTAINER" 171ms
And Verify that transport has "0" files 6s 933ms
Then Add file to transport 445ms
And Verify that transport has "1" files 1s 760ms
After Hooks.deleteTransportAfterTest() 590ms
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" 278ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 15s 901ms
And Transfer transport to carrier by JSON file "super-admin-adama" "true" confirmation 558ms
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() 671ms
Given Login as "paa1-carrier@qa.qa-test" and set token of apiUsername "super-admin-adama" 2s 765ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 226ms
And Transfer transport to carrier by JSON file "super-admin-adama" "false" confirmation 818ms
Then Verify that "large_entrepreneur_declaration" document can be downloaded 18s 610ms
After Hooks.deleteTransportAfterTest() 524ms
Given Set token of apiUsername "super-admin-adama" 289ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 084ms
And Set transport on auction with "500" and "1500" by JSON file as "super-admin-adama" 2s 828ms
And Add a bid "500" to an auction by JSON file as "paa1-carrier@qa.qa-test" for "super-admin-adama" 1s 526ms
And Login as "paa1-carrier@qa.qa-test" 2s 377ms
Then Verify that "large_entrepreneur_declaration" document can be downloaded 17s 895ms
After Hooks.deleteTransportAfterTest() 526ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 2s 552ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-alrec" 2s 225ms
When Go to "TRANSPORT_TABLE" 394ms
And Show all transport "true" 432ms
Then Verify that transport has "1" CMR file 1s 612ms
After Hooks.deleteTransportAfterTest() 550ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 2s 384ms
And Create transport "CREATE_TRANSPORT_TWO_UNLOAD_STEPS" by JSON file as "super-admin-alrec" 2s 355ms
When Go to "TRANSPORT_TABLE" 390ms
And Show all transport "true" 330ms
Then Verify that transport has "2" CMR file 1s 619ms
After Hooks.deleteTransportAfterTest() 549ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 2s 374ms
And Create transport "CREATE_TRANSPORT_TWO_UNLOAD_STEPS" by JSON file as "super-admin-alrec" 2s 319ms
When Go to "TRANSPORT_TABLE" 406ms
And Show all transport "true" 329ms
Then Verify that "CMR" document can be downloaded 18s 093ms
After Hooks.deleteTransportAfterTest() 518ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 2s 680ms
And Create transport "CREATE_TRANSPORT_TWO_UNLOAD_STEPS" by JSON file as "super-admin-alrec" 2s 325ms
And Show all transport "true" 321ms
And Delete transport 19s 620ms
When Go to "ARCHIVE_TAB" 523ms
And Show "TRANSPORT_ORDER" 135ms
Then Verify that "CMR" document can be downloaded 22s 557ms
After Hooks.deleteTransportAfterTest() 589ms
Given Login as "pba1-carrier" and set token of apiUsername "super-admin-bausch" 5s 946ms
And Create default accepted mode of transportation by API with "pba1-carrier" 2s 090ms
And If user is login then logout 241ms
And Login as "bausch-admin" and set token of apiUsername "super-admin-bausch" 2s 732ms
And Create transport "CREATE_LOAD_PL" by JSON file as "super-admin-bausch" 2s 128ms
And Transfer transport to carrier by JSON file "super-admin-bausch" "false" confirmation 812ms
And Set "advice" inputs from JSON file "ADVICE_LOAD" "super-admin-bausch" 001ms
And Click button advice in transport table "LOAD_PL" 787ms
And Set advice window in schedule 3s 734ms
And Fill advice form 11s 548ms
And Click advice save button and wait for advice form to disappear 33s 275ms
And Find transport in table with status "advice-added" 3s 798ms
When Confirm statuses until reach "on-the-way" 13s 765ms
Then Verify that "delivery_document" document can be downloaded 17s 223ms
After Hooks.deleteTransportAfterTest() 786ms
After Hooks.deleteModeOfTransportationAfterTest() 386ms