Project Number Date
ApolloFullRunnerReport develop.344 19 maj 2021, 19:36

Tag Report

Steps Scenarios Features
Tag Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
@deleteAllGrayWindowsAfterTest 118 1 4 0 0 123 16 1 17 3m 12s 059ms Failed
View Feature Schedule
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 395ms
And Create "CREATE_GRAY_WINDOW_TWG" window by JSON file for test as "super-admin-hochland" 049ms
And Create "CREATE_GRAY_WINDOW_OST" window by JSON file for test as "super-admin-hochland" 031ms
When Go to "WAREHOUSE_TAB" 813ms
And Select warehouse "Twarożkarnia wyrób gotowy" 1s 933ms
And Select view "DAYS_2" 2s 091ms
Then Check if gray window is in the schedule 2s 025ms
And Select warehouse "Opakowania, surowce twarożkarnia" 1s 276ms
And Select view "DAYS_2" 2s 052ms
And Check if gray window is in the schedule 2s 014ms
After Hooks.deleteTransportAfterTest() 001ms
After Hooks.deleteAllGrayWindowsAfterTest() 15s 163ms
View Feature Schedule
Given Login as "hochland-producer" and set token of apiUsername "super-admin-hochland" 2s 535ms
And Create "CREATE_GRAY_WINDOW_TWG" window by JSON file for test as "super-admin-hochland" 029ms
And Create "CREATE_GRAY_WINDOW_OST" window by JSON file for test as "super-admin-hochland" 064ms
When Go to "WAREHOUSE_TAB" 766ms
And Select warehouse "Twarożkarnia wyrób gotowy" 1s 834ms
And Select view "DAYS_2" 2s 074ms
Then Check if gray window is in the schedule 2s 025ms
And Select warehouse "Opakowania, surowce twarożkarnia" 1s 265ms
And Select view "DAYS_2" 2s 041ms
And Check if gray window is in the schedule 2s 015ms
After Hooks.deleteTransportAfterTest() 001ms
After Hooks.deleteAllGrayWindowsAfterTest() 15s 173ms
View Feature Schedule
Given Login as "pha1-carrier@qa.qa-test" and set token of apiUsername "super-admin-hochland" 2s 479ms
And Create "CREATE_GRAY_WINDOW_TWG" window by JSON file for test as "super-admin-hochland" 035ms
And Create "CREATE_GRAY_WINDOW_OST" window by JSON file for test as "super-admin-hochland" 028ms
When Go to "WAREHOUSE_TAB" 789ms
And Select warehouse "Twarożkarnia wyrób gotowy" 1s 838ms
And Select view "DAYS_2" 2s 085ms
Then Check if gray window is in the schedule 2s 023ms
And Select warehouse "Opakowania, surowce twarożkarnia" 1s 246ms
And Select view "DAYS_2" 2s 049ms
And Check if gray window is in the schedule 2s 015ms
After Hooks.deleteTransportAfterTest() 001ms
After Hooks.deleteAllGrayWindowsAfterTest() 15s 154ms
View Feature Schedule
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 1s 178ms
And Create "CREATE_GRAY_WINDOW_MGW" window by JSON file for test as "super-admin-skz" 065ms
And Create "CREATE_GRAY_WINDOW_HRL" window by JSON file for test as "super-admin-skz" 032ms
When Go to "WAREHOUSE_TAB" 457ms
And Select warehouse "MGW" 1s 161ms
And Select view "DAYS_2" 2s 073ms
Then Check if gray window is in the schedule 2s 021ms
And Select warehouse "HRL" 1s 382ms
And Select view "DAYS_2" 2s 054ms
And Check if gray window is in the schedule 2s 016ms
After Hooks.deleteTransportAfterTest() 001ms
After Hooks.deleteAllGrayWindowsAfterTest() 15s 148ms
View Feature Gray Window atom tests
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 397ms
And Create "CREATE_GRAY_WINDOW_TWG" window by JSON file for test as "super-admin-hochland" 051ms
When Go to "WAREHOUSE_TAB" 745ms
And Select warehouse "Twarożkarnia wyrób gotowy" 1s 825ms
And Go to next day in schedule 1s 087ms
And Move gray window to new location 1s 405ms
Then Check if gray window is in new location 1s 012ms
After Hooks.deleteAllGrayWindowsAfterTest() 066ms
View Feature Gray Window atom tests
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 113ms
And Create "CREATE_GRAY_WINDOW_MHA" window by JSON file for test as "super-admin-piast" 041ms
When Go to "WAREHOUSE_TAB" 437ms
And Select warehouse "Magazyn Hala A" 1s 154ms
And Go to next day in schedule 1s 069ms
And Move gray window to new location 1s 349ms
Then Check if gray window is in new location 1s 015ms
After Hooks.deleteAllGrayWindowsAfterTest() 068ms
View Feature Gray Window atom tests
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 1s 009ms
And Create "CREATE_GRAY_WINDOW_MNS" window by JSON file for test as "super-admin-lantmannen" 031ms
When Go to "WAREHOUSE_TAB" 604ms
And Select warehouse "Magazyn - Nowa Sól" 2s 265ms
And Go to next day in schedule 1s 105ms
And Move gray window to new location 1s 469ms
Then Check if gray window is in new location 1s 013ms
After Hooks.deleteAllGrayWindowsAfterTest() 062ms
View Feature Gray Window atom tests
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 1s 156ms
And Create "CREATE_GRAY_WINDOW_MAL" window by JSON file for test as "super-admin-alrec" 035ms
When Go to "WAREHOUSE_TAB" 284ms
And Select warehouse "Magazyn Alrec Łódź" 1s 127ms
And Go to next day in schedule 1s 070ms
And Move gray window to new location 1s 326ms
Then Check if gray window is in new location 1s 030ms
After Hooks.deleteAllGrayWindowsAfterTest() 054ms
View Feature Gray Window atom tests
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 418ms
When Go to "WAREHOUSE_TAB" 710ms
And Select warehouse "Twarożkarnia wyrób gotowy" 1s 849ms
When Click in free spot in schedule page to create gray window 207ms
Then Check if gray window is in the schedule 2s 020ms
After Hooks.deleteAllGrayWindowsAfterTest() 145ms
View Feature Gray Window atom tests
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 118ms
When Go to "WAREHOUSE_TAB" 449ms
And Select warehouse "Magazyn Hala A" 1s 159ms
When Click in free spot in schedule page to create gray window 178ms
Then Check if gray window is in the schedule 2s 014ms
After Hooks.deleteAllGrayWindowsAfterTest() 051ms
View Feature Gray Window atom tests
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 1s 147ms
When Go to "WAREHOUSE_TAB" 624ms
And Select warehouse "Magazyn - Nowa Sól" 2s 231ms
When Click in free spot in schedule page to create gray window 176ms
Then Check if gray window is in the schedule 2s 080ms
After Hooks.deleteAllGrayWindowsAfterTest() 116ms
View Feature Gray Window atom tests
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 996ms
When Go to "WAREHOUSE_TAB" 276ms
And Select warehouse "Magazyn Alrec Łódź" 1s 126ms
When Click in free spot in schedule page to create gray window 152ms
Then Check if gray window is in the schedule 2s 010ms
After Hooks.deleteAllGrayWindowsAfterTest() 041ms
View Feature Gray Window atom tests
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 417ms
And Create "CREATE_GRAY_WINDOW_TWG" window by JSON file for test as "super-admin-hochland" 035ms
When Go to "WAREHOUSE_TAB" 779ms
And Select warehouse "Twarożkarnia wyrób gotowy" 1s 816ms
And Set week view 1s 105ms
When Delete gray window from schedule 1s 063ms
Then Check if gray window is no longer in schedule 15s 048ms
After Hooks.deleteAllGrayWindowsAfterTest() 15s 111ms
View Feature Gray Window atom tests
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 235ms
And Create "CREATE_GRAY_WINDOW_MHA" window by JSON file for test as "super-admin-piast" 035ms
When Go to "WAREHOUSE_TAB" 453ms
And Select warehouse "Magazyn Hala A" 1s 150ms
And Set week view 2s 041ms
When Delete gray window from schedule 1s 185ms
Then Check if gray window is no longer in schedule 15s 155ms
After Hooks.deleteAllGrayWindowsAfterTest() 15s 068ms
View Feature Gray Window atom tests
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 1s 146ms
And Create "CREATE_GRAY_WINDOW_MNS" window by JSON file for test as "super-admin-lantmannen" 032ms
When Go to "WAREHOUSE_TAB" 643ms
And Select warehouse "Magazyn - Nowa Sól" 2s 270ms
And Set week view 1s 137ms
When Delete gray window from schedule 1s 079ms
Then Check if gray window is no longer in schedule 15s 021ms
After Hooks.deleteAllGrayWindowsAfterTest() 15s 078ms
View Feature Gray Window atom tests
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 1s 255ms
And Create "CREATE_GRAY_WINDOW_MAL" window by JSON file for test as "super-admin-alrec" 042ms
When Go to "WAREHOUSE_TAB" 279ms
And Select warehouse "Magazyn Alrec Łódź" 1s 141ms
And Set week view 1s 459ms
When Delete gray window from schedule 1s 061ms
Then Check if gray window is no longer in schedule 15s 009ms
After Hooks.deleteAllGrayWindowsAfterTest() 15s 060ms
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 162ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-keeeper" 1s 229ms
And Create gray windows "CREATE_GRAY_WINDOW_MWG" on "PRZESYŁKI DROBNICOWE" in "Magazyn Wyrobów Gotowych" as "super-admin-keeeper" 002ms
javax.persistence.PersistenceException: org.hibernate.exception.JDBCConnectionException: could not prepare statement
	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.findCompanyIdByUsername(ApolloSelectDbService.java:148)
	at CucumberTests.GrayWindow.CreateGrayWindowTest.createGrayWindowOnAssortmentGroup(CreateGrayWindowTest.java:78)
	at ✽.Create gray windows "CREATE_GRAY_WINDOW_MWG" on "PRZESYŁKI DROBNICOWE" in "Magazyn Wyrobów Gotowych" as "super-admin-keeeper"(file:Features/Atom/Transport/CrudTransport.feature:173)
Caused by: org.hibernate.exception.JDBCConnectionException: could not prepare statement
	at org.hibernate.exception.internal.SQLStateConversionDelegate.convert(SQLStateConversionDelegate.java:115)
	at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:42)
	at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:111)
	at org.hibernate.engine.jdbc.internal.StatementPreparerImpl$StatementPreparationTemplate.prepareStatement(StatementPreparerImpl.java:182)
	at org.hibernate.engine.jdbc.internal.StatementPreparerImpl.prepareQueryStatement(StatementPreparerImpl.java:148)
	at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1984)
	at org.hibernate.loader.Loader.executeQueryStatement(Loader.java:1914)
	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.findCompanyIdByUsername(ApolloSelectDbService.java:148)
	at CucumberTests.GrayWindow.CreateGrayWindowTest.createGrayWindowOnAssortmentGroup(CreateGrayWindowTest.java:78)
	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: This connection has been closed.
	at org.postgresql.jdbc2.AbstractJdbc2Connection.checkClosed(AbstractJdbc2Connection.java:714)
	at org.postgresql.jdbc3.AbstractJdbc3Connection.prepareStatement(AbstractJdbc3Connection.java:274)
	at org.postgresql.jdbc2.AbstractJdbc2Connection.prepareStatement(AbstractJdbc2Connection.java:198)
	at org.hibernate.engine.jdbc.internal.StatementPreparerImpl$5.doPrepare(StatementPreparerImpl.java:146)
	at org.hibernate.engine.jdbc.internal.StatementPreparerImpl$StatementPreparationTemplate.prepareStatement(StatementPreparerImpl.java:172)
	... 62 more
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() 081ms
After Hooks.deleteAllGrayWindowsAfterTest() 000ms
java.lang.NullPointerException: Nie udalo sie pobrać id szarego okna
	at CucumberTests.Hooks.deleteAllGrayWindowsAfterTest(Hooks.java:200)
	at sun.reflect.GeneratedMethodAccessor272.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)