Project Number Date
ApolloFullRunnerReport develop.463 18 cze 2021, 01:52

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 9s 163ms Failed
View Feature Schedule
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 392ms
And Create "CREATE_GRAY_WINDOW_TWG" window by JSON file for test as "super-admin-hochland" 076ms
And Create "CREATE_GRAY_WINDOW_OST" window by JSON file for test as "super-admin-hochland" 057ms
When Go to "WAREHOUSE_TAB" 755ms
And Select warehouse "Twarożkarnia wyrób gotowy" 1s 842ms
And Select view "DAYS_2" 2s 079ms
Then Check if gray window is in the schedule 2s 024ms
And Select warehouse "Opakowania, surowce twarożkarnia" 1s 254ms
And Select view "DAYS_2" 2s 052ms
And Check if gray window is in the schedule 2s 016ms
After Hooks.deleteTransportAfterTest() 000ms
After Hooks.deleteAllGrayWindowsAfterTest() 15s 199ms
View Feature Schedule
Given Login as "hochland-producer" and set token of apiUsername "super-admin-hochland" 2s 726ms
And Create "CREATE_GRAY_WINDOW_TWG" window by JSON file for test as "super-admin-hochland" 058ms
And Create "CREATE_GRAY_WINDOW_OST" window by JSON file for test as "super-admin-hochland" 067ms
When Go to "WAREHOUSE_TAB" 725ms
And Select warehouse "Twarożkarnia wyrób gotowy" 1s 795ms
And Select view "DAYS_2" 2s 105ms
Then Check if gray window is in the schedule 2s 024ms
And Select warehouse "Opakowania, surowce twarożkarnia" 1s 186ms
And Select view "DAYS_2" 2s 049ms
And Check if gray window is in the schedule 2s 016ms
After Hooks.deleteTransportAfterTest() 000ms
After Hooks.deleteAllGrayWindowsAfterTest() 15s 205ms
View Feature Schedule
Given Login as "pha1-carrier@qa.qa-test" and set token of apiUsername "super-admin-hochland" 1s 550ms
And Create "CREATE_GRAY_WINDOW_TWG" window by JSON file for test as "super-admin-hochland" 134ms
And Create "CREATE_GRAY_WINDOW_OST" window by JSON file for test as "super-admin-hochland" 129ms
When Go to "WAREHOUSE_TAB" 737ms
And Select warehouse "Twarożkarnia wyrób gotowy" 1s 770ms
And Select view "DAYS_2" 2s 072ms
Then Check if gray window is in the schedule 2s 014ms
And Select warehouse "Opakowania, surowce twarożkarnia" 1s 230ms
And Select view "DAYS_2" 2s 051ms
And Check if gray window is in the schedule 2s 015ms
After Hooks.deleteTransportAfterTest() 000ms
After Hooks.deleteAllGrayWindowsAfterTest() 15s 192ms
View Feature Schedule
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 1s 294ms
And Create "CREATE_GRAY_WINDOW_MGW" window by JSON file for test as "super-admin-skz" 071ms
And Create "CREATE_GRAY_WINDOW_HRL" window by JSON file for test as "super-admin-skz" 063ms
When Go to "WAREHOUSE_TAB" 466ms
And Select warehouse "MGW" 1s 164ms
And Select view "DAYS_2" 2s 072ms
Then Check if gray window is in the schedule 2s 024ms
And Select warehouse "HRL" 1s 375ms
And Select view "DAYS_2" 2s 052ms
And Check if gray window is in the schedule 2s 016ms
After Hooks.deleteTransportAfterTest() 001ms
After Hooks.deleteAllGrayWindowsAfterTest() 15s 160ms
View Feature Gray Window atom tests
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 463ms
And Create "CREATE_GRAY_WINDOW_TWG" window by JSON file for test as "super-admin-hochland" 051ms
When Go to "WAREHOUSE_TAB" 717ms
And Select warehouse "Twarożkarnia wyrób gotowy" 1s 817ms
And Go to next day in schedule 1s 099ms
And Move gray window to new location 1s 391ms
Then Check if gray window is in new location 1s 013ms
After Hooks.deleteAllGrayWindowsAfterTest() 082ms
View Feature Gray Window atom tests
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 135ms
And Create "CREATE_GRAY_WINDOW_MHA" window by JSON file for test as "super-admin-piast" 061ms
When Go to "WAREHOUSE_TAB" 445ms
And Select warehouse "Magazyn Hala A" 1s 148ms
And Go to next day in schedule 1s 055ms
And Move gray window to new location 1s 362ms
Then Check if gray window is in new location 1s 014ms
After Hooks.deleteAllGrayWindowsAfterTest() 089ms
View Feature Gray Window atom tests
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 1s 028ms
And Create "CREATE_GRAY_WINDOW_MNS" window by JSON file for test as "super-admin-lantmannen" 058ms
When Go to "WAREHOUSE_TAB" 787ms
And Select warehouse "Magazyn - Nowa Sól" 2s 076ms
And Go to next day in schedule 1s 087ms
And Move gray window to new location 1s 410ms
Then Check if gray window is in new location 1s 012ms
After Hooks.deleteAllGrayWindowsAfterTest() 085ms
View Feature Gray Window atom tests
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 1s 120ms
And Create "CREATE_GRAY_WINDOW_MAL" window by JSON file for test as "super-admin-alrec" 053ms
When Go to "WAREHOUSE_TAB" 296ms
And Select warehouse "Magazyn Alrec Łódź" 1s 149ms
And Go to next day in schedule 1s 051ms
And Move gray window to new location 1s 325ms
Then Check if gray window is in new location 1s 016ms
After Hooks.deleteAllGrayWindowsAfterTest() 072ms
View Feature Gray Window atom tests
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 335ms
When Go to "WAREHOUSE_TAB" 755ms
And Select warehouse "Twarożkarnia wyrób gotowy" 1s 768ms
When Click in free spot in schedule page to create gray window 228ms
Then Check if gray window is in the schedule 2s 020ms
After Hooks.deleteAllGrayWindowsAfterTest() 149ms
View Feature Gray Window atom tests
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 206ms
When Go to "WAREHOUSE_TAB" 484ms
And Select warehouse "Magazyn Hala A" 1s 160ms
When Click in free spot in schedule page to create gray window 248ms
Then Check if gray window is in the schedule 2s 016ms
After Hooks.deleteAllGrayWindowsAfterTest() 089ms
View Feature Gray Window atom tests
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 1s 049ms
When Go to "WAREHOUSE_TAB" 802ms
And Select warehouse "Magazyn - Nowa Sól" 2s 081ms
When Click in free spot in schedule page to create gray window 227ms
Then Check if gray window is in the schedule 2s 023ms
After Hooks.deleteAllGrayWindowsAfterTest() 074ms
View Feature Gray Window atom tests
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 1s 111ms
When Go to "WAREHOUSE_TAB" 287ms
And Select warehouse "Magazyn Alrec Łódź" 1s 140ms
When Click in free spot in schedule page to create gray window 191ms
Then Check if gray window is in the schedule 2s 015ms
After Hooks.deleteAllGrayWindowsAfterTest() 084ms
View Feature Gray Window atom tests
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 331ms
And Create "CREATE_GRAY_WINDOW_TWG" window by JSON file for test as "super-admin-hochland" 058ms
When Go to "WAREHOUSE_TAB" 761ms
And Select warehouse "Twarożkarnia wyrób gotowy" 1s 759ms
And Set week view 1s 083ms
When Delete gray window from schedule 1s 055ms
Then Check if gray window is no longer in schedule 15s 050ms
After Hooks.deleteAllGrayWindowsAfterTest() 15s 123ms
View Feature Gray Window atom tests
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 252ms
And Create "CREATE_GRAY_WINDOW_MHA" window by JSON file for test as "super-admin-piast" 065ms
When Go to "WAREHOUSE_TAB" 498ms
And Select warehouse "Magazyn Hala A" 1s 138ms
And Set week view 2s 008ms
When Delete gray window from schedule 1s 164ms
Then Check if gray window is no longer in schedule 15s 100ms
After Hooks.deleteAllGrayWindowsAfterTest() 15s 166ms
View Feature Gray Window atom tests
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 1s 263ms
And Create "CREATE_GRAY_WINDOW_MNS" window by JSON file for test as "super-admin-lantmannen" 065ms
When Go to "WAREHOUSE_TAB" 796ms
And Select warehouse "Magazyn - Nowa Sól" 2s 081ms
And Set week view 1s 124ms
When Delete gray window from schedule 1s 097ms
Then Check if gray window is no longer in schedule 15s 038ms
After Hooks.deleteAllGrayWindowsAfterTest() 15s 061ms
View Feature Gray Window atom tests
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 1s 250ms
And Create "CREATE_GRAY_WINDOW_MAL" window by JSON file for test as "super-admin-alrec" 060ms
When Go to "WAREHOUSE_TAB" 307ms
And Select warehouse "Magazyn Alrec Łódź" 1s 141ms
And Set week view 1s 473ms
When Delete gray window from schedule 1s 066ms
Then Check if gray window is no longer in schedule 15s 015ms
After Hooks.deleteAllGrayWindowsAfterTest() 15s 077ms
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 021ms
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)