Project Number Date
ApolloFullRunnerReport apollo-test-2.153 10 wrz 2021, 06:23

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Gray Window atom tests 125 3 11 0 0 139 18 3 21 5m 19s 723ms Failed
Feature Gray Window atom tests
Check gray window functionality
Before Hooks.showScenarioName(Scenario) 000ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 008ms
And Create "CREATE_GRAY_WINDOW_TWG" window by JSON file for test as "super-admin-hochland" 236ms
When Go to "WAREHOUSE_TAB" 1s 373ms
And Select warehouse "Twarożkarnia wyrób gotowy" 1s 911ms
And Go to next day in schedule 1s 141ms
And Move gray window to new location 1s 650ms
Then Check if gray window is in new location 1s
After Hooks.deleteAllGrayWindowsAfterTest() 260ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 549ms
And Create "CREATE_GRAY_WINDOW_MHA" window by JSON file for test as "super-admin-piast" 202ms
When Go to "WAREHOUSE_TAB" 902ms
And Select warehouse "Magazyn Hala A" 1s 619ms
And Go to next day in schedule 1s 142ms
And Move gray window to new location 1s 628ms
Then Check if gray window is in new location 1s
After Hooks.deleteAllGrayWindowsAfterTest() 254ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 2s 388ms
And Create "CREATE_GRAY_WINDOW_MNS" window by JSON file for test as "super-admin-lantmannen" 202ms
When Go to "WAREHOUSE_TAB" 1s 312ms
And Select warehouse "Magazyn - Nowa Sól" 2s 164ms
And Go to next day in schedule 1s 500ms
And Move gray window to new location 1s 773ms
Then Check if gray window is in new location 1s
After Hooks.deleteAllGrayWindowsAfterTest() 247ms
Scenario Outline Check if it is possible to move gray window in the same day at the same ramp
Before Hooks.showScenarioName(Scenario) 000ms
Steps
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 2s 554ms
And Create "CREATE_GRAY_WINDOW_MAL" window by JSON file for test as "super-admin-alrec" 215ms
When Go to "WAREHOUSE_TAB" 694ms
And Select warehouse "Magazyn Alrec" 1s 357ms
And Go to next day in schedule 1s 135ms
And Move gray window to new location 491ms
org.openqa.selenium.StaleElementReferenceException: stale element reference: element is not attached to the page document
  (Session info: headless chrome=93.0.4577.63)
For documentation on this error, please visit: http://seleniumhq.org/exceptions/stale_element_reference.html
Build info: version: '3.6.0', revision: '6fbf3ec767', time: '2017-09-27T15:28:36.4Z'
System info: host: 'apollo-test-2', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '5.8.0-50-generic', java.version: '1.8.0_292'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Capabilities [{networkConnectionEnabled=false, chrome={chromedriverVersion=93.0.4577.15 (660fc11082ba57405eca2e8c49c3e1af756fbfae-refs/branch-heads/4577@{#203}), userDataDir=/home/teamcity/build-agent-2/temp/buildTmp/.com.google.Chrome.pj7a4T}, timeouts={implicit=0, pageLoad=300000, script=30000}, pageLoadStrategy=normal, unhandledPromptBehavior=dismiss and notify, strictFileInteractability=false, platform=LINUX, proxy=Proxy(), goog:chromeOptions={debuggerAddress=localhost:9222}, webauthn:extension:credBlob=true, acceptInsecureCerts=false, browserVersion=93.0.4577.63, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: 4b3acac1f1734e8a8580a196118c9f90
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:185)
	at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:120)
	at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:49)
	at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:164)
	at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83)
	at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:586)
	at org.openqa.selenium.remote.RemoteWebElement.execute(RemoteWebElement.java:279)
	at org.openqa.selenium.remote.RemoteWebElement.getAttribute(RemoteWebElement.java:128)
	at CucumberTests.GrayWindow.MoveGrayWindowTest.moveGrayWindowToNewLocation(MoveGrayWindowTest.java:29)
	at ✽.Move gray window to new location(file:Features/Atom/TimeWindow/GrayWindow.feature:11)
Then Check if gray window is in new location 000ms
Hooks
After Hooks.deleteAllGrayWindowsAfterTest() 264ms
java.lang.AssertionError: 1 expectation failed.
Expected status code <200> but was <422>.

	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	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.CallSiteArray.defaultCallConstructor(CallSiteArray.java:59)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:238)
	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.GeneratedMethodAccessor79.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.GeneratedMethodAccessor78.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.delete(RequestSpecificationImpl.groovy:183)
	at io.restassured.internal.RequestSpecificationImpl.delete(RequestSpecificationImpl.groovy)
	at Utils.RestUtils.RestUtil.deleteResponse(RestUtil.java:344)
	at Utils.RestUtils.RestUtil.deleteFromApolloApi(RestUtil.java:220)
	at CucumberTests.Hooks.deleteAllGrayWindowsAfterTest(Hooks.java:241)
	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.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)
Before Hooks.showScenarioName(Scenario) 000ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 918ms
When Go to "WAREHOUSE_TAB" 1s 288ms
And Select warehouse "Twarożkarnia wyrób gotowy" 1s 831ms
When Click in free spot in schedule page to create gray window 633ms
Then Check if gray window is in the schedule 2s 039ms
After Hooks.deleteAllGrayWindowsAfterTest() 259ms
Before Hooks.showScenarioName(Scenario) 022ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 541ms
When Go to "WAREHOUSE_TAB" 924ms
And Select warehouse "Magazyn Hala A" 1s 630ms
When Click in free spot in schedule page to create gray window 607ms
Then Check if gray window is in the schedule 2s 045ms
After Hooks.deleteAllGrayWindowsAfterTest() 263ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 2s 335ms
When Go to "WAREHOUSE_TAB" 1s 268ms
And Select warehouse "Magazyn - Nowa Sól" 2s 264ms
When Click in free spot in schedule page to create gray window 736ms
Then Check if gray window is in the schedule 2s 048ms
After Hooks.deleteAllGrayWindowsAfterTest() 249ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 2s 533ms
When Go to "WAREHOUSE_TAB" 671ms
And Select warehouse "Magazyn Alrec" 1s 356ms
When Click in free spot in schedule page to create gray window 559ms
Then Check if gray window is in the schedule 2s 035ms
After Hooks.deleteAllGrayWindowsAfterTest() 214ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 858ms
And Create "CREATE_GRAY_WINDOW_TWG" window by JSON file for test as "super-admin-hochland" 203ms
When Go to "WAREHOUSE_TAB" 1s 262ms
And Select warehouse "Twarożkarnia wyrób gotowy" 1s 929ms
And Set week view 1s 268ms
When Delete gray window from schedule 2s 220ms
Then Check if gray window is no longer in schedule 15s 073ms
After Hooks.deleteAllGrayWindowsAfterTest() 15s 227ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 655ms
And Create "CREATE_GRAY_WINDOW_MHA" window by JSON file for test as "super-admin-piast" 207ms
When Go to "WAREHOUSE_TAB" 1s 037ms
And Select warehouse "Magazyn Hala A" 1s 647ms
And Set week view 2s 350ms
When Delete gray window from schedule 5s 385ms
Then Check if gray window is no longer in schedule 15s 062ms
After Hooks.deleteAllGrayWindowsAfterTest() 15s 245ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 2s 523ms
And Create "CREATE_GRAY_WINDOW_MNS" window by JSON file for test as "super-admin-lantmannen" 218ms
When Go to "WAREHOUSE_TAB" 1s 329ms
And Select warehouse "Magazyn - Nowa Sól" 2s 122ms
And Set week view 1s 265ms
When Delete gray window from schedule 5s 334ms
Then Check if gray window is no longer in schedule 15s 062ms
After Hooks.deleteAllGrayWindowsAfterTest() 15s 243ms
Scenario Outline Check if possible to delete gray window
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 2s 719ms
And Create "CREATE_GRAY_WINDOW_MAL" window by JSON file for test as "super-admin-alrec" 135ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /time-windows; status: 422, komunikat: [errors:[[detail:Nie możemy zarezerwować okna czasowego o długości 120 minut we wskazanym miejscu, ponieważ magazyn jest już zajęty w tych godzinach. Prosimy o wybranie innej godziny lub rampy., title:WindowsOverlapException, status:[enumType:org.springframework.http.HttpStatus, name:UNPROCESSABLE_ENTITY]]]]
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.RestUtils.RestUtil.postObjectToApolloApi(RestUtil.java:86)
	at CucumberTests.GrayWindow.CreateGrayWindowTest.createGrayWindowByJSONFileForTestAs(CreateGrayWindowTest.java:50)
	at ✽.Create "CREATE_GRAY_WINDOW_MAL" window by JSON file for test as "super-admin-alrec"(file:Features/Atom/TimeWindow/GrayWindow.feature:37)
When Go to "WAREHOUSE_TAB" 000ms
And Select warehouse "Magazyn Alrec" 000ms
And Set week view 000ms
When Delete gray window from schedule 000ms
Then Check if gray window is no longer in schedule 000ms
Hooks
After Hooks.deleteAllGrayWindowsAfterTest() 000ms
java.lang.NullPointerException: Nie udalo sie pobrać id szarego okna
	at CucumberTests.Hooks.deleteAllGrayWindowsAfterTest(Hooks.java:237)
	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.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)
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 815ms
And Create "CREATE_GRAY_WINDOW_TWG" window by JSON file for test as "super-admin-hochland" 236ms
When Go to "WAREHOUSE_TAB" 1s 281ms
And Select warehouse "Twarożkarnia wyrób gotowy" 1s 924ms
And Set week view 1s 267ms
And Set time window height "4" "grayWindow" 5s 647ms
Then Check height of the time window after expanding by "4" in "grayWindow" 074ms
After Hooks.deleteAllGrayWindowsAfterTest() 251ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 523ms
And Create "CREATE_GRAY_WINDOW_MHA" window by JSON file for test as "super-admin-piast" 215ms
When Go to "WAREHOUSE_TAB" 911ms
And Select warehouse "Magazyn Hala A" 1s 611ms
And Set week view 2s 494ms
And Set time window height "1" "grayWindow" 5s 741ms
Then Check height of the time window after expanding by "1" in "grayWindow" 080ms
After Hooks.deleteAllGrayWindowsAfterTest() 260ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 2s 504ms
And Create "CREATE_GRAY_WINDOW_MNS" window by JSON file for test as "super-admin-lantmannen" 195ms
When Go to "WAREHOUSE_TAB" 1s 359ms
And Select warehouse "Magazyn - Nowa Sól" 2s 131ms
And Set week view 1s 275ms
And Set time window height "2" "grayWindow" 5s 705ms
Then Check height of the time window after expanding by "2" in "grayWindow" 057ms
After Hooks.deleteAllGrayWindowsAfterTest() 241ms
Scenario Outline Check if it possible to resize gray window
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 2s 447ms
And Create "CREATE_GRAY_WINDOW_MAL" window by JSON file for test as "super-admin-alrec" 150ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /time-windows; status: 422, komunikat: [errors:[[detail:Nie możemy zarezerwować okna czasowego o długości 120 minut we wskazanym miejscu, ponieważ magazyn jest już zajęty w tych godzinach. Prosimy o wybranie innej godziny lub rampy., title:WindowsOverlapException, status:[enumType:org.springframework.http.HttpStatus, name:UNPROCESSABLE_ENTITY]]]]
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.RestUtils.RestUtil.postObjectToApolloApi(RestUtil.java:86)
	at CucumberTests.GrayWindow.CreateGrayWindowTest.createGrayWindowByJSONFileForTestAs(CreateGrayWindowTest.java:50)
	at ✽.Create "CREATE_GRAY_WINDOW_MAL" window by JSON file for test as "super-admin-alrec"(file:Features/Atom/TimeWindow/GrayWindow.feature:53)
When Go to "WAREHOUSE_TAB" 000ms
And Select warehouse "Magazyn Alrec" 000ms
And Set week view 000ms
And Set time window height "4" "grayWindow" 000ms
Then Check height of the time window after expanding by "4" in "grayWindow" 000ms
Hooks
After Hooks.deleteAllGrayWindowsAfterTest() 000ms
java.lang.NullPointerException: Nie udalo sie pobrać id szarego okna
	at CucumberTests.Hooks.deleteAllGrayWindowsAfterTest(Hooks.java:237)
	at sun.reflect.GeneratedMethodAccessor297.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)
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "hochland-admin" 2s 699ms
And Go to "WAREHOUSE_TAB" 1s 340ms
And Select warehouse "Twarożkarnia wyrób gotowy" 1s 857ms
When Click in free spot in schedule page to create gray window 630ms
When Move gray window to new location 1s 633ms
When Delete gray window from schedule 2s 200ms
Then Check if gray window is no longer in schedule 15s 102ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 940ms
And Go to "WAREHOUSE_TAB" 1s 273ms
And Select warehouse "Magazyn Zimny Kaźmierz" 2s 034ms
When Click in free spot in schedule page to create gray window 559ms
And Check if gray window is in the schedule 2s 047ms
And Add note text "Testowa notatka" on gray window 16s 628ms
Then Verify if added text "Testowa notatka" is visible on gray window note 088ms
After Hooks.deleteAllGrayWindowsAfterTest() 252ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 554ms
And Go to "WAREHOUSE_TAB" 910ms
And Select warehouse "Magazyn Hala A" 1s 641ms
When Click in free spot in schedule page to create gray window 627ms
And Check if gray window is in the schedule 2s 041ms
And Add note text "Testowa notatka" on gray window 16s 544ms
Then Verify if added text "Testowa notatka" is visible on gray window note 098ms
After Hooks.deleteAllGrayWindowsAfterTest() 254ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 2s 529ms
And Go to "WAREHOUSE_TAB" 1s 296ms
And Select warehouse "Magazyn - Nowa Sól" 2s 113ms
When Click in free spot in schedule page to create gray window 827ms
And Check if gray window is in the schedule 2s 049ms
And Add note text "Testowa notatka" on gray window 16s 590ms
Then Verify if added text "Testowa notatka" is visible on gray window note 084ms
After Hooks.deleteAllGrayWindowsAfterTest() 228ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 2s 773ms
And Go to "WAREHOUSE_TAB" 792ms
And Select warehouse "Magazyn Alrec" 1s 307ms
When Click in free spot in schedule page to create gray window 551ms
And Check if gray window is in the schedule 2s 028ms
And Add note text "Testowa notatka" on gray window 16s 283ms
Then Verify if added text "Testowa notatka" is visible on gray window note 084ms
After Hooks.deleteAllGrayWindowsAfterTest() 240ms