Project Number Date
ApolloFullRunnerReport develop.379 14 kwi 2021, 05:23

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 21s 097ms Failed
Feature Transport files
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 218ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 1s 198ms
When Go to "TRANSPORT_TABLE" 111ms
And Show all transport types 1s 034ms
And Verify that transport has "0" files 038ms
Then Add file to transport by API 424ms
And Verify that transport has "1" files 619ms
After Hooks.deleteTransportAfterTest() 065ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 109ms
And Create transport "CREATE_LOAD_FRONT" by JSON file as "super-admin-piast" 1s 175ms
When Go to "TRANSPORT_TABLE" 138ms
And Show all transport types 1s 040ms
And Verify that transport has "0" files 039ms
Then Add file to transport by API 199ms
And Verify that transport has "1" files 569ms
After Hooks.deleteTransportAfterTest() 075ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 351ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 442ms
When Go to "TRANSPORT_TABLE" 141ms
And Show all transport types 1s 046ms
And Verify that transport has "0" files 041ms
Then Add file to transport by API 228ms
And Verify that transport has "1" files 276ms
After Hooks.deleteTransportAfterTest() 101ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 084ms
And Create transport "CREATE_CONTAINER" by JSON file as "super-admin-keeeper" 1s 201ms
When Go to "TRANSPORT_TABLE" 125ms
And Show all transport types 1s 047ms
And Verify that transport has "0" files 044ms
Then Add file to transport by API 206ms
And Verify that transport has "1" files 912ms
After Hooks.deleteTransportAfterTest() 067ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 083ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 1s 193ms
And Delete transport 17s 735ms
When Go to "ARCHIVE_TAB" 228ms
And Show "DELIVERY" 076ms
And Verify that transport has "0" files 604ms
Then Add file to transport 161ms
And Verify that transport has "1" files 397ms
After Hooks.deleteTransportAfterTest() 077ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 130ms
And Create transport "CREATE_LOAD_FRONT" by JSON file as "super-admin-piast" 1s 173ms
And Delete transport 17s 340ms
When Go to "ARCHIVE_TAB" 244ms
And Show "LOAD" 219ms
And Verify that transport has "0" files 1s 058ms
Then Add file to transport 163ms
And Verify that transport has "1" files 353ms
After Hooks.deleteTransportAfterTest() 060ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 421ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 385ms
And Delete transport 17s 921ms
When Go to "ARCHIVE_TAB" 231ms
And Show "DELIVERY" 077ms
And Verify that transport has "0" files 879ms
Then Add file to transport 149ms
And Verify that transport has "1" files 423ms
After Hooks.deleteTransportAfterTest() 081ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 138ms
And Create transport "CREATE_CONTAINER" by JSON file as "super-admin-keeeper" 1s 215ms
And Delete transport 17s 602ms
When Go to "ARCHIVE_TAB" 259ms
And Show "CONTAINER" 087ms
And Verify that transport has "0" files 983ms
Then Add file to transport 167ms
And Verify that transport has "1" files 333ms
After Hooks.deleteTransportAfterTest() 063ms
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" 108ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 15s 197ms
And Transfer transport to carrier by JSON file "super-admin-adama" "true" confirmation 124ms
And Set token of apiUsername "paa1-carrier@qa.qa-test" 105ms
And Accept transferred transport by Api 165ms
And Login as "paa1-carrier@qa.qa-test" 996ms
Then Verify that "large_entrepreneur_declaration" document can be downloaded 15s 617ms
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() 008ms
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 219ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 1s 237ms
And Transfer transport to carrier by JSON file "super-admin-adama" "false" confirmation 111ms
Then Verify that "large_entrepreneur_declaration" document can be downloaded 16s 010ms
After Hooks.deleteTransportAfterTest() 065ms
Given Set token of apiUsername "super-admin-adama" 102ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 1s 198ms
And Set transport on auction with "500" and "1500" by JSON file as "super-admin-adama" 2s 161ms
And Add a bid "500" to an auction by JSON file as "paa1-carrier@qa.qa-test" for "super-admin-adama" 309ms
And Login as "paa1-carrier@qa.qa-test" 964ms
Then Verify that "large_entrepreneur_declaration" document can be downloaded 16s 180ms
After Hooks.deleteTransportAfterTest() 077ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 1s 199ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-alrec" 1s 246ms
When Go to "TRANSPORT_TABLE" 122ms
And Show all transport "true" 075ms
Then Verify that transport has "1" CMR file 1s 194ms
After Hooks.deleteTransportAfterTest() 075ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 1s 019ms
And Create transport "CREATE_TRANSPORT_TWO_UNLOAD_STEPS" by JSON file as "super-admin-alrec" 1s 266ms
When Go to "TRANSPORT_TABLE" 133ms
And Show all transport "true" 069ms
Then Verify that transport has "2" CMR file 1s 193ms
After Hooks.deleteTransportAfterTest() 079ms
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 256ms
When Go to "TRANSPORT_TABLE" 137ms
And Show all transport "true" 076ms
Then Verify that "CMR" document can be downloaded 17s 378ms
After Hooks.deleteTransportAfterTest() 080ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 1s 154ms
And Create transport "CREATE_TRANSPORT_TWO_UNLOAD_STEPS" by JSON file as "super-admin-alrec" 1s 285ms
And Show all transport "true" 071ms
And Delete transport 17s 195ms
When Go to "ARCHIVE_TAB" 228ms
And Show "TRANSPORT_ORDER" 052ms
Then Verify that "CMR" document can be downloaded 16s 685ms
After Hooks.deleteTransportAfterTest() 069ms
Given Login as "pba1-carrier" and set token of apiUsername "super-admin-bausch" 2s 656ms
And Create default accepted mode of transportation by API with "pba1-carrier" 445ms
And If user is login then logout 095ms
And Login as "bausch-admin" and set token of apiUsername "super-admin-bausch" 1s 377ms
And Create transport "CREATE_LOAD_PL" by JSON file as "super-admin-bausch" 1s 259ms
And Transfer transport to carrier by JSON file "super-admin-bausch" "false" confirmation 116ms
And Set "advice" inputs from JSON file "ADVICE_LOAD" "super-admin-bausch" 009ms
And Click button advice in transport table "LOAD_PL" 1s 842ms
And Set advice window in schedule 2s 809ms
And Fill advice form 9s 221ms
And Click advice save button and wait for advice form to disappear 30s 879ms
And Find transport in table with status "advice-added" 3s 327ms
When Confirm statuses until reach "on-the-way" 9s 334ms
Then Verify that "delivery_document" document can be downloaded 16s 305ms
After Hooks.deleteTransportAfterTest() 109ms
After Hooks.deleteModeOfTransportationAfterTest() 063ms