Project Number Date
ApolloFullRunnerReport develop.380 15 kwi 2021, 01:04

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Transport files 112 1 0 0 0 113 15 1 16 5m 9s 213ms Failed
Feature Transport files
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 293ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 1s 200ms
When Go to "TRANSPORT_TABLE" 131ms
And Show all transport types 1s 041ms
And Verify that transport has "0" files 038ms
Then Add file to transport by API 460ms
And Verify that transport has "1" files 554ms
After Hooks.deleteTransportAfterTest() 059ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 095ms
And Create transport "CREATE_LOAD_FRONT" by JSON file as "super-admin-piast" 1s 196ms
When Go to "TRANSPORT_TABLE" 133ms
And Show all transport types 1s 045ms
And Verify that transport has "0" files 039ms
Then Add file to transport by API 229ms
And Verify that transport has "1" files 506ms
After Hooks.deleteTransportAfterTest() 079ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 354ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 458ms
When Go to "TRANSPORT_TABLE" 135ms
And Show all transport types 1s 044ms
And Verify that transport has "0" files 040ms
Then Add file to transport by API 219ms
And Verify that transport has "1" files 3s 122ms
After Hooks.deleteTransportAfterTest() 092ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 029ms
And Create transport "CREATE_CONTAINER" by JSON file as "super-admin-keeeper" 1s 190ms
When Go to "TRANSPORT_TABLE" 154ms
And Show all transport types 1s 037ms
And Verify that transport has "0" files 039ms
Then Add file to transport by API 249ms
And Verify that transport has "1" files 868ms
After Hooks.deleteTransportAfterTest() 080ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 109ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 1s 184ms
And Delete transport 2s 175ms
When Go to "ARCHIVE_TAB" 208ms
And Show "DELIVERY" 053ms
And Verify that transport has "0" files 669ms
Then Add file to transport 150ms
And Verify that transport has "1" files 323ms
After Hooks.deleteTransportAfterTest() 057ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 073ms
And Create transport "CREATE_LOAD_FRONT" by JSON file as "super-admin-piast" 1s 165ms
And Delete transport 17s 291ms
When Go to "ARCHIVE_TAB" 253ms
And Show "LOAD" 091ms
And Verify that transport has "0" files 1s 164ms
Then Add file to transport 174ms
And Verify that transport has "1" files 356ms
After Hooks.deleteTransportAfterTest() 048ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 372ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 419ms
And Delete transport 17s 931ms
When Go to "ARCHIVE_TAB" 255ms
And Show "DELIVERY" 054ms
And Verify that transport has "0" files 889ms
Then Add file to transport 161ms
And Verify that transport has "1" files 355ms
After Hooks.deleteTransportAfterTest() 086ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 182ms
And Create transport "CREATE_CONTAINER" by JSON file as "super-admin-keeeper" 1s 205ms
And Delete transport 17s 539ms
When Go to "ARCHIVE_TAB" 234ms
And Show "CONTAINER" 071ms
And Verify that transport has "0" files 994ms
Then Add file to transport 142ms
And Verify that transport has "1" files 403ms
After Hooks.deleteTransportAfterTest() 068ms
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" 112ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 15s 216ms
And Transfer transport to carrier by JSON file "super-admin-adama" "true" confirmation 116ms
And Set token of apiUsername "paa1-carrier@qa.qa-test" 112ms
And Accept transferred transport by Api 183ms
And Login as "paa1-carrier@qa.qa-test" 1s 088ms
Then Verify that "large_entrepreneur_declaration" document can be downloaded 15s 599ms
java.lang.AssertionError: 1 expectation failed.
Expected status code <200> but was <401>.

	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.get(RequestSpecificationImpl.groovy:171)
	at io.restassured.internal.RequestSpecificationImpl.get(RequestSpecificationImpl.groovy)
	at Utils.RestUtils.RestUtil.getFileFromApolloApi(RestUtil.java:176)
	at Utils.FileUtil.checkIfFileExist(FileUtil.java:44)
	at Utils.FileUtil.downloadFile(FileUtil.java:73)
	at CucumberTests.Transport.TransportFile.verifyThatDocumentCanBeDownloaded(TransportFile.java:88)
	at ✽.Verify that "large_entrepreneur_declaration" document can be downloaded(file:Features/Atom/Transport/File.feature:44)
Hooks
After Hooks.deleteTransportAfterTest() 009ms
java.lang.AssertionError: 1 expectation failed.
Expected status code <200> but was <401>.

	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.put(RequestSpecificationImpl.groovy:179)
	at io.restassured.internal.RequestSpecificationImpl.put(RequestSpecificationImpl.groovy)
	at Utils.RestUtils.RestUtil.putResponse(RestUtil.java:163)
	at Utils.RestUtils.RestUtil.putToApolloApi(RestUtil.java:76)
	at CucumberTests.Hooks.deleteTransportAfterTest(Hooks.java:175)
	at sun.reflect.GeneratedMethodAccessor207.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at cucumber.runtime.Utils$1.call(Utils.java:26)
	at cucumber.runtime.Timeout.timeout(Timeout.java:16)
	at cucumber.runtime.Utils.invoke(Utils.java:20)
	at cucumber.runtime.java.JavaHookDefinition.execute(JavaHookDefinition.java:60)
	at cucumber.runner.HookDefinitionMatch.runStep(HookDefinitionMatch.java:16)
	at cucumber.runner.TestStep.executeStep(TestStep.java:63)
	at cucumber.runner.TestStep.run(TestStep.java:49)
	at cucumber.runner.TestCase.run(TestCase.java:49)
	at cucumber.runner.Runner.runPickle(Runner.java:40)
	at cucumber.runtime.junit.PickleRunners$WithStepDescriptions.run(PickleRunners.java:97)
	at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:68)
	at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:23)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
	at cucumber.runtime.junit.FeatureRunner.run(FeatureRunner.java:73)
	at cucumber.api.junit.Cucumber.runChild(Cucumber.java:122)
	at cucumber.api.junit.Cucumber.runChild(Cucumber.java:64)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
	at cucumber.api.junit.Cucumber$1.evaluate(Cucumber.java:131)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:367)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:274)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:161)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
Given Login as "paa1-carrier@qa.qa-test" and set token of apiUsername "super-admin-adama" 1s 182ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 1s 210ms
And Transfer transport to carrier by JSON file "super-admin-adama" "false" confirmation 116ms
Then Verify that "large_entrepreneur_declaration" document can be downloaded 16s 036ms
After Hooks.deleteTransportAfterTest() 073ms
Given Set token of apiUsername "super-admin-adama" 102ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 1s 211ms
And Set transport on auction with "500" and "1500" by JSON file as "super-admin-adama" 2s 142ms
And Add a bid "500" to an auction by JSON file as "paa1-carrier@qa.qa-test" for "super-admin-adama" 350ms
And Login as "paa1-carrier@qa.qa-test" 1s 074ms
Then Verify that "large_entrepreneur_declaration" document can be downloaded 16s 137ms
After Hooks.deleteTransportAfterTest() 081ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 1s 234ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-alrec" 1s 280ms
When Go to "TRANSPORT_TABLE" 154ms
And Show all transport "true" 058ms
Then Verify that transport has "1" CMR file 1s 196ms
After Hooks.deleteTransportAfterTest() 072ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 1s 131ms
And Create transport "CREATE_TRANSPORT_TWO_UNLOAD_STEPS" by JSON file as "super-admin-alrec" 1s 261ms
When Go to "TRANSPORT_TABLE" 123ms
And Show all transport "true" 073ms
Then Verify that transport has "2" CMR file 1s 194ms
After Hooks.deleteTransportAfterTest() 073ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 1s 076ms
And Create transport "CREATE_TRANSPORT_TWO_UNLOAD_STEPS" by JSON file as "super-admin-alrec" 1s 267ms
When Go to "TRANSPORT_TABLE" 138ms
And Show all transport "true" 068ms
Then Verify that "CMR" document can be downloaded 17s 490ms
After Hooks.deleteTransportAfterTest() 101ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 1s 065ms
And Create transport "CREATE_TRANSPORT_TWO_UNLOAD_STEPS" by JSON file as "super-admin-alrec" 1s 263ms
And Show all transport "true" 087ms
And Delete transport 17s 148ms
When Go to "ARCHIVE_TAB" 264ms
And Show "TRANSPORT_ORDER" 056ms
Then Verify that "CMR" document can be downloaded 16s 823ms
After Hooks.deleteTransportAfterTest() 065ms
Given Login as "pba1-carrier" and set token of apiUsername "super-admin-bausch" 2s 563ms
And Create default accepted mode of transportation by API with "pba1-carrier" 468ms
And If user is login then logout 234ms
And Login as "bausch-admin" and set token of apiUsername "super-admin-bausch" 1s 214ms
And Create transport "CREATE_LOAD_PL" by JSON file as "super-admin-bausch" 1s 258ms
And Transfer transport to carrier by JSON file "super-admin-bausch" "false" confirmation 097ms
And Set "advice" inputs from JSON file "ADVICE_LOAD" "super-admin-bausch" 009ms
And Click button advice in transport table "LOAD_PL" 1s 835ms
And Set advice window in schedule 2s 937ms
And Fill advice form 9s 270ms
And Click advice save button and wait for advice form to disappear 31s 266ms
And Find transport in table with status "advice-added" 3s 343ms
When Confirm statuses until reach "on-the-way" 9s 358ms
Then Verify that "delivery_document" document can be downloaded 16s 327ms
After Hooks.deleteTransportAfterTest() 123ms
After Hooks.deleteModeOfTransportationAfterTest() 070ms