Project Number Date
ApolloFullRunnerReport master.392 22 kwi 2021, 22:07

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 4s 452ms Failed
Feature Transport files
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 202ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 1s 177ms
When Go to "TRANSPORT_TABLE" 151ms
And Show all transport types 1s 024ms
And Verify that transport has "0" files 037ms
Then Add file to transport by API 501ms
And Verify that transport has "1" files 534ms
After Hooks.deleteTransportAfterTest() 061ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 028ms
And Create transport "CREATE_LOAD_FRONT" by JSON file as "super-admin-piast" 1s 171ms
When Go to "TRANSPORT_TABLE" 111ms
And Show all transport types 1s 042ms
And Verify that transport has "0" files 038ms
Then Add file to transport by API 238ms
And Verify that transport has "1" files 538ms
After Hooks.deleteTransportAfterTest() 069ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 336ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 460ms
When Go to "TRANSPORT_TABLE" 131ms
And Show all transport types 1s 040ms
And Verify that transport has "0" files 035ms
Then Add file to transport by API 219ms
And Verify that transport has "1" files 266ms
After Hooks.deleteTransportAfterTest() 090ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 063ms
And Create transport "CREATE_CONTAINER" by JSON file as "super-admin-keeeper" 1s 184ms
When Go to "TRANSPORT_TABLE" 127ms
And Show all transport types 1s 038ms
And Verify that transport has "0" files 033ms
Then Add file to transport by API 214ms
And Verify that transport has "1" files 943ms
After Hooks.deleteTransportAfterTest() 063ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 098ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 1s 177ms
And Delete transport 2s 172ms
When Go to "ARCHIVE_TAB" 202ms
And Show "DELIVERY" 052ms
And Verify that transport has "0" files 733ms
Then Add file to transport 146ms
And Verify that transport has "1" files 356ms
After Hooks.deleteTransportAfterTest() 059ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 143ms
And Create transport "CREATE_LOAD_FRONT" by JSON file as "super-admin-piast" 1s 190ms
And Delete transport 17s 258ms
When Go to "ARCHIVE_TAB" 236ms
And Show "LOAD" 085ms
And Verify that transport has "0" files 1s 127ms
Then Add file to transport 145ms
And Verify that transport has "1" files 330ms
After Hooks.deleteTransportAfterTest() 069ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 586ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 487ms
And Delete transport 17s 877ms
When Go to "ARCHIVE_TAB" 248ms
And Show "DELIVERY" 060ms
And Verify that transport has "0" files 874ms
Then Add file to transport 142ms
And Verify that transport has "1" files 384ms
After Hooks.deleteTransportAfterTest() 085ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 161ms
And Create transport "CREATE_CONTAINER" by JSON file as "super-admin-keeeper" 1s 195ms
And Delete transport 17s 577ms
When Go to "ARCHIVE_TAB" 238ms
And Show "CONTAINER" 077ms
And Verify that transport has "0" files 1s 012ms
Then Add file to transport 138ms
And Verify that transport has "1" files 374ms
After Hooks.deleteTransportAfterTest() 064ms
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" 101ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 15s 208ms
And Transfer transport to carrier by JSON file "super-admin-adama" "true" confirmation 111ms
And Set token of apiUsername "paa1-carrier@qa.qa-test" 107ms
And Accept transferred transport by Api 166ms
And Login as "paa1-carrier@qa.qa-test" 1s 061ms
Then Verify that "large_entrepreneur_declaration" document can be downloaded 15s 607ms
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() 005ms
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:169)
	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 032ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 1s 219ms
And Transfer transport to carrier by JSON file "super-admin-adama" "false" confirmation 090ms
Then Verify that "large_entrepreneur_declaration" document can be downloaded 15s 931ms
After Hooks.deleteTransportAfterTest() 088ms
Given Set token of apiUsername "super-admin-adama" 102ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 1s 200ms
And Set transport on auction with "500" and "1500" by JSON file as "super-admin-adama" 2s 190ms
And Add a bid "500" to an auction by JSON file as "paa1-carrier@qa.qa-test" for "super-admin-adama" 343ms
And Login as "paa1-carrier@qa.qa-test" 1s 044ms
Then Verify that "large_entrepreneur_declaration" document can be downloaded 16s 107ms
After Hooks.deleteTransportAfterTest() 081ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 1s 212ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-alrec" 1s 238ms
When Go to "TRANSPORT_TABLE" 134ms
And Show all transport "true" 071ms
Then Verify that transport has "1" CMR file 1s 169ms
After Hooks.deleteTransportAfterTest() 108ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 1s 049ms
And Create transport "CREATE_TRANSPORT_TWO_UNLOAD_STEPS" by JSON file as "super-admin-alrec" 1s 255ms
When Go to "TRANSPORT_TABLE" 125ms
And Show all transport "true" 071ms
Then Verify that transport has "2" CMR file 1s 171ms
After Hooks.deleteTransportAfterTest() 070ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 1s 097ms
And Create transport "CREATE_TRANSPORT_TWO_UNLOAD_STEPS" by JSON file as "super-admin-alrec" 1s 264ms
When Go to "TRANSPORT_TABLE" 128ms
And Show all transport "true" 066ms
Then Verify that "CMR" document can be downloaded 16s 942ms
After Hooks.deleteTransportAfterTest() 072ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 1s 110ms
And Create transport "CREATE_TRANSPORT_TWO_UNLOAD_STEPS" by JSON file as "super-admin-alrec" 1s 283ms
And Show all transport "true" 079ms
And Delete transport 17s 164ms
When Go to "ARCHIVE_TAB" 231ms
And Show "TRANSPORT_ORDER" 053ms
Then Verify that "CMR" document can be downloaded 16s 903ms
After Hooks.deleteTransportAfterTest() 053ms
Given Login as "pba1-carrier" and set token of apiUsername "super-admin-bausch" 2s 529ms
And Create default accepted mode of transportation by API with "pba1-carrier" 390ms
And If user is login then logout 101ms
And Login as "bausch-admin" and set token of apiUsername "super-admin-bausch" 1s 286ms
And Create transport "CREATE_LOAD_PL" by JSON file as "super-admin-bausch" 1s 288ms
And Transfer transport to carrier by JSON file "super-admin-bausch" "false" confirmation 124ms
And Set "advice" inputs from JSON file "ADVICE_LOAD" "super-admin-bausch" 009ms
And Click button advice in transport table "LOAD_PL" 1s 750ms
And Set advice window in schedule 2s 840ms
And Fill advice form 9s 134ms
And Click advice save button and wait for advice form to disappear 30s 808ms
And Find transport in table with status "advice-added" 3s 330ms
When Confirm statuses until reach "on-the-way" 9s 307ms
Then Verify that "delivery_document" document can be downloaded 16s 307ms
After Hooks.deleteTransportAfterTest() 102ms
After Hooks.deleteModeOfTransportationAfterTest() 062ms