Project Number Date
ApolloFullRunnerReport A-7183.341 15 mar 2021, 05:07

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Transport files 110 1 2 0 0 113 15 1 16 5m 8s 114ms Failed
Feature Transport files
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 099ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 1s 211ms
When Go to "TRANSPORT_TABLE" 148ms
And Show all transport types 1s 041ms
And Verify that transport has "0" files 035ms
Then Add file to transport by API 486ms
And Verify that transport has "1" files 569ms
After Hooks.deleteTransportAfterTest() 083ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 100ms
And Create transport "CREATE_LOAD_FRONT" by JSON file as "super-admin-piast" 1s 186ms
When Go to "TRANSPORT_TABLE" 137ms
And Show all transport types 1s 043ms
And Verify that transport has "0" files 038ms
Then Add file to transport by API 269ms
And Verify that transport has "1" files 512ms
After Hooks.deleteTransportAfterTest() 075ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 378ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 358ms
When Go to "TRANSPORT_TABLE" 139ms
And Show all transport types 1s 045ms
And Verify that transport has "0" files 041ms
Then Add file to transport by API 288ms
And Verify that transport has "1" files 267ms
After Hooks.deleteTransportAfterTest() 082ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 109ms
And Create transport "CREATE_CONTAINER" by JSON file as "super-admin-keeeper" 1s 203ms
When Go to "TRANSPORT_TABLE" 135ms
And Show all transport types 1s 042ms
And Verify that transport has "0" files 039ms
Then Add file to transport by API 279ms
And Verify that transport has "1" files 860ms
After Hooks.deleteTransportAfterTest() 070ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 135ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 1s 200ms
And Delete transport 17s 243ms
When Go to "ARCHIVE_TAB" 220ms
And Show "DELIVERY" 053ms
And Verify that transport has "0" files 733ms
Then Add file to transport 155ms
And Verify that transport has "1" files 411ms
After Hooks.deleteTransportAfterTest() 070ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 180ms
And Create transport "CREATE_LOAD_FRONT" by JSON file as "super-admin-piast" 1s 179ms
And Delete transport 17s 359ms
When Go to "ARCHIVE_TAB" 213ms
And Show "LOAD" 077ms
And Verify that transport has "0" files 1s 086ms
Then Add file to transport 129ms
And Verify that transport has "1" files 453ms
After Hooks.deleteTransportAfterTest() 064ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 394ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 398ms
And Delete transport 17s 912ms
When Go to "ARCHIVE_TAB" 234ms
And Show "DELIVERY" 054ms
And Verify that transport has "0" files 1s 010ms
Then Add file to transport 135ms
And Verify that transport has "1" files 383ms
After Hooks.deleteTransportAfterTest() 079ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 198ms
And Create transport "CREATE_CONTAINER" by JSON file as "super-admin-keeeper" 1s 189ms
And Delete transport 17s 565ms
When Go to "ARCHIVE_TAB" 267ms
And Show "CONTAINER" 086ms
And Verify that transport has "0" files 1s 055ms
Then Add file to transport 139ms
And Verify that transport has "1" files 390ms
After Hooks.deleteTransportAfterTest() 055ms
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" 098ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 15s 172ms
And Transfer transport to carrier by JSON file "super-admin-adama" "true" confirmation 111ms
And Set token of apiUsername "paa1-carrier@qa.qa-test" 094ms
And Accept transferred transport by Api 001ms
javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: could not extract ResultSet
	at org.hibernate.internal.ExceptionConverterImpl.convert(ExceptionConverterImpl.java:149)
	at org.hibernate.internal.ExceptionConverterImpl.convert(ExceptionConverterImpl.java:157)
	at org.hibernate.query.internal.AbstractProducedQuery.list(AbstractProducedQuery.java:1515)
	at org.hibernate.query.internal.AbstractProducedQuery.getSingleResult(AbstractProducedQuery.java:1554)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.getBigIntegerResult(ApolloSelectDbService.java:115)
	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:42)
Caused by: org.hibernate.exception.GenericJDBCException: could not extract ResultSet
	at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:47)
	at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:111)
	at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:97)
	at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.extract(ResultSetReturnImpl.java:69)
	at org.hibernate.loader.Loader.getResultSet(Loader.java:2167)
	at org.hibernate.loader.Loader.executeQueryStatement(Loader.java:1930)
	at org.hibernate.loader.Loader.executeQueryStatement(Loader.java:1892)
	at org.hibernate.loader.Loader.doQuery(Loader.java:937)
	at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:340)
	at org.hibernate.loader.Loader.doList(Loader.java:2689)
	at org.hibernate.loader.Loader.doList(Loader.java:2672)
	at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2506)
	at org.hibernate.loader.Loader.list(Loader.java:2501)
	at org.hibernate.loader.custom.CustomLoader.list(CustomLoader.java:338)
	at org.hibernate.internal.SessionImpl.listCustomQuery(SessionImpl.java:2221)
	at org.hibernate.internal.AbstractSharedSessionContract.list(AbstractSharedSessionContract.java:1051)
	at org.hibernate.query.internal.NativeQueryImpl.doList(NativeQueryImpl.java:168)
	at org.hibernate.query.internal.AbstractProducedQuery.list(AbstractProducedQuery.java:1506)
	at org.hibernate.query.internal.AbstractProducedQuery.getSingleResult(AbstractProducedQuery.java:1554)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.getBigIntegerResult(ApolloSelectDbService.java:115)
	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 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	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.JavaStepDefinition.execute(JavaStepDefinition.java:57)
	at cucumber.runner.PickleStepDefinitionMatch.runStep(PickleStepDefinitionMatch.java:50)
	at cucumber.runner.TestStep.executeStep(TestStep.java:63)
	at cucumber.runner.TestStep.run(TestStep.java:49)
	at cucumber.runner.PickleStepTestStep.run(PickleStepTestStep.java:43)
	at cucumber.runner.TestCase.run(TestCase.java:45)
	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)
Caused by: org.postgresql.util.PSQLException: BŁĄD: bieżąca transakcja została przerwana, polecenia ignorowane do końca bloku transakcji
	at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2103)
	at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1836)
	at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:257)
	at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:512)
	at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:388)
	at org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc2Statement.java:273)
	at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.extract(ResultSetReturnImpl.java:60)
	... 61 more
And Login as "paa1-carrier@qa.qa-test" 000ms
Then Verify that "large_entrepreneur_declaration" document can be downloaded 000ms
After Hooks.deleteTransportAfterTest() 089ms
Given Login as "paa1-carrier@qa.qa-test" and set token of apiUsername "super-admin-adama" 1s 158ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 1s 203ms
And Transfer transport to carrier by JSON file "super-admin-adama" "false" confirmation 205ms
Then Verify that "large_entrepreneur_declaration" document can be downloaded 18s 087ms
After Hooks.deleteTransportAfterTest() 055ms
Given Set token of apiUsername "super-admin-adama" 090ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 1s 183ms
And Set transport on auction with "500" and "1500" by JSON file as "super-admin-adama" 2s 151ms
And Add a bid "500" to an auction by JSON file as "paa1-carrier@qa.qa-test" for "super-admin-adama" 314ms
And Login as "paa1-carrier@qa.qa-test" 1s 101ms
Then Verify that "large_entrepreneur_declaration" document can be downloaded 16s 237ms
After Hooks.deleteTransportAfterTest() 072ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 1s 153ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-alrec" 1s 260ms
When Go to "TRANSPORT_TABLE" 149ms
And Show all transport "true" 074ms
Then Verify that transport has "1" CMR file 1s 167ms
After Hooks.deleteTransportAfterTest() 055ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 1s 105ms
And Create transport "CREATE_TRANSPORT_TWO_UNLOAD_STEPS" by JSON file as "super-admin-alrec" 1s 254ms
When Go to "TRANSPORT_TABLE" 127ms
And Show all transport "true" 074ms
Then Verify that transport has "2" CMR file 1s 178ms
After Hooks.deleteTransportAfterTest() 066ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 1s 038ms
And Create transport "CREATE_TRANSPORT_TWO_UNLOAD_STEPS" by JSON file as "super-admin-alrec" 1s 260ms
When Go to "TRANSPORT_TABLE" 113ms
And Show all transport "true" 056ms
Then Verify that "CMR" document can be downloaded 17s 962ms
After Hooks.deleteTransportAfterTest() 068ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 1s 205ms
And Create transport "CREATE_TRANSPORT_TWO_UNLOAD_STEPS" by JSON file as "super-admin-alrec" 1s 309ms
And Show all transport "true" 089ms
And Delete transport 17s 140ms
When Go to "ARCHIVE_TAB" 225ms
And Show "TRANSPORT_ORDER" 059ms
Then Verify that "CMR" document can be downloaded 16s 938ms
After Hooks.deleteTransportAfterTest() 060ms
Given Login as "pba1-carrier" and set token of apiUsername "super-admin-bausch" 2s 400ms
And Create default accepted mode of transportation by API with "pba1-carrier" 417ms
And If user is login then logout 105ms
And Login as "bausch-admin" and set token of apiUsername "super-admin-bausch" 2s 256ms
And Create transport "CREATE_LOAD_PL" by JSON file as "super-admin-bausch" 1s 260ms
And Transfer transport to carrier by JSON file "super-admin-bausch" "false" confirmation 101ms
And Set "advice" inputs from JSON file "ADVICE_LOAD" "super-admin-bausch" 010ms
And Click button advice in transport table "LOAD_PL" 1s 847ms
And Set advice window in schedule 2s 802ms
And Fill advice form 9s 240ms
And Click advice save button and wait for advice form to disappear 30s 829ms
And Find transport in table with status "advice-added" 3s 370ms
When Confirm statuses until reach "on-the-way" 9s 337ms
Then Verify that "delivery_document" document can be downloaded 16s 656ms
After Hooks.deleteTransportAfterTest() 117ms
After Hooks.deleteModeOfTransportationAfterTest() 080ms