Project Number Date
ApolloFullRunnerReport master.420 12 maj 2021, 06:42

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 20s 814ms Failed
Feature Transport files
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 244ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 1s 184ms
When Go to "TRANSPORT_TABLE" 144ms
And Show all transport types 1s 037ms
And Verify that transport has "0" files 040ms
Then Add file to transport by API 402ms
And Verify that transport has "1" files 592ms
After Hooks.deleteTransportAfterTest() 064ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 082ms
And Create transport "CREATE_LOAD_FRONT" by JSON file as "super-admin-piast" 1s 198ms
When Go to "TRANSPORT_TABLE" 127ms
And Show all transport types 1s 041ms
And Verify that transport has "0" files 043ms
Then Add file to transport by API 252ms
And Verify that transport has "1" files 477ms
After Hooks.deleteTransportAfterTest() 060ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 277ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 404ms
When Go to "TRANSPORT_TABLE" 118ms
And Show all transport types 1s 035ms
And Verify that transport has "0" files 035ms
Then Add file to transport by API 256ms
And Verify that transport has "1" files 311ms
After Hooks.deleteTransportAfterTest() 079ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 037ms
And Create transport "CREATE_CONTAINER" by JSON file as "super-admin-keeeper" 1s 192ms
When Go to "TRANSPORT_TABLE" 130ms
And Show all transport types 1s 040ms
And Verify that transport has "0" files 038ms
Then Add file to transport by API 218ms
And Verify that transport has "1" files 887ms
After Hooks.deleteTransportAfterTest() 063ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 131ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 1s 171ms
And Delete transport 17s 676ms
When Go to "ARCHIVE_TAB" 279ms
And Show "DELIVERY" 073ms
And Verify that transport has "0" files 659ms
Then Add file to transport 174ms
And Verify that transport has "1" files 443ms
After Hooks.deleteTransportAfterTest() 069ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 222ms
And Create transport "CREATE_LOAD_FRONT" by JSON file as "super-admin-piast" 1s 194ms
And Delete transport 17s 296ms
When Go to "ARCHIVE_TAB" 183ms
And Show "LOAD" 093ms
And Verify that transport has "0" files 1s 092ms
Then Add file to transport 149ms
And Verify that transport has "1" files 369ms
After Hooks.deleteTransportAfterTest() 059ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 446ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 381ms
And Delete transport 17s 863ms
When Go to "ARCHIVE_TAB" 270ms
And Show "DELIVERY" 049ms
And Verify that transport has "0" files 918ms
Then Add file to transport 162ms
And Verify that transport has "1" files 384ms
After Hooks.deleteTransportAfterTest() 095ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 136ms
And Create transport "CREATE_CONTAINER" by JSON file as "super-admin-keeeper" 1s 194ms
And Delete transport 17s 588ms
When Go to "ARCHIVE_TAB" 250ms
And Show "CONTAINER" 080ms
And Verify that transport has "0" files 983ms
Then Add file to transport 131ms
And Verify that transport has "1" files 335ms
After Hooks.deleteTransportAfterTest() 061ms
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" 116ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 15s 167ms
And Transfer transport to carrier by JSON file "super-admin-adama" "true" confirmation 118ms
And Set token of apiUsername "paa1-carrier@qa.qa-test" 114ms
And Accept transferred transport by Api 157ms
And Login as "paa1-carrier@qa.qa-test" 1s 287ms
Then Verify that "large_entrepreneur_declaration" document can be downloaded 16s 019ms
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() 019ms
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 351ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 1s 214ms
And Transfer transport to carrier by JSON file "super-admin-adama" "false" confirmation 106ms
Then Verify that "large_entrepreneur_declaration" document can be downloaded 15s 498ms
After Hooks.deleteTransportAfterTest() 069ms
Given Set token of apiUsername "super-admin-adama" 119ms
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 172ms
And Add a bid "500" to an auction by JSON file as "paa1-carrier@qa.qa-test" for "super-admin-adama" 338ms
And Login as "paa1-carrier@qa.qa-test" 1s 228ms
Then Verify that "large_entrepreneur_declaration" document can be downloaded 16s 067ms
After Hooks.deleteTransportAfterTest() 085ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 1s 183ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-alrec" 1s 224ms
When Go to "TRANSPORT_TABLE" 129ms
And Show all transport "true" 068ms
Then Verify that transport has "1" CMR file 1s 183ms
After Hooks.deleteTransportAfterTest() 081ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 1s 092ms
And Create transport "CREATE_TRANSPORT_TWO_UNLOAD_STEPS" by JSON file as "super-admin-alrec" 1s 248ms
When Go to "TRANSPORT_TABLE" 114ms
And Show all transport "true" 054ms
Then Verify that transport has "2" CMR file 1s 182ms
After Hooks.deleteTransportAfterTest() 080ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 1s 047ms
And Create transport "CREATE_TRANSPORT_TWO_UNLOAD_STEPS" by JSON file as "super-admin-alrec" 1s 273ms
When Go to "TRANSPORT_TABLE" 104ms
And Show all transport "true" 060ms
Then Verify that "CMR" document can be downloaded 17s 429ms
After Hooks.deleteTransportAfterTest() 078ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 1s 175ms
And Create transport "CREATE_TRANSPORT_TWO_UNLOAD_STEPS" by JSON file as "super-admin-alrec" 1s 258ms
And Show all transport "true" 082ms
And Delete transport 17s 171ms
When Go to "ARCHIVE_TAB" 227ms
And Show "TRANSPORT_ORDER" 062ms
Then Verify that "CMR" document can be downloaded 16s 848ms
After Hooks.deleteTransportAfterTest() 063ms
Given Login as "pba1-carrier" and set token of apiUsername "super-admin-bausch" 1s 949ms
And Create default accepted mode of transportation by API with "pba1-carrier" 384ms
And If user is login then logout 099ms
And Login as "bausch-admin" and set token of apiUsername "super-admin-bausch" 1s 428ms
And Create transport "CREATE_LOAD_PL" by JSON file as "super-admin-bausch" 1s 250ms
And Transfer transport to carrier by JSON file "super-admin-bausch" "false" confirmation 157ms
And Set "advice" inputs from JSON file "ADVICE_LOAD" "super-admin-bausch" 010ms
And Click button advice in transport table "LOAD_PL" 1s 798ms
And Set advice window in schedule 2s 861ms
And Fill advice form 9s 187ms
And Click advice save button and wait for advice form to disappear 30s 861ms
And Find transport in table with status "advice-added" 3s 351ms
When Confirm statuses until reach "on-the-way" 9s 300ms
Then Verify that "delivery_document" document can be downloaded 16s 423ms
After Hooks.deleteTransportAfterTest() 108ms
After Hooks.deleteModeOfTransportationAfterTest() 077ms