Project Number Date
ApolloFullRunnerReport apollo-test-2.125 20 sie 2021, 05:38

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Gray Window atom tests 129 6 4 0 0 139 15 6 21 5m 10s 288ms 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" 2s 781ms
And Create "CREATE_GRAY_WINDOW_TWG" window by JSON file for test as "super-admin-hochland" 232ms
When Go to "WAREHOUSE_TAB" 1s 288ms
And Select warehouse "Twarożkarnia wyrób gotowy" 2s 259ms
And Go to next day in schedule 1s 182ms
And Move gray window to new location 1s 656ms
Then Check if gray window is in new location 1s 039ms
After Hooks.deleteAllGrayWindowsAfterTest() 258ms
Before Hooks.showScenarioName(Scenario) 000ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 487ms
And Create "CREATE_GRAY_WINDOW_MHA" window by JSON file for test as "super-admin-piast" 197ms
When Go to "WAREHOUSE_TAB" 925ms
And Select warehouse "Magazyn Hala A" 1s 408ms
And Go to next day in schedule 1s 169ms
And Move gray window to new location 1s 542ms
Then Check if gray window is in new location 1s 029ms
After Hooks.deleteAllGrayWindowsAfterTest() 253ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 2s 439ms
And Create "CREATE_GRAY_WINDOW_MNS" window by JSON file for test as "super-admin-lantmannen" 207ms
When Go to "WAREHOUSE_TAB" 1s 318ms
And Select warehouse "Magazyn - Nowa Sól" 2s 851ms
And Go to next day in schedule 1s 166ms
And Move gray window to new location 1s 681ms
Then Check if gray window is in new location 1s 042ms
After Hooks.deleteAllGrayWindowsAfterTest() 247ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 2s 491ms
And Create "CREATE_GRAY_WINDOW_MAL" window by JSON file for test as "super-admin-alrec" 212ms
When Go to "WAREHOUSE_TAB" 695ms
And Select warehouse "Magazyn Alrec" 1s 370ms
And Go to next day in schedule 1s 168ms
And Move gray window to new location 1s 520ms
Then Check if gray window is in new location 1s 035ms
After Hooks.deleteAllGrayWindowsAfterTest() 235ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 939ms
When Go to "WAREHOUSE_TAB" 1s 260ms
And Select warehouse "Twarożkarnia wyrób gotowy" 2s 317ms
When Click in free spot in schedule page to create gray window 556ms
Then Check if gray window is in the schedule 2s 047ms
After Hooks.deleteAllGrayWindowsAfterTest() 269ms
Scenario Outline Check if possible to create gray window
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 500ms
When Go to "WAREHOUSE_TAB" 932ms
And Select warehouse "Magazyn Hala A" 1s 372ms
When Click in free spot in schedule page to create gray window 15s 627ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//div[@data-window-type='state-disabled'] | //div[@data-window-type='state-template']"}
  (Session info: headless chrome=92.0.4515.131)
For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.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=92.0.4515.107 (87a818b10553a07434ea9e2b6dccf3cbe7895134-refs/branch-heads/4515@{#1634}), userDataDir=/home/teamcity/build-agent/temp/buildTmp/.com.google.Chrome.vEGcDT}, 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=92.0.4515.131, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: a49ddeab5d6912da551cc3077a4ae0a5
*** Element info: {Using=xpath, value=//div[@data-window-type='state-disabled'] | //div[@data-window-type='state-template']}
	at sun.reflect.GeneratedConstructorAccessor216.newInstance(Unknown Source)
	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.RemoteWebDriver.findElement(RemoteWebDriver.java:356)
	at org.openqa.selenium.remote.RemoteWebDriver.findElementByXPath(RemoteWebDriver.java:458)
	at org.openqa.selenium.By$ByXPath.findElement(By.java:361)
	at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:348)
	at Pages.BasePage.getWebElementByXpath(BasePage.java:325)
	at CucumberTests.GrayWindow.CreateGrayWindowTest.clickInFreeSpotInSchedulePageToCreateGrayWindow(CreateGrayWindowTest.java:107)
	at ✽.Click in free spot in schedule page to create gray window(file:Features/Atom/TimeWindow/GrayWindow.feature:25)
Then Check if gray window is in the schedule 000ms
Hooks
After Hooks.deleteAllGrayWindowsAfterTest() 000ms
java.lang.NullPointerException: Nie udalo sie pobrać id szarego okna
	at CucumberTests.Hooks.deleteAllGrayWindowsAfterTest(Hooks.java:226)
	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 "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 2s 598ms
When Go to "WAREHOUSE_TAB" 1s 358ms
And Select warehouse "Magazyn - Nowa Sól" 2s 915ms
When Click in free spot in schedule page to create gray window 589ms
Then Check if gray window is in the schedule 2s 047ms
After Hooks.deleteAllGrayWindowsAfterTest() 272ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 2s 502ms
When Go to "WAREHOUSE_TAB" 687ms
And Select warehouse "Magazyn Alrec" 1s 332ms
When Click in free spot in schedule page to create gray window 549ms
Then Check if gray window is in the schedule 2s 039ms
After Hooks.deleteAllGrayWindowsAfterTest() 232ms
Scenario Outline Check if possible to delete gray window
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 838ms
And Create "CREATE_GRAY_WINDOW_TWG" window by JSON file for test as "super-admin-hochland" 202ms
When Go to "WAREHOUSE_TAB" 1s 253ms
And Select warehouse "Twarożkarnia wyrób gotowy" 2s 350ms
And Set week view 1s 263ms
When Delete gray window from schedule 1s 191ms
Then Check if gray window is no longer in schedule 026ms
org.openqa.selenium.UnhandledAlertException: unexpected alert open: {Alert text : Czy na pewno chcesz usunąć okno blokady?}
  (Session info: headless chrome=92.0.4515.131): Czy na pewno chcesz usunąć okno blokady?
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=92.0.4515.107 (87a818b10553a07434ea9e2b6dccf3cbe7895134-refs/branch-heads/4515@{#1634}), userDataDir=/home/teamcity/build-agent/temp/buildTmp/.com.google.Chrome.vEGcDT}, 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=92.0.4515.131, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: a49ddeab5d6912da551cc3077a4ae0a5
*** Element info: {Using=xpath, value=//div[@data-window-type='state-disabled'] | //div[@data-window-type='state-template']}
	at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:118)
	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.RemoteWebDriver.findElement(RemoteWebDriver.java:356)
	at org.openqa.selenium.remote.RemoteWebDriver.findElementByXPath(RemoteWebDriver.java:458)
	at org.openqa.selenium.By$ByXPath.findElement(By.java:361)
	at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:348)
	at Pages.Schedule.SchedulePage.checkIfElementIsNoLongerPresentInSchedule(SchedulePage.java:266)
	at CucumberTests.GrayWindow.DeleteGrayWindowTest.checkIfGrayWindowIsNoLongerInSchedule(DeleteGrayWindowTest.java:27)
	at ✽.Check if gray window is no longer in schedule(file:Features/Atom/TimeWindow/GrayWindow.feature:42)
After Hooks.deleteAllGrayWindowsAfterTest() 261ms
Scenario Outline Check if possible to delete gray window
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 473ms
And Create "CREATE_GRAY_WINDOW_MHA" window by JSON file for test as "super-admin-piast" 200ms
When Go to "WAREHOUSE_TAB" 869ms
And Select warehouse "Magazyn Hala A" 1s 344ms
And Set week view 2s 521ms
When Delete gray window from schedule 1s 351ms
Then Check if gray window is no longer in schedule 052ms
java.lang.AssertionError: Szare okno nie zostało usunięte z harmonogramu
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at CucumberTests.GrayWindow.DeleteGrayWindowTest.checkIfGrayWindowIsNoLongerInSchedule(DeleteGrayWindowTest.java:27)
	at ✽.Check if gray window is no longer in schedule(file:Features/Atom/TimeWindow/GrayWindow.feature:42)
After Hooks.deleteAllGrayWindowsAfterTest() 15s 256ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 2s 552ms
And Create "CREATE_GRAY_WINDOW_MNS" window by JSON file for test as "super-admin-lantmannen" 197ms
When Go to "WAREHOUSE_TAB" 1s 349ms
And Select warehouse "Magazyn - Nowa Sól" 2s 875ms
And Set week view 1s 282ms
When Delete gray window from schedule 1s 178ms
Then Check if gray window is no longer in schedule 15s 047ms
After Hooks.deleteAllGrayWindowsAfterTest() 15s 240ms
Before Hooks.showScenarioName(Scenario) 000ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 2s 816ms
And Create "CREATE_GRAY_WINDOW_MAL" window by JSON file for test as "super-admin-alrec" 198ms
When Go to "WAREHOUSE_TAB" 698ms
And Select warehouse "Magazyn Alrec" 1s 368ms
And Set week view 1s 805ms
When Delete gray window from schedule 1s 158ms
Then Check if gray window is no longer in schedule 15s 034ms
After Hooks.deleteAllGrayWindowsAfterTest() 15s 213ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 103ms
And Create "CREATE_GRAY_WINDOW_TWG" window by JSON file for test as "super-admin-hochland" 238ms
When Go to "WAREHOUSE_TAB" 1s 419ms
And Select warehouse "Twarożkarnia wyrób gotowy" 2s 295ms
And Set week view 1s 287ms
And Set time window height "4" "grayWindow" 5s 661ms
Then Check height of the time window after expanding by "4" in "grayWindow" 070ms
After Hooks.deleteAllGrayWindowsAfterTest() 254ms
Scenario Outline Check if it possible to resize gray window
Before Hooks.showScenarioName(Scenario) 000ms
Steps
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 643ms
And Create "CREATE_GRAY_WINDOW_MHA" window by JSON file for test as "super-admin-piast" 219ms
When Go to "WAREHOUSE_TAB" 983ms
And Select warehouse "Magazyn Hala A" 1s 400ms
And Set week view 2s 543ms
And Set time window height "1" "grayWindow" 5s 775ms
Then Check height of the time window after expanding by "1" in "grayWindow" 084ms
org.junit.ComparisonFailure: Okno nie zmieniło swojego rozmiaru expected:<1[5]0,00> but was:<1[2]0,00>
	at org.junit.Assert.assertEquals(Assert.java:115)
	at CucumberTests.Schedule.ResizeTimeWindowTest.checkHeightOfTimeWindowAfterExpandingByIn(ResizeTimeWindowTest.java:49)
	at ✽.Check height of the time window after expanding by "1" in "grayWindow"(file:Features/Atom/TimeWindow/GrayWindow.feature:58)
After Hooks.deleteAllGrayWindowsAfterTest() 252ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 2s 469ms
And Create "CREATE_GRAY_WINDOW_MNS" window by JSON file for test as "super-admin-lantmannen" 210ms
When Go to "WAREHOUSE_TAB" 1s 417ms
And Select warehouse "Magazyn - Nowa Sól" 3s 028ms
And Set week view 1s 266ms
And Set time window height "2" "grayWindow" 5s 658ms
Then Check height of the time window after expanding by "2" in "grayWindow" 081ms
After Hooks.deleteAllGrayWindowsAfterTest() 266ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 2s 462ms
And Create "CREATE_GRAY_WINDOW_MAL" window by JSON file for test as "super-admin-alrec" 223ms
When Go to "WAREHOUSE_TAB" 748ms
And Select warehouse "Magazyn Alrec" 1s 369ms
And Set week view 1s 801ms
And Set time window height "4" "grayWindow" 5s 644ms
Then Check height of the time window after expanding by "4" in "grayWindow" 080ms
After Hooks.deleteAllGrayWindowsAfterTest() 240ms
Scenario Outline Check if it is possible to create, move and delete gray window in schedule
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Login as "hochland-admin" 2s 747ms
And Go to "WAREHOUSE_TAB" 1s 347ms
And Select warehouse "Twarożkarnia wyrób gotowy" 2s 310ms
When Click in free spot in schedule page to create gray window 603ms
When Move gray window to new location 1s 661ms
When Delete gray window from schedule 1s 132ms
Then Check if gray window is no longer in schedule 026ms
org.openqa.selenium.UnhandledAlertException: unexpected alert open: {Alert text : Czy na pewno chcesz usunąć okno blokady?}
  (Session info: headless chrome=92.0.4515.131): Czy na pewno chcesz usunąć okno blokady?
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=92.0.4515.107 (87a818b10553a07434ea9e2b6dccf3cbe7895134-refs/branch-heads/4515@{#1634}), userDataDir=/home/teamcity/build-agent/temp/buildTmp/.com.google.Chrome.vEGcDT}, 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=92.0.4515.131, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: a49ddeab5d6912da551cc3077a4ae0a5
*** Element info: {Using=xpath, value=//div[@data-window-type='state-disabled'] | //div[@data-window-type='state-template']}
	at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:118)
	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.RemoteWebDriver.findElement(RemoteWebDriver.java:356)
	at org.openqa.selenium.remote.RemoteWebDriver.findElementByXPath(RemoteWebDriver.java:458)
	at org.openqa.selenium.By$ByXPath.findElement(By.java:361)
	at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:348)
	at Pages.Schedule.SchedulePage.checkIfElementIsNoLongerPresentInSchedule(SchedulePage.java:266)
	at CucumberTests.GrayWindow.DeleteGrayWindowTest.checkIfGrayWindowIsNoLongerInSchedule(DeleteGrayWindowTest.java:27)
	at ✽.Check if gray window is no longer in schedule(file:Features/Atom/TimeWindow/GrayWindow.feature:73)
Before Hooks.showScenarioName(Scenario) 000ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 897ms
And Go to "WAREHOUSE_TAB" 1s 341ms
And Select warehouse "Magazyn Zimny Kaźmierz" 2s 069ms
When Click in free spot in schedule page to create gray window 526ms
And Check if gray window is in the schedule 2s 041ms
And Add note text "Testowa notatka" on gray window 16s 600ms
Then Verify if added text "Testowa notatka" is visible on gray window note 095ms
After Hooks.deleteAllGrayWindowsAfterTest() 293ms
Scenario Outline Check if it is possible to create note on gray window [A-3803]
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 624ms
And Go to "WAREHOUSE_TAB" 940ms
And Select warehouse "Magazyn Hala A" 1s 437ms
When Click in free spot in schedule page to create gray window 15s 555ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//div[@data-window-type='state-disabled'] | //div[@data-window-type='state-template']"}
  (Session info: headless chrome=92.0.4515.131)
For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.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=92.0.4515.107 (87a818b10553a07434ea9e2b6dccf3cbe7895134-refs/branch-heads/4515@{#1634}), userDataDir=/home/teamcity/build-agent/temp/buildTmp/.com.google.Chrome.vEGcDT}, 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=92.0.4515.131, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: a49ddeab5d6912da551cc3077a4ae0a5
*** Element info: {Using=xpath, value=//div[@data-window-type='state-disabled'] | //div[@data-window-type='state-template']}
	at sun.reflect.GeneratedConstructorAccessor216.newInstance(Unknown Source)
	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.RemoteWebDriver.findElement(RemoteWebDriver.java:356)
	at org.openqa.selenium.remote.RemoteWebDriver.findElementByXPath(RemoteWebDriver.java:458)
	at org.openqa.selenium.By$ByXPath.findElement(By.java:361)
	at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:348)
	at Pages.BasePage.getWebElementByXpath(BasePage.java:325)
	at CucumberTests.GrayWindow.CreateGrayWindowTest.clickInFreeSpotInSchedulePageToCreateGrayWindow(CreateGrayWindowTest.java:107)
	at ✽.Click in free spot in schedule page to create gray window(file:Features/Atom/TimeWindow/GrayWindow.feature:83)
And Check if gray window is in the schedule 000ms
And Add note text "Testowa notatka" on gray window 000ms
Then Verify if added text "Testowa notatka" is visible on gray window note 000ms
Hooks
After Hooks.deleteAllGrayWindowsAfterTest() 000ms
java.lang.NullPointerException: Nie udalo sie pobrać id szarego okna
	at CucumberTests.Hooks.deleteAllGrayWindowsAfterTest(Hooks.java:226)
	at sun.reflect.GeneratedMethodAccessor293.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 "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 2s 612ms
And Go to "WAREHOUSE_TAB" 1s 355ms
And Select warehouse "Magazyn - Nowa Sól" 2s 896ms
When Click in free spot in schedule page to create gray window 590ms
And Check if gray window is in the schedule 2s 048ms
And Add note text "Testowa notatka" on gray window 16s 682ms
Then Verify if added text "Testowa notatka" is visible on gray window note 094ms
After Hooks.deleteAllGrayWindowsAfterTest() 259ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 2s 536ms
And Go to "WAREHOUSE_TAB" 709ms
And Select warehouse "Magazyn Alrec" 1s 352ms
When Click in free spot in schedule page to create gray window 567ms
And Check if gray window is in the schedule 2s 040ms
And Add note text "Testowa notatka" on gray window 16s 483ms
Then Verify if added text "Testowa notatka" is visible on gray window note 085ms
After Hooks.deleteAllGrayWindowsAfterTest() 237ms