Project Number Date
ApolloFullRunnerReport master.419 11 maj 2021, 22:24

Tag Report

Steps Scenarios Features
Tag Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
@deleteAllGrayWindowsAfterTest 116 1 6 0 0 123 16 1 17 3m 10s 609ms Failed
View Feature Schedule
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 639ms
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" 055ms
When Go to "WAREHOUSE_TAB" 813ms
And Select warehouse "Twarożkarnia wyrób gotowy" 1s 816ms
And Select view "DAYS_2" 2s 084ms
Then Check if gray window is in the schedule 2s 023ms
And Select warehouse "Opakowania, surowce twarożkarnia" 1s 269ms
And Select view "DAYS_2" 2s 050ms
And Check if gray window is in the schedule 2s 014ms
After Hooks.deleteAllGrayWindowsAfterTest() 15s 172ms
After Hooks.deleteTransportAfterTest() 000ms
View Feature Schedule
Given Login as "hochland-producer" and set token of apiUsername "super-admin-hochland" 2s 707ms
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" 085ms
When Go to "WAREHOUSE_TAB" 773ms
And Select warehouse "Twarożkarnia wyrób gotowy" 1s 784ms
And Select view "DAYS_2" 2s 086ms
Then Check if gray window is in the schedule 2s 022ms
And Select warehouse "Opakowania, surowce twarożkarnia" 1s 259ms
And Select view "DAYS_2" 2s 043ms
And Check if gray window is in the schedule 2s 015ms
After Hooks.deleteAllGrayWindowsAfterTest() 15s 192ms
After Hooks.deleteTransportAfterTest() 000ms
View Feature Schedule
Given Login as "pha1-carrier@qa.qa-test" and set token of apiUsername "super-admin-hochland" 2s 636ms
And Create "CREATE_GRAY_WINDOW_TWG" window by JSON file for test as "super-admin-hochland" 111ms
And Create "CREATE_GRAY_WINDOW_OST" window by JSON file for test as "super-admin-hochland" 096ms
When Go to "WAREHOUSE_TAB" 775ms
And Select warehouse "Twarożkarnia wyrób gotowy" 1s 883ms
And Select view "DAYS_2" 2s 077ms
Then Check if gray window is in the schedule 2s 022ms
And Select warehouse "Opakowania, surowce twarożkarnia" 1s 250ms
And Select view "DAYS_2" 2s 054ms
And Check if gray window is in the schedule 2s 015ms
After Hooks.deleteAllGrayWindowsAfterTest() 15s 190ms
After Hooks.deleteTransportAfterTest() 000ms
View Feature Schedule
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 1s 311ms
And Create "CREATE_GRAY_WINDOW_MGW" window by JSON file for test as "super-admin-skz" 049ms
And Create "CREATE_GRAY_WINDOW_HRL" window by JSON file for test as "super-admin-skz" 056ms
When Go to "WAREHOUSE_TAB" 455ms
And Select warehouse "MGW" 1s 176ms
And Select view "DAYS_2" 2s 080ms
Then Check if gray window is in the schedule 2s 025ms
And Select warehouse "HRL" 1s 398ms
And Select view "DAYS_2" 2s 053ms
And Check if gray window is in the schedule 2s 016ms
After Hooks.deleteAllGrayWindowsAfterTest() 15s 200ms
After Hooks.deleteTransportAfterTest() 000ms
View Feature Gray Window atom tests
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 785ms
And Create "CREATE_GRAY_WINDOW_TWG" window by JSON file for test as "super-admin-hochland" 059ms
When Go to "WAREHOUSE_TAB" 782ms
And Select warehouse "Twarożkarnia wyrób gotowy" 1s 827ms
And Go to next day in schedule 1s 083ms
And Move gray window to new location 1s 402ms
Then Check if gray window is in new location 1s 013ms
After Hooks.deleteAllGrayWindowsAfterTest() 065ms
View Feature Gray Window atom tests
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 114ms
And Create "CREATE_GRAY_WINDOW_MHA" window by JSON file for test as "super-admin-piast" 040ms
When Go to "WAREHOUSE_TAB" 437ms
And Select warehouse "Magazyn Hala A" 1s 158ms
And Go to next day in schedule 1s 060ms
And Move gray window to new location 1s 339ms
Then Check if gray window is in new location 1s 014ms
After Hooks.deleteAllGrayWindowsAfterTest() 066ms
View Feature Gray Window atom tests
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 969ms
And Create "CREATE_GRAY_WINDOW_MNS" window by JSON file for test as "super-admin-lantmannen" 035ms
When Go to "WAREHOUSE_TAB" 585ms
And Select warehouse "Magazyn - Nowa Sól" 2s 240ms
And Go to next day in schedule 1s 076ms
And Move gray window to new location 1s 479ms
Then Check if gray window is in new location 1s 012ms
After Hooks.deleteAllGrayWindowsAfterTest() 072ms
View Feature Gray Window atom tests
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 1s 080ms
And Create "CREATE_GRAY_WINDOW_MAL" window by JSON file for test as "super-admin-alrec" 034ms
When Go to "WAREHOUSE_TAB" 288ms
And Select warehouse "Magazyn Alrec Łódź" 1s 137ms
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 012ms
After Hooks.deleteAllGrayWindowsAfterTest() 049ms
View Feature Gray Window atom tests
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 349ms
When Go to "WAREHOUSE_TAB" 739ms
And Select warehouse "Twarożkarnia wyrób gotowy" 1s 824ms
When Click in free spot in schedule page to create gray window 193ms
Then Check if gray window is in the schedule 2s 019ms
After Hooks.deleteAllGrayWindowsAfterTest() 144ms
View Feature Gray Window atom tests
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 098ms
When Go to "WAREHOUSE_TAB" 445ms
And Select warehouse "Magazyn Hala A" 1s 158ms
When Click in free spot in schedule page to create gray window 187ms
Then Check if gray window is in the schedule 2s 016ms
After Hooks.deleteAllGrayWindowsAfterTest() 062ms
View Feature Gray Window atom tests
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 1s 017ms
When Go to "WAREHOUSE_TAB" 596ms
And Select warehouse "Magazyn - Nowa Sól" 2s 174ms
When Click in free spot in schedule page to create gray window 210ms
Then Check if gray window is in the schedule 2s 030ms
After Hooks.deleteAllGrayWindowsAfterTest() 060ms
View Feature Gray Window atom tests
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 1s 118ms
When Go to "WAREHOUSE_TAB" 278ms
And Select warehouse "Magazyn Alrec Łódź" 1s 145ms
When Click in free spot in schedule page to create gray window 167ms
Then Check if gray window is in the schedule 2s 015ms
After Hooks.deleteAllGrayWindowsAfterTest() 049ms
View Feature Gray Window atom tests
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 407ms
And Create "CREATE_GRAY_WINDOW_TWG" window by JSON file for test as "super-admin-hochland" 057ms
When Go to "WAREHOUSE_TAB" 745ms
And Select warehouse "Twarożkarnia wyrób gotowy" 1s 845ms
And Set week view 1s 124ms
When Delete gray window from schedule 1s 065ms
Then Check if gray window is no longer in schedule 15s 112ms
After Hooks.deleteAllGrayWindowsAfterTest() 15s 074ms
View Feature Gray Window atom tests
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 202ms
And Create "CREATE_GRAY_WINDOW_MHA" window by JSON file for test as "super-admin-piast" 048ms
When Go to "WAREHOUSE_TAB" 455ms
And Select warehouse "Magazyn Hala A" 1s 160ms
And Set week view 2s 065ms
When Delete gray window from schedule 1s 198ms
Then Check if gray window is no longer in schedule 15s 092ms
After Hooks.deleteAllGrayWindowsAfterTest() 15s 055ms
View Feature Gray Window atom tests
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 1s 143ms
And Create "CREATE_GRAY_WINDOW_MNS" window by JSON file for test as "super-admin-lantmannen" 034ms
When Go to "WAREHOUSE_TAB" 592ms
And Select warehouse "Magazyn - Nowa Sól" 2s 306ms
And Set week view 1s 107ms
When Delete gray window from schedule 1s 062ms
Then Check if gray window is no longer in schedule 15s 031ms
After Hooks.deleteAllGrayWindowsAfterTest() 15s 054ms
View Feature Gray Window atom tests
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 1s 206ms
And Create "CREATE_GRAY_WINDOW_MAL" window by JSON file for test as "super-admin-alrec" 034ms
When Go to "WAREHOUSE_TAB" 290ms
And Select warehouse "Magazyn Alrec Łódź" 1s 147ms
And Set week view 1s 474ms
When Delete gray window from schedule 1s 075ms
Then Check if gray window is no longer in schedule 15s 054ms
After Hooks.deleteAllGrayWindowsAfterTest() 15s 087ms
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" 007ms
java.lang.AssertionError: 1 expectation failed.
Expected status code <200> but was <401>.

	at sun.reflect.GeneratedConstructorAccessor217.newInstance(Unknown Source)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:83)
	at org.codehaus.groovy.reflection.CachedConstructor.doConstructorInvoke(CachedConstructor.java:77)
	at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrap.callConstructor(ConstructorSite.java:84)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:250)
	at io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure.validate(ResponseSpecificationImpl.groovy:494)
	at io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure$validate$1.call(Unknown Source)
	at io.restassured.internal.RequestSpecificationImpl.applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy:1750)
	at sun.reflect.GeneratedMethodAccessor94.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:98)
	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1225)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1034)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:822)
	at io.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:47)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.callCurrent(PogoInterceptableSite.java:57)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:185)
	at io.restassured.internal.RequestSpecificationImpl.applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy:1755)
	at sun.reflect.GeneratedMethodAccessor93.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:98)
	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1225)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1034)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:822)
	at io.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:47)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.callCurrent(PogoInterceptableSite.java:57)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:185)
	at io.restassured.internal.RequestSpecificationImpl.post(RequestSpecificationImpl.groovy:175)
	at io.restassured.internal.RequestSpecificationImpl.post(RequestSpecificationImpl.groovy)
	at Utils.RestUtils.RestUtil.getAuthenticationTokenForUser(RestUtil.java:129)
	at Utils.RestUtils.RestUtil.getAuthenticationTokenForUser(RestUtil.java:105)
	at CucumberTests.LoginTest.loginAsAndSetTokenOfApiUsername(LoginTest.java:70)
	at ✽.Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper"(file:Features/Atom/Transport/CrudTransport.feature:171)
And Create transport "CREATE_LOAD" by JSON file as "super-admin-keeeper" 000ms
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.deleteAllGrayWindowsAfterTest() 000ms
java.lang.NullPointerException: Nie udalo sie pobrać id szarego okna
	at CucumberTests.Hooks.deleteAllGrayWindowsAfterTest(Hooks.java:189)
	at sun.reflect.GeneratedMethodAccessor265.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)
After Hooks.deleteTransportAfterTest() 000ms