Project Number Date
ApolloFullRunnerReport apollo-test-2.158 15 wrz 2021, 06:58

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 36s 429ms Failed
Feature Gray Window atom tests
Check gray window functionality
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 088ms
And Create "CREATE_GRAY_WINDOW_TWG" window by JSON file for test as "super-admin-hochland" 227ms
When Go to "WAREHOUSE_TAB" 1s 193ms
And Select warehouse "Twarożkarnia wyrób gotowy" 1s 836ms
And Go to next day in schedule 1s 186ms
And Move gray window to new location 1s 644ms
Then Check if gray window is in new location 1s
After Hooks.deleteAllGrayWindowsAfterTest() 230ms
Before Hooks.showScenarioName(Scenario) 000ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 701ms
And Create "CREATE_GRAY_WINDOW_MHA" window by JSON file for test as "super-admin-piast" 197ms
When Go to "WAREHOUSE_TAB" 891ms
And Select warehouse "Magazyn Hala A" 1s 576ms
And Go to next day in schedule 1s 169ms
And Move gray window to new location 1s 605ms
Then Check if gray window is in new location 1s
After Hooks.deleteAllGrayWindowsAfterTest() 213ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 2s 487ms
And Create "CREATE_GRAY_WINDOW_MNS" window by JSON file for test as "super-admin-lantmannen" 213ms
When Go to "WAREHOUSE_TAB" 1s 235ms
And Select warehouse "Magazyn - Nowa Sól" 2s 086ms
And Go to next day in schedule 1s 226ms
And Move gray window to new location 1s 709ms
Then Check if gray window is in new location 1s
After Hooks.deleteAllGrayWindowsAfterTest() 206ms
Before Hooks.showScenarioName(Scenario) 000ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 2s 618ms
And Create "CREATE_GRAY_WINDOW_MAL" window by JSON file for test as "super-admin-alrec" 218ms
When Go to "WAREHOUSE_TAB" 709ms
And Select warehouse "Magazyn Alrec" 1s 354ms
And Go to next day in schedule 1s 157ms
And Move gray window to new location 1s 582ms
Then Check if gray window is in new location 1s
After Hooks.deleteAllGrayWindowsAfterTest() 211ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 966ms
When Go to "WAREHOUSE_TAB" 1s 272ms
And Select warehouse "Twarożkarnia wyrób gotowy" 1s 831ms
When Click in free spot in schedule page to create gray window 629ms
Then Check if gray window is in the schedule 2s 038ms
After Hooks.deleteAllGrayWindowsAfterTest() 214ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 699ms
When Go to "WAREHOUSE_TAB" 861ms
And Select warehouse "Magazyn Hala A" 1s 546ms
When Click in free spot in schedule page to create gray window 601ms
Then Check if gray window is in the schedule 2s 039ms
After Hooks.deleteAllGrayWindowsAfterTest() 228ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 2s 406ms
When Go to "WAREHOUSE_TAB" 1s 210ms
And Select warehouse "Magazyn - Nowa Sól" 2s 056ms
When Click in free spot in schedule page to create gray window 637ms
Then Check if gray window is in the schedule 2s 049ms
After Hooks.deleteAllGrayWindowsAfterTest() 213ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 2s 623ms
When Go to "WAREHOUSE_TAB" 696ms
And Select warehouse "Magazyn Alrec" 1s 316ms
When Click in free spot in schedule page to create gray window 606ms
Then Check if gray window is in the schedule 2s 043ms
After Hooks.deleteAllGrayWindowsAfterTest() 190ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 924ms
And Create "CREATE_GRAY_WINDOW_TWG" window by JSON file for test as "super-admin-hochland" 223ms
When Go to "WAREHOUSE_TAB" 1s 242ms
And Select warehouse "Twarożkarnia wyrób gotowy" 1s 881ms
And Set week view 1s 266ms
When Delete gray window from schedule 2s 216ms
Then Check if gray window is no longer in schedule 15s 048ms
After Hooks.deleteAllGrayWindowsAfterTest() 15s 274ms
Before Hooks.showScenarioName(Scenario) 000ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 685ms
And Create "CREATE_GRAY_WINDOW_MHA" window by JSON file for test as "super-admin-piast" 191ms
When Go to "WAREHOUSE_TAB" 880ms
And Select warehouse "Magazyn Hala A" 1s 609ms
And Set week view 2s 266ms
When Delete gray window from schedule 5s 380ms
Then Check if gray window is no longer in schedule 15s 044ms
After Hooks.deleteAllGrayWindowsAfterTest() 15s 243ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 2s 652ms
And Create "CREATE_GRAY_WINDOW_MNS" window by JSON file for test as "super-admin-lantmannen" 218ms
When Go to "WAREHOUSE_TAB" 1s 193ms
And Select warehouse "Magazyn - Nowa Sól" 2s 026ms
And Set week view 1s 243ms
When Delete gray window from schedule 5s 309ms
Then Check if gray window is no longer in schedule 15s 169ms
After Hooks.deleteAllGrayWindowsAfterTest() 15s 271ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 2s 725ms
And Create "CREATE_GRAY_WINDOW_MAL" window by JSON file for test as "super-admin-alrec" 220ms
When Go to "WAREHOUSE_TAB" 719ms
And Select warehouse "Magazyn Alrec" 1s 328ms
And Set week view 1s 752ms
When Delete gray window from schedule 5s 267ms
Then Check if gray window is no longer in schedule 15s 106ms
After Hooks.deleteAllGrayWindowsAfterTest() 15s 218ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 110ms
And Create "CREATE_GRAY_WINDOW_TWG" window by JSON file for test as "super-admin-hochland" 208ms
When Go to "WAREHOUSE_TAB" 1s 254ms
And Select warehouse "Twarożkarnia wyrób gotowy" 1s 806ms
And Set week view 1s 247ms
And Set time window height "4" "grayWindow" 5s 688ms
Then Check height of the time window after expanding by "4" in "grayWindow" 077ms
After Hooks.deleteAllGrayWindowsAfterTest() 230ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 686ms
And Create "CREATE_GRAY_WINDOW_MHA" window by JSON file for test as "super-admin-piast" 201ms
When Go to "WAREHOUSE_TAB" 864ms
And Select warehouse "Magazyn Hala A" 1s 572ms
And Set week view 2s 283ms
And Set time window height "1" "grayWindow" 5s 739ms
Then Check height of the time window after expanding by "1" in "grayWindow" 072ms
After Hooks.deleteAllGrayWindowsAfterTest() 206ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 2s 681ms
And Create "CREATE_GRAY_WINDOW_MNS" window by JSON file for test as "super-admin-lantmannen" 324ms
When Go to "WAREHOUSE_TAB" 1s 331ms
And Select warehouse "Magazyn - Nowa Sól" 2s 125ms
And Set week view 1s 278ms
And Set time window height "2" "grayWindow" 5s 710ms
Then Check height of the time window after expanding by "2" in "grayWindow" 071ms
After Hooks.deleteAllGrayWindowsAfterTest() 229ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 2s 459ms
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 372ms
And Set week view 1s 788ms
And Set time window height "4" "grayWindow" 5s 585ms
Then Check height of the time window after expanding by "4" in "grayWindow" 080ms
After Hooks.deleteAllGrayWindowsAfterTest() 201ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "hochland-admin" 2s 936ms
And Go to "WAREHOUSE_TAB" 1s 281ms
And Select warehouse "Twarożkarnia wyrób gotowy" 1s 829ms
When Click in free spot in schedule page to create gray window 651ms
When Move gray window to new location 1s 677ms
When Delete gray window from schedule 2s 177ms
Then Check if gray window is no longer in schedule 15s 109ms
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 175ms
And Go to "WAREHOUSE_TAB" 1s 304ms
And Select warehouse "Magazyn Zimny Kaźmierz" 1s 962ms
When Click in free spot in schedule page to create gray window 337ms
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.FGRir8}, 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: 1200fca61a4ea8963b6e3429618a28eb
*** 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 524ms
And Go to "WAREHOUSE_TAB" 828ms
And Select warehouse "Magazyn Hala A" 1s 626ms
When Click in free spot in schedule page to create gray window 656ms
And Check if gray window is in the schedule 2s 042ms
And Add note text "Testowa notatka" on gray window 16s 530ms
Then Verify if added text "Testowa notatka" is visible on gray window note 098ms
After Hooks.deleteAllGrayWindowsAfterTest() 220ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 2s 539ms
And Go to "WAREHOUSE_TAB" 1s 250ms
And Select warehouse "Magazyn - Nowa Sól" 2s 047ms
When Click in free spot in schedule page to create gray window 697ms
And Check if gray window is in the schedule 2s 046ms
And Add note text "Testowa notatka" on gray window 16s 747ms
Then Verify if added text "Testowa notatka" is visible on gray window note 105ms
After Hooks.deleteAllGrayWindowsAfterTest() 230ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 2s 607ms
And Go to "WAREHOUSE_TAB" 711ms
And Select warehouse "Magazyn Alrec" 1s 367ms
When Click in free spot in schedule page to create gray window 600ms
And Check if gray window is in the schedule 2s 038ms
And Add note text "Testowa notatka" on gray window 16s 447ms
Then Verify if added text "Testowa notatka" is visible on gray window note 089ms
After Hooks.deleteAllGrayWindowsAfterTest() 210ms