Project Number Date
ApolloFullRunnerReport apollo-test-2.156 13 wrz 2021, 06:47

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Gray Window atom tests 135 1 3 0 0 139 20 1 21 5m 38s 328ms 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 144ms
And Create "CREATE_GRAY_WINDOW_TWG" window by JSON file for test as "super-admin-hochland" 218ms
When Go to "WAREHOUSE_TAB" 1s 252ms
And Select warehouse "Twarożkarnia wyrób gotowy" 1s 875ms
And Go to next day in schedule 1s 175ms
And Move gray window to new location 1s 643ms
Then Check if gray window is in new location 1s
After Hooks.deleteAllGrayWindowsAfterTest() 262ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 697ms
And Create "CREATE_GRAY_WINDOW_MHA" window by JSON file for test as "super-admin-piast" 189ms
When Go to "WAREHOUSE_TAB" 897ms
And Select warehouse "Magazyn Hala A" 1s 612ms
And Go to next day in schedule 1s 161ms
And Move gray window to new location 1s 594ms
Then Check if gray window is in new location 1s
After Hooks.deleteAllGrayWindowsAfterTest() 245ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 2s 381ms
And Create "CREATE_GRAY_WINDOW_MNS" window by JSON file for test as "super-admin-lantmannen" 196ms
When Go to "WAREHOUSE_TAB" 1s 387ms
And Select warehouse "Magazyn - Nowa Sól" 2s 128ms
And Go to next day in schedule 1s 285ms
And Move gray window to new location 1s 793ms
Then Check if gray window is in new location 1s
After Hooks.deleteAllGrayWindowsAfterTest() 262ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 2s 548ms
And Create "CREATE_GRAY_WINDOW_MAL" window by JSON file for test as "super-admin-alrec" 211ms
When Go to "WAREHOUSE_TAB" 682ms
And Select warehouse "Magazyn Alrec" 1s 353ms
And Go to next day in schedule 1s 167ms
And Move gray window to new location 1s 588ms
Then Check if gray window is in new location 1s
After Hooks.deleteAllGrayWindowsAfterTest() 237ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 768ms
When Go to "WAREHOUSE_TAB" 1s 348ms
And Select warehouse "Twarożkarnia wyrób gotowy" 1s 860ms
When Click in free spot in schedule page to create gray window 651ms
Then Check if gray window is in the schedule 2s 034ms
After Hooks.deleteAllGrayWindowsAfterTest() 239ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 586ms
When Go to "WAREHOUSE_TAB" 948ms
And Select warehouse "Magazyn Hala A" 1s 602ms
When Click in free spot in schedule page to create gray window 633ms
Then Check if gray window is in the schedule 2s 044ms
After Hooks.deleteAllGrayWindowsAfterTest() 251ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 2s 453ms
When Go to "WAREHOUSE_TAB" 1s 351ms
And Select warehouse "Magazyn - Nowa Sól" 2s 148ms
When Click in free spot in schedule page to create gray window 698ms
Then Check if gray window is in the schedule 2s 047ms
After Hooks.deleteAllGrayWindowsAfterTest() 251ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 2s 620ms
When Go to "WAREHOUSE_TAB" 676ms
And Select warehouse "Magazyn Alrec" 1s 347ms
When Click in free spot in schedule page to create gray window 593ms
Then Check if gray window is in the schedule 2s 037ms
After Hooks.deleteAllGrayWindowsAfterTest() 227ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 950ms
And Create "CREATE_GRAY_WINDOW_TWG" window by JSON file for test as "super-admin-hochland" 229ms
When Go to "WAREHOUSE_TAB" 1s 302ms
And Select warehouse "Twarożkarnia wyrób gotowy" 1s 933ms
And Set week view 1s 250ms
When Delete gray window from schedule 2s 212ms
Then Check if gray window is no longer in schedule 15s 070ms
After Hooks.deleteAllGrayWindowsAfterTest() 15s 257ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 662ms
And Create "CREATE_GRAY_WINDOW_MHA" window by JSON file for test as "super-admin-piast" 209ms
When Go to "WAREHOUSE_TAB" 949ms
And Select warehouse "Magazyn Hala A" 1s 666ms
And Set week view 2s 487ms
When Delete gray window from schedule 5s 358ms
Then Check if gray window is no longer in schedule 15s 072ms
After Hooks.deleteAllGrayWindowsAfterTest() 15s 222ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 2s 564ms
And Create "CREATE_GRAY_WINDOW_MNS" window by JSON file for test as "super-admin-lantmannen" 207ms
When Go to "WAREHOUSE_TAB" 1s 358ms
And Select warehouse "Magazyn - Nowa Sól" 2s 123ms
And Set week view 1s 281ms
When Delete gray window from schedule 5s 319ms
Then Check if gray window is no longer in schedule 15s 068ms
After Hooks.deleteAllGrayWindowsAfterTest() 15s 251ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 2s 713ms
And Create "CREATE_GRAY_WINDOW_MAL" window by JSON file for test as "super-admin-alrec" 198ms
When Go to "WAREHOUSE_TAB" 688ms
And Select warehouse "Magazyn Alrec" 1s 347ms
And Set week view 1s 812ms
When Delete gray window from schedule 5s 300ms
Then Check if gray window is no longer in schedule 15s 076ms
After Hooks.deleteAllGrayWindowsAfterTest() 15s 217ms
Before Hooks.showScenarioName(Scenario) 000ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 952ms
And Create "CREATE_GRAY_WINDOW_TWG" window by JSON file for test as "super-admin-hochland" 208ms
When Go to "WAREHOUSE_TAB" 1s 336ms
And Select warehouse "Twarożkarnia wyrób gotowy" 1s 908ms
And Set week view 1s 260ms
And Set time window height "4" "grayWindow" 5s 627ms
Then Check height of the time window after expanding by "4" in "grayWindow" 076ms
After Hooks.deleteAllGrayWindowsAfterTest() 264ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 543ms
And Create "CREATE_GRAY_WINDOW_MHA" window by JSON file for test as "super-admin-piast" 199ms
When Go to "WAREHOUSE_TAB" 918ms
And Select warehouse "Magazyn Hala A" 1s 604ms
And Set week view 2s 534ms
And Set time window height "1" "grayWindow" 5s 947ms
Then Check height of the time window after expanding by "1" in "grayWindow" 069ms
After Hooks.deleteAllGrayWindowsAfterTest() 286ms
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" 223ms
When Go to "WAREHOUSE_TAB" 1s 403ms
And Select warehouse "Magazyn - Nowa Sól" 2s 230ms
And Set week view 1s 256ms
And Set time window height "2" "grayWindow" 5s 685ms
Then Check height of the time window after expanding by "2" in "grayWindow" 071ms
After Hooks.deleteAllGrayWindowsAfterTest() 237ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 2s 478ms
And Create "CREATE_GRAY_WINDOW_MAL" window by JSON file for test as "super-admin-alrec" 222ms
When Go to "WAREHOUSE_TAB" 722ms
And Select warehouse "Magazyn Alrec" 1s 351ms
And Set week view 1s 809ms
And Set time window height "4" "grayWindow" 5s 614ms
Then Check height of the time window after expanding by "4" in "grayWindow" 081ms
After Hooks.deleteAllGrayWindowsAfterTest() 241ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "hochland-admin" 2s 921ms
And Go to "WAREHOUSE_TAB" 1s 311ms
And Select warehouse "Twarożkarnia wyrób gotowy" 1s 864ms
When Click in free spot in schedule page to create gray window 632ms
When Move gray window to new location 1s 637ms
When Delete gray window from schedule 2s 200ms
Then Check if gray window is no longer in schedule 15s 065ms
Scenario Outline Check if it is possible to create note on gray window [A-3803]
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 055ms
And Go to "WAREHOUSE_TAB" 1s 358ms
And Select warehouse "Magazyn Zimny Kaźmierz" 2s 117ms
When Click in free spot in schedule page to create gray window 294ms
org.openqa.selenium.UnhandledAlertException: unexpected alert open: {Alert text : Czy na pewno chcesz usunąć okno dedykowane dla firmy Przewoźnik Hochland Automat 1?}
  (Session info: headless chrome=93.0.4577.63): Czy na pewno chcesz usunąć okno dedykowane dla firmy Przewoźnik Hochland Automat 1?
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.63 (ff5c0da2ec0adeaed5550e6c7e98417dac77d98a-refs/branch-heads/4577@{#1135}), userDataDir=/home/teamcity/build-agent-2/temp/buildTmp/.com.google.Chrome.iewX6Y}, 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: 79aba532e9cdc3a3f8d36c56f2016381
*** 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.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:237)
	at sun.reflect.GeneratedMethodAccessor300.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 "piast-admin" and set token of apiUsername "super-admin-piast" 2s 632ms
And Go to "WAREHOUSE_TAB" 909ms
And Select warehouse "Magazyn Hala A" 1s 665ms
When Click in free spot in schedule page to create gray window 579ms
And Check if gray window is in the schedule 2s 041ms
And Add note text "Testowa notatka" on gray window 16s 504ms
Then Verify if added text "Testowa notatka" is visible on gray window note 089ms
After Hooks.deleteAllGrayWindowsAfterTest() 234ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 2s 508ms
And Go to "WAREHOUSE_TAB" 1s 341ms
And Select warehouse "Magazyn - Nowa Sól" 2s 209ms
When Click in free spot in schedule page to create gray window 746ms
And Check if gray window is in the schedule 2s 045ms
And Add note text "Testowa notatka" on gray window 16s 724ms
Then Verify if added text "Testowa notatka" is visible on gray window note 073ms
After Hooks.deleteAllGrayWindowsAfterTest() 253ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 2s 646ms
And Go to "WAREHOUSE_TAB" 731ms
And Select warehouse "Magazyn Alrec" 1s 324ms
When Click in free spot in schedule page to create gray window 605ms
And Check if gray window is in the schedule 2s 040ms
And Add note text "Testowa notatka" on gray window 16s 523ms
Then Verify if added text "Testowa notatka" is visible on gray window note 086ms
After Hooks.deleteAllGrayWindowsAfterTest() 232ms