Project Number Date
ApolloFullRunnerReport kapibary.39 14 cze 2021, 04:16

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 5m 1s 009ms Failed
Feature Transport files
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 687ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 2s 154ms
When Go to "TRANSPORT_TABLE" 426ms
And Show all transport types 1s 153ms
And Verify that transport has "0" files 062ms
Then Add file to transport by API 1s 819ms
And Verify that transport has "1" files 2s 382ms
After Hooks.deleteTransportAfterTest() 605ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 405ms
And Create transport "CREATE_LOAD_FRONT" by JSON file as "super-admin-piast" 2s 038ms
When Go to "TRANSPORT_TABLE" 416ms
And Show all transport types 1s 156ms
And Verify that transport has "0" files 163ms
Then Add file to transport by API 1s 703ms
And Verify that transport has "1" files 1s 475ms
After Hooks.deleteTransportAfterTest() 554ms
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 738ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 527ms
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 343ms
And Create transport "CREATE_CONTAINER" by JSON file as "super-admin-keeeper" 1s 953ms
When Go to "TRANSPORT_TABLE" 413ms
And Show all transport types 1s 160ms
And Verify that transport has "0" files 096ms
Then Add file to transport by API 1s 237ms
And Verify that transport has "1" files 339ms
After Hooks.deleteTransportAfterTest() 505ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 449ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 1s 983ms
And Delete transport 17s 977ms
When Go to "ARCHIVE_TAB" 476ms
And Show "DELIVERY" 151ms
And Verify that transport has "0" files 6s 852ms
Then Add file to transport 431ms
And Verify that transport has "1" files 1s 695ms
After Hooks.deleteTransportAfterTest() 603ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 621ms
And Create transport "CREATE_LOAD_FRONT" by JSON file as "super-admin-piast" 1s 997ms
And Delete transport 20s 118ms
When Go to "ARCHIVE_TAB" 469ms
And Show "LOAD" 185ms
And Verify that transport has "0" files 7s 869ms
Then Add file to transport 413ms
And Verify that transport has "1" files 1s 380ms
After Hooks.deleteTransportAfterTest() 606ms
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" 2s 827ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 528ms
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 382ms
And Create transport "CREATE_CONTAINER" by JSON file as "super-admin-keeeper" 1s 961ms
And Delete transport 18s 329ms
When Go to "ARCHIVE_TAB" 470ms
And Show "CONTAINER" 157ms
And Verify that transport has "0" files 6s 881ms
Then Add file to transport 430ms
And Verify that transport has "1" files 1s 493ms
After Hooks.deleteTransportAfterTest() 538ms
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" 271ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 15s 982ms
And Transfer transport to carrier by JSON file "super-admin-adama" "true" confirmation 656ms
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() 770ms
Given Login as "paa1-carrier@qa.qa-test" and set token of apiUsername "super-admin-adama" 2s 634ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 220ms
And Transfer transport to carrier by JSON file "super-admin-adama" "false" confirmation 836ms
Then Verify that "large_entrepreneur_declaration" document can be downloaded 18s 148ms
After Hooks.deleteTransportAfterTest() 620ms
Given Set token of apiUsername "super-admin-adama" 243ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 149ms
And Set transport on auction with "500" and "1500" by JSON file as "super-admin-adama" 2s 817ms
And Add a bid "500" to an auction by JSON file as "paa1-carrier@qa.qa-test" for "super-admin-adama" 1s 519ms
And Login as "paa1-carrier@qa.qa-test" 2s 197ms
Then Verify that "large_entrepreneur_declaration" document can be downloaded 17s 641ms
After Hooks.deleteTransportAfterTest() 582ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 2s 659ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-alrec" 2s 329ms
When Go to "TRANSPORT_TABLE" 412ms
And Show all transport "true" 372ms
Then Verify that transport has "1" CMR file 1s 556ms
After Hooks.deleteTransportAfterTest() 616ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 2s 345ms
And Create transport "CREATE_TRANSPORT_TWO_UNLOAD_STEPS" by JSON file as "super-admin-alrec" 2s 457ms
When Go to "TRANSPORT_TABLE" 407ms
And Show all transport "true" 295ms
Then Verify that transport has "2" CMR file 1s 588ms
After Hooks.deleteTransportAfterTest() 652ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 2s 160ms
And Create transport "CREATE_TRANSPORT_TWO_UNLOAD_STEPS" by JSON file as "super-admin-alrec" 2s 287ms
When Go to "TRANSPORT_TABLE" 310ms
And Show all transport "true" 274ms
Then Verify that "CMR" document can be downloaded 18s 110ms
After Hooks.deleteTransportAfterTest() 599ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 2s 448ms
And Create transport "CREATE_TRANSPORT_TWO_UNLOAD_STEPS" by JSON file as "super-admin-alrec" 2s 262ms
And Show all transport "true" 278ms
And Delete transport 19s 418ms
When Go to "ARCHIVE_TAB" 511ms
And Show "TRANSPORT_ORDER" 148ms
Then Verify that "CMR" document can be downloaded 23s 973ms
After Hooks.deleteTransportAfterTest() 560ms
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 553ms
And Create default accepted mode of transportation by API with "pba1-carrier" 2s 072ms
And If user is login then logout 277ms
And Login as "bausch-admin" and set token of apiUsername "super-admin-bausch" 5s 487ms
And Create transport "CREATE_LOAD_PL" by JSON file as "super-admin-bausch" 291ms
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() 325ms