Project Number Date
ApolloFullRunnerReport develop.348 19 cze 2021, 00:37

Tag Report

Steps Scenarios Features
Tag Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
@deleteAllGrayWindowsAfterTest 117 1 5 0 0 123 16 1 17 3m 7s 001ms Failed
View Feature Schedule
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 425ms
And Create "CREATE_GRAY_WINDOW_TWG" window by JSON file for test as "super-admin-hochland" 052ms
And Create "CREATE_GRAY_WINDOW_OST" window by JSON file for test as "super-admin-hochland" 034ms
When Go to "WAREHOUSE_TAB" 689ms
And Select warehouse "Twarożkarnia wyrób gotowy" 1s 746ms
And Select view "DAYS_2" 2s 080ms
Then Check if gray window is in the schedule 2s 025ms
And Select warehouse "Opakowania, surowce twarożkarnia" 1s 224ms
And Select view "DAYS_2" 2s 050ms
And Check if gray window is in the schedule 2s 016ms
After Hooks.deleteTransportAfterTest() 001ms
After Hooks.deleteAllGrayWindowsAfterTest() 15s 180ms
View Feature Schedule
Given Login as "hochland-producer" and set token of apiUsername "super-admin-hochland" 1s 290ms
And Create "CREATE_GRAY_WINDOW_TWG" window by JSON file for test as "super-admin-hochland" 034ms
And Create "CREATE_GRAY_WINDOW_OST" window by JSON file for test as "super-admin-hochland" 037ms
When Go to "WAREHOUSE_TAB" 740ms
And Select warehouse "Twarożkarnia wyrób gotowy" 1s 753ms
And Select view "DAYS_2" 2s 087ms
Then Check if gray window is in the schedule 2s 021ms
And Select warehouse "Opakowania, surowce twarożkarnia" 1s 255ms
And Select view "DAYS_2" 2s 049ms
And Check if gray window is in the schedule 2s 016ms
After Hooks.deleteTransportAfterTest() 001ms
After Hooks.deleteAllGrayWindowsAfterTest() 15s 165ms
View Feature Schedule
Given Login as "pha1-carrier@qa.qa-test" and set token of apiUsername "super-admin-hochland" 1s 374ms
And Create "CREATE_GRAY_WINDOW_TWG" window by JSON file for test as "super-admin-hochland" 067ms
And Create "CREATE_GRAY_WINDOW_OST" window by JSON file for test as "super-admin-hochland" 058ms
When Go to "WAREHOUSE_TAB" 1s 132ms
And Select warehouse "Twarożkarnia wyrób gotowy" 1s 812ms
And Select view "DAYS_2" 2s 073ms
Then Check if gray window is in the schedule 2s 021ms
And Select warehouse "Opakowania, surowce twarożkarnia" 1s 243ms
And Select view "DAYS_2" 2s 052ms
And Check if gray window is in the schedule 2s 015ms
After Hooks.deleteTransportAfterTest() 000ms
After Hooks.deleteAllGrayWindowsAfterTest() 15s 137ms
View Feature Schedule
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 1s 264ms
And Create "CREATE_GRAY_WINDOW_MGW" window by JSON file for test as "super-admin-skz" 036ms
And Create "CREATE_GRAY_WINDOW_HRL" window by JSON file for test as "super-admin-skz" 033ms
When Go to "WAREHOUSE_TAB" 417ms
And Select warehouse "MGW" 1s 156ms
And Select view "DAYS_2" 2s 069ms
Then Check if gray window is in the schedule 2s 024ms
And Select warehouse "HRL" 1s 354ms
And Select view "DAYS_2" 2s 051ms
And Check if gray window is in the schedule 2s 016ms
After Hooks.deleteTransportAfterTest() 001ms
After Hooks.deleteAllGrayWindowsAfterTest() 15s 155ms
View Feature Gray Window atom tests
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 650ms
And Create "CREATE_GRAY_WINDOW_TWG" window by JSON file for test as "super-admin-hochland" 045ms
When Go to "WAREHOUSE_TAB" 678ms
And Select warehouse "Twarożkarnia wyrób gotowy" 1s 856ms
And Go to next day in schedule 1s 066ms
And Move gray window to new location 1s 381ms
Then Check if gray window is in new location 1s 011ms
After Hooks.deleteAllGrayWindowsAfterTest() 059ms
View Feature Gray Window atom tests
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 089ms
And Create "CREATE_GRAY_WINDOW_MHA" window by JSON file for test as "super-admin-piast" 036ms
When Go to "WAREHOUSE_TAB" 417ms
And Select warehouse "Magazyn Hala A" 1s 129ms
And Go to next day in schedule 1s 067ms
And Move gray window to new location 1s 337ms
Then Check if gray window is in new location 1s 009ms
After Hooks.deleteAllGrayWindowsAfterTest() 051ms
View Feature Gray Window atom tests
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 908ms
And Create "CREATE_GRAY_WINDOW_MNS" window by JSON file for test as "super-admin-lantmannen" 031ms
When Go to "WAREHOUSE_TAB" 933ms
And Select warehouse "Magazyn - Nowa Sól" 2s 127ms
And Go to next day in schedule 1s 085ms
And Move gray window to new location 1s 448ms
Then Check if gray window is in new location 1s 013ms
After Hooks.deleteAllGrayWindowsAfterTest() 057ms
View Feature Gray Window atom tests
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 1s 102ms
And Create "CREATE_GRAY_WINDOW_MAL" window by JSON file for test as "super-admin-alrec" 028ms
When Go to "WAREHOUSE_TAB" 292ms
And Select warehouse "Magazyn Alrec Łódź" 1s 138ms
And Go to next day in schedule 1s 059ms
And Move gray window to new location 1s 337ms
Then Check if gray window is in new location 1s 026ms
After Hooks.deleteAllGrayWindowsAfterTest() 050ms
View Feature Gray Window atom tests
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 249ms
When Go to "WAREHOUSE_TAB" 653ms
And Select warehouse "Twarożkarnia wyrób gotowy" 1s 773ms
When Click in free spot in schedule page to create gray window 209ms
Then Check if gray window is in the schedule 2s 019ms
After Hooks.deleteAllGrayWindowsAfterTest() 066ms
View Feature Gray Window atom tests
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 128ms
When Go to "WAREHOUSE_TAB" 453ms
And Select warehouse "Magazyn Hala A" 1s 153ms
When Click in free spot in schedule page to create gray window 187ms
Then Check if gray window is in the schedule 2s 017ms
After Hooks.deleteAllGrayWindowsAfterTest() 057ms
View Feature Gray Window atom tests
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 963ms
When Go to "WAREHOUSE_TAB" 931ms
And Select warehouse "Magazyn - Nowa Sól" 2s 210ms
When Click in free spot in schedule page to create gray window 200ms
Then Check if gray window is in the schedule 2s 022ms
After Hooks.deleteAllGrayWindowsAfterTest() 063ms
View Feature Gray Window atom tests
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 1s 041ms
When Go to "WAREHOUSE_TAB" 296ms
And Select warehouse "Magazyn Alrec Łódź" 1s 149ms
When Click in free spot in schedule page to create gray window 166ms
Then Check if gray window is in the schedule 2s 015ms
After Hooks.deleteAllGrayWindowsAfterTest() 055ms
View Feature Gray Window atom tests
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 219ms
And Create "CREATE_GRAY_WINDOW_TWG" window by JSON file for test as "super-admin-hochland" 037ms
When Go to "WAREHOUSE_TAB" 736ms
And Select warehouse "Twarożkarnia wyrób gotowy" 1s 794ms
And Set week view 1s 118ms
When Delete gray window from schedule 1s 069ms
Then Check if gray window is no longer in schedule 15s 045ms
After Hooks.deleteAllGrayWindowsAfterTest() 15s 103ms
View Feature Gray Window atom tests
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 184ms
And Create "CREATE_GRAY_WINDOW_MHA" window by JSON file for test as "super-admin-piast" 033ms
When Go to "WAREHOUSE_TAB" 440ms
And Select warehouse "Magazyn Hala A" 1s 145ms
And Set week view 1s 970ms
When Delete gray window from schedule 1s 173ms
Then Check if gray window is no longer in schedule 15s 024ms
After Hooks.deleteAllGrayWindowsAfterTest() 15s 161ms
View Feature Gray Window atom tests
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 1s 144ms
And Create "CREATE_GRAY_WINDOW_MNS" window by JSON file for test as "super-admin-lantmannen" 036ms
When Go to "WAREHOUSE_TAB" 1s 010ms
And Select warehouse "Magazyn - Nowa Sól" 2s 321ms
And Set week view 1s 115ms
When Delete gray window from schedule 1s 056ms
Then Check if gray window is no longer in schedule 15s 038ms
After Hooks.deleteAllGrayWindowsAfterTest() 15s 107ms
View Feature Gray Window atom tests
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 1s 133ms
And Create "CREATE_GRAY_WINDOW_MAL" window by JSON file for test as "super-admin-alrec" 051ms
When Go to "WAREHOUSE_TAB" 289ms
And Select warehouse "Magazyn Alrec Łódź" 1s 144ms
And Set week view 1s 478ms
When Delete gray window from schedule 1s 077ms
Then Check if gray window is no longer in schedule 15s 009ms
After Hooks.deleteAllGrayWindowsAfterTest() 15s 047ms
View Feature Crud Transport
Scenario Outline Check if firstPossibleStart algorithm works properly when creating transport advice
Steps
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 032ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-keeeper" 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:121)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.getLongResult(ApolloSelectDbService.java:113)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.findPackageTypeId(ApolloSelectDbService.java:102)
	at Utils.JsonApiUtil.checkPackageTypeIds(JsonApiUtil.java:177)
	at Utils.JsonApiUtil.getTransportApiJson(JsonApiUtil.java:139)
	at CucumberTests.Transport.CreateTransport.createByJSONFileAs(CreateTransport.java:85)
	at ✽.Create transport "CREATE_LOAD" by JSON file as "super-admin-keeeper"(file:Features/Atom/Transport/CrudTransport.feature:172)
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:121)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.getLongResult(ApolloSelectDbService.java:113)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.findPackageTypeId(ApolloSelectDbService.java:102)
	at Utils.JsonApiUtil.checkPackageTypeIds(JsonApiUtil.java:177)
	at Utils.JsonApiUtil.getTransportApiJson(JsonApiUtil.java:139)
	at CucumberTests.Transport.CreateTransport.createByJSONFileAs(CreateTransport.java:85)
	at CucumberTests.Transport.CreateTransport.createByJSONFileAs(CreateTransport.java:63)
	at sun.reflect.GeneratedMethodAccessor166.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.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)
	... 63 more
And Create gray windows "CREATE_GRAY_WINDOW_MWG" on "PRZESYŁKI DROBNICOWE" in "Magazyn Wyrobów Gotowych" as "super-admin-keeeper" 000ms
And If user is login then logout 000ms
Then Login as "dka1-supplier" 000ms
And Click button advice in transport table "LOAD" 000ms
And Check if moved to first possible start date in schedule 000ms
Hooks
After Hooks.deleteTransportAfterTest() 000ms
After Hooks.deleteAllGrayWindowsAfterTest() 000ms
java.lang.NullPointerException: Nie udalo sie pobrać id szarego okna
	at CucumberTests.Hooks.deleteAllGrayWindowsAfterTest(Hooks.java:217)
	at sun.reflect.GeneratedMethodAccessor235.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)