Project Number Date
ApolloFullRunnerReport develop.462 17 cze 2021, 01:54

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 16s 162ms Failed
View Feature Schedule
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 604ms
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" 041ms
When Go to "WAREHOUSE_TAB" 916ms
And Select warehouse "Twarożkarnia wyrób gotowy" 2s 022ms
And Select view "DAYS_2" 2s 072ms
Then Check if gray window is in the schedule 2s 018ms
And Select warehouse "Opakowania, surowce twarożkarnia" 1s 236ms
And Select view "DAYS_2" 2s 038ms
And Check if gray window is in the schedule 2s 009ms
After Hooks.deleteTransportAfterTest() 000ms
After Hooks.deleteAllGrayWindowsAfterTest() 15s 169ms
View Feature Schedule
Given Login as "hochland-producer" and set token of apiUsername "super-admin-hochland" 2s 875ms
And Create "CREATE_GRAY_WINDOW_TWG" window by JSON file for test as "super-admin-hochland" 048ms
And Create "CREATE_GRAY_WINDOW_OST" window by JSON file for test as "super-admin-hochland" 032ms
When Go to "WAREHOUSE_TAB" 718ms
And Select warehouse "Twarożkarnia wyrób gotowy" 1s 787ms
And Select view "DAYS_2" 2s 076ms
Then Check if gray window is in the schedule 2s 015ms
And Select warehouse "Opakowania, surowce twarożkarnia" 1s 246ms
And Select view "DAYS_2" 2s 054ms
And Check if gray window is in the schedule 2s 016ms
After Hooks.deleteTransportAfterTest() 000ms
After Hooks.deleteAllGrayWindowsAfterTest() 15s 177ms
View Feature Schedule
Given Login as "pha1-carrier@qa.qa-test" and set token of apiUsername "super-admin-hochland" 3s 179ms
And Create "CREATE_GRAY_WINDOW_TWG" window by JSON file for test as "super-admin-hochland" 059ms
And Create "CREATE_GRAY_WINDOW_OST" window by JSON file for test as "super-admin-hochland" 044ms
When Go to "WAREHOUSE_TAB" 916ms
And Select warehouse "Twarożkarnia wyrób gotowy" 2s 085ms
And Select view "DAYS_2" 2s 075ms
Then Check if gray window is in the schedule 2s 015ms
And Select warehouse "Opakowania, surowce twarożkarnia" 1s 220ms
And Select view "DAYS_2" 2s 037ms
And Check if gray window is in the schedule 2s 013ms
After Hooks.deleteTransportAfterTest() 000ms
After Hooks.deleteAllGrayWindowsAfterTest() 15s 157ms
View Feature Schedule
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 1s 210ms
And Create "CREATE_GRAY_WINDOW_MGW" window by JSON file for test as "super-admin-skz" 037ms
And Create "CREATE_GRAY_WINDOW_HRL" window by JSON file for test as "super-admin-skz" 041ms
When Go to "WAREHOUSE_TAB" 440ms
And Select warehouse "MGW" 1s 175ms
And Select view "DAYS_2" 2s 077ms
Then Check if gray window is in the schedule 2s 039ms
And Select warehouse "HRL" 1s 348ms
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 136ms
View Feature Gray Window atom tests
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 558ms
And Create "CREATE_GRAY_WINDOW_TWG" window by JSON file for test as "super-admin-hochland" 030ms
When Go to "WAREHOUSE_TAB" 998ms
And Select warehouse "Twarożkarnia wyrób gotowy" 2s 096ms
And Go to next day in schedule 1s 077ms
And Move gray window to new location 1s 384ms
Then Check if gray window is in new location 1s 009ms
After Hooks.deleteAllGrayWindowsAfterTest() 059ms
View Feature Gray Window atom tests
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 392ms
And Create "CREATE_GRAY_WINDOW_MHA" window by JSON file for test as "super-admin-piast" 029ms
When Go to "WAREHOUSE_TAB" 506ms
And Select warehouse "Magazyn Hala A" 1s 220ms
And Go to next day in schedule 1s 088ms
And Move gray window to new location 1s 382ms
Then Check if gray window is in new location 1s 012ms
After Hooks.deleteAllGrayWindowsAfterTest() 052ms
View Feature Gray Window atom tests
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 1s 237ms
And Create "CREATE_GRAY_WINDOW_MNS" window by JSON file for test as "super-admin-lantmannen" 049ms
When Go to "WAREHOUSE_TAB" 1s 167ms
And Select warehouse "Magazyn - Nowa Sól" 2s 182ms
And Go to next day in schedule 1s 086ms
And Move gray window to new location 1s 532ms
Then Check if gray window is in new location 1s 011ms
After Hooks.deleteAllGrayWindowsAfterTest() 070ms
View Feature Gray Window atom tests
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 1s 070ms
And Create "CREATE_GRAY_WINDOW_MAL" window by JSON file for test as "super-admin-alrec" 037ms
When Go to "WAREHOUSE_TAB" 293ms
And Select warehouse "Magazyn Alrec Łódź" 1s 144ms
And Go to next day in schedule 1s 064ms
And Move gray window to new location 1s 314ms
Then Check if gray window is in new location 1s 011ms
After Hooks.deleteAllGrayWindowsAfterTest() 048ms
View Feature Gray Window atom tests
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 453ms
When Go to "WAREHOUSE_TAB" 678ms
And Select warehouse "Twarożkarnia wyrób gotowy" 1s 785ms
When Click in free spot in schedule page to create gray window 210ms
Then Check if gray window is in the schedule 2s 019ms
After Hooks.deleteAllGrayWindowsAfterTest() 071ms
View Feature Gray Window atom tests
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 193ms
When Go to "WAREHOUSE_TAB" 452ms
And Select warehouse "Magazyn Hala A" 1s 157ms
When Click in free spot in schedule page to create gray window 190ms
Then Check if gray window is in the schedule 2s 016ms
After Hooks.deleteAllGrayWindowsAfterTest() 070ms
View Feature Gray Window atom tests
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 965ms
When Go to "WAREHOUSE_TAB" 1s 004ms
And Select warehouse "Magazyn - Nowa Sól" 2s 596ms
When Click in free spot in schedule page to create gray window 339ms
Then Check if gray window is in the schedule 2s 014ms
After Hooks.deleteAllGrayWindowsAfterTest() 074ms
View Feature Gray Window atom tests
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 1s 261ms
When Go to "WAREHOUSE_TAB" 329ms
And Select warehouse "Magazyn Alrec Łódź" 1s 121ms
When Click in free spot in schedule page to create gray window 149ms
Then Check if gray window is in the schedule 2s 014ms
After Hooks.deleteAllGrayWindowsAfterTest() 050ms
View Feature Gray Window atom tests
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 572ms
And Create "CREATE_GRAY_WINDOW_TWG" window by JSON file for test as "super-admin-hochland" 059ms
When Go to "WAREHOUSE_TAB" 941ms
And Select warehouse "Twarożkarnia wyrób gotowy" 1s 914ms
And Set week view 1s 103ms
When Delete gray window from schedule 1s 059ms
Then Check if gray window is no longer in schedule 15s 058ms
After Hooks.deleteAllGrayWindowsAfterTest() 15s 098ms
View Feature Gray Window atom tests
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 458ms
And Create "CREATE_GRAY_WINDOW_MHA" window by JSON file for test as "super-admin-piast" 032ms
When Go to "WAREHOUSE_TAB" 434ms
And Select warehouse "Magazyn Hala A" 1s 147ms
And Set week view 1s 984ms
When Delete gray window from schedule 1s 172ms
Then Check if gray window is no longer in schedule 15s 039ms
After Hooks.deleteAllGrayWindowsAfterTest() 15s 227ms
View Feature Gray Window atom tests
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 1s 269ms
And Create "CREATE_GRAY_WINDOW_MNS" window by JSON file for test as "super-admin-lantmannen" 035ms
When Go to "WAREHOUSE_TAB" 1s 195ms
And Select warehouse "Magazyn - Nowa Sól" 2s 645ms
And Set week view 1s 127ms
When Delete gray window from schedule 1s 119ms
Then Check if gray window is no longer in schedule 15s 036ms
After Hooks.deleteAllGrayWindowsAfterTest() 15s 048ms
View Feature Gray Window atom tests
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 1s 294ms
And Create "CREATE_GRAY_WINDOW_MAL" window by JSON file for test as "super-admin-alrec" 056ms
When Go to "WAREHOUSE_TAB" 273ms
And Select warehouse "Magazyn Alrec Łódź" 1s 130ms
And Set week view 1s 502ms
When Delete gray window from schedule 1s 118ms
Then Check if gray window is no longer in schedule 15s 051ms
After Hooks.deleteAllGrayWindowsAfterTest() 15s 050ms
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 407ms
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.GeneratedMethodAccessor196.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.GeneratedMethodAccessor248.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)