Project Number Date
ApolloFullRunnerReport apollo-test-1.2 18 cze 2021, 22:11

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Mode of transportation table 46 2 4 0 0 52 6 2 8 42s 641ms Failed
Feature Mode of transportation table
Given Login as "pba1-carrier" and set token of apiUsername "super-admin-bausch" 1s 718ms
And Create mode of transportation by API with "pba1-carrier": "AAAA0001" "Marka1" "Model1" "BBBB0001" 058ms
And Create mode of transportation by API with "pba1-carrier": "AAAA0002" "Marka2" "Model2" "BBBB0002" 062ms
When Go to "MODE_OF_TRANSPORTATION_TAB" 220ms
Then Check every filter "PBA1": "AAAA0001" "Marka1" "Model1" "BBBB0001" 15s 857ms
After Hooks.deleteAllModesOfTransportationAfterTest() 136ms
Given Login as "pba1-carrier" and set token of apiUsername "super-admin-bausch" 1s 264ms
And Create default mode of transportation by API with "pba1-carrier" 059ms
And Add "SENSOR_CALIBRATION_CERTIFICATE" document to mode of transportation by API with "pba1-carrier" 061ms
When Go to "MODE_OF_TRANSPORTATION_TAB" 224ms
Then Check if "SENSOR_CALIBRATION_CERTIFICATE" document data is visible in correct columns 3s 098ms
After Hooks.deleteModeOfTransportationAfterTest() 069ms
Given Login as "pba1-carrier" and set token of apiUsername "super-admin-bausch" 1s 208ms
And Create default mode of transportation by API with "pba1-carrier" 071ms
And Add "SUMMER_MAPPING" document to mode of transportation by API with "pba1-carrier" 056ms
When Go to "MODE_OF_TRANSPORTATION_TAB" 219ms
Then Check if "SUMMER_MAPPING" document data is visible in correct columns 3s 069ms
After Hooks.deleteModeOfTransportationAfterTest() 050ms
Given Login as "pba1-carrier" and set token of apiUsername "super-admin-bausch" 1s 331ms
And Create default mode of transportation by API with "pba1-carrier" 071ms
And Add "WINTER_MAPPING" document to mode of transportation by API with "pba1-carrier" 055ms
When Go to "MODE_OF_TRANSPORTATION_TAB" 264ms
Then Check if "WINTER_MAPPING" document data is visible in correct columns 3s 074ms
After Hooks.deleteModeOfTransportationAfterTest() 053ms
Given Login as "pba1-carrier" and set token of apiUsername "super-admin-bausch" 1s 156ms
And Create mode of transportation by API with "pba1-carrier": "AAAA0001" "Marka1" "Model1" "BBBB0001" 061ms
And Create accepted mode of transportation by API with "pba1-carrier": "AAAA0002" "Marka2" "Model2" "BBBB0002" 239ms
And Create accepted mode of transportation by API with "pba1-carrier": "AAAA0003" "Marka3" "Model3" "BBBB0003" 221ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 216ms
And Add "WINTER_MAPPING" document to mode of transportation by API with "pba1-carrier" 054ms
And Go to mode of transportation details 194ms
And Update "WINTER_MAPPING" document 087ms
And Create mode of transportation by API with "pba1-carrier": "AAAA0004" "Marka4" "Model4" "BBBB0004" 066ms
And Reject mode of transportation by API 046ms
And Create accepted mode of transportation by API with "pba1-carrier": "AAAA0005" "Marka5" "Model5" "BBBB0005" 247ms
And Add "WINTER_MAPPING" document to mode of transportation by API with "pba1-carrier" 053ms
And Reject "WINTER_MAPPING" document by API 058ms
And Create accepted mode of transportation by API with "pba1-carrier": "AAAA0006" "Marka6" "Model6" "BBBB0006" 235ms
And Disable mode of transportation by API 054ms
When Go to "MODE_OF_TRANSPORTATION_TAB" 214ms
Then Check mode of transportation status filters 1s 820ms
After Hooks.deleteAllModesOfTransportationAfterTest() 318ms
Scenario Outline Check if dates have proper colors in MOT table [A-6761]
Steps
Given Login as "pba1-carrier" and set token of apiUsername "super-admin-bausch" 1s 573ms
And Create mode of transportation by API with "pba1-carrier": "AAAA0001" "Marka1" "Model1" "BBBB0001" 072ms
And Add "SENSOR_CALIBRATION_CERTIFICATE" document with "HOW_MANY_DAYS_BEFORE_DOCUMENT_EXPIRATION_DATE_CARRIER_SHOULD_BE_BLOCKED" for "bausch" to mode of transportation by API with "pba1-carrier" 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.getStringResult(ApolloSelectDbService.java:134)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.findSettingValueForCompany(ApolloSelectDbService.java:309)
	at CucumberTests.ModeOfTransportation.MOTAPITest.addDocumentWithForToModeOfTransportationByAPIWith(MOTAPITest.java:297)
	at ✽.Add "SENSOR_CALIBRATION_CERTIFICATE" document with "HOW_MANY_DAYS_BEFORE_DOCUMENT_EXPIRATION_DATE_CARRIER_SHOULD_BE_BLOCKED" for "bausch" to mode of transportation by API with "pba1-carrier"(file:Features/Atom/ModeOfTransportation/ModeOfTransportationTable.feature:74)
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.getStringResult(ApolloSelectDbService.java:134)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.findSettingValueForCompany(ApolloSelectDbService.java:309)
	at CucumberTests.ModeOfTransportation.MOTAPITest.addDocumentWithForToModeOfTransportationByAPIWith(MOTAPITest.java:297)
	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)
	... 60 more
When Go to "MODE_OF_TRANSPORTATION_TAB" 000ms
Then Verify that last sensor calibrate certificate has class "red-warning" 000ms
After Hooks.deleteAllModesOfTransportationAfterTest() 058ms
Scenario Outline Check if dates have proper colors in MOT table [A-6761]
Steps
Given Login as "pba1-carrier" and set token of apiUsername "super-admin-bausch" 1s 222ms
And Create mode of transportation by API with "pba1-carrier": "AAAA0001" "Marka1" "Model1" "BBBB0001" 065ms
And Add "SENSOR_CALIBRATION_CERTIFICATE" document with "HOW_MANY_DAYS_BEFORE_CERTIFICATE_EXPIRATION_SHOULD_MAIL_BE_SENT" for "bausch" to mode of transportation by API with "pba1-carrier" 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.getStringResult(ApolloSelectDbService.java:134)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.findSettingValueForCompany(ApolloSelectDbService.java:309)
	at CucumberTests.ModeOfTransportation.MOTAPITest.addDocumentWithForToModeOfTransportationByAPIWith(MOTAPITest.java:297)
	at ✽.Add "SENSOR_CALIBRATION_CERTIFICATE" document with "HOW_MANY_DAYS_BEFORE_CERTIFICATE_EXPIRATION_SHOULD_MAIL_BE_SENT" for "bausch" to mode of transportation by API with "pba1-carrier"(file:Features/Atom/ModeOfTransportation/ModeOfTransportationTable.feature:74)
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.getStringResult(ApolloSelectDbService.java:134)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.findSettingValueForCompany(ApolloSelectDbService.java:309)
	at CucumberTests.ModeOfTransportation.MOTAPITest.addDocumentWithForToModeOfTransportationByAPIWith(MOTAPITest.java:297)
	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)
	... 60 more
When Go to "MODE_OF_TRANSPORTATION_TAB" 000ms
Then Verify that last sensor calibrate certificate has class "yellow-warning" 000ms
After Hooks.deleteAllModesOfTransportationAfterTest() 055ms
Given Login as "pba1-carrier" and set token of apiUsername "super-admin-bausch" 1s 217ms
And Create mode of transportation by API with "pba1-carrier": "AAAA0001" "Marka1" "Model1" "BBBB0001" 077ms
And Add "SENSOR_CALIBRATION_CERTIFICATE" document with "" for "bausch" to mode of transportation by API with "pba1-carrier" 060ms
When Go to "MODE_OF_TRANSPORTATION_TAB" 238ms
Then Verify that last sensor calibrate certificate has class "" 1s 027ms
After Hooks.deleteAllModesOfTransportationAfterTest() 065ms