Project Number Date
ApolloFullRunnerReport develop-kapibary.320 24 lut 2021, 00:02

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Schedule 118 1 6 0 0 125 16 1 17 17m 53s 506ms Failed
Feature Schedule
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 1s 117ms
When Go to "WAREHOUSE_TAB" 268ms
And Select warehouse "Magazyn - Nowa Sól" 2s 228ms
And Select view "DAY" 2s 113ms
Then Click on every spot and check if time window was created 1m 42s 538ms
And Check if warehouse is empty 15s 038ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 1s 218ms
When Go to "WAREHOUSE_TAB" 611ms
And Select warehouse "Magazyn S7" 1s 194ms
And Select view "DAY" 2s 085ms
Then Click on every spot and check if time window was created 2m 8s 050ms
And Check if warehouse is empty 15s 059ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 487ms
When Go to "WAREHOUSE_TAB" 289ms
And Select warehouse "Magazyn Surowców" 1s 162ms
And Select view "DAY" 2s 077ms
Then Click on every spot and check if time window was created 34s 185ms
And Check if warehouse is empty 15s 006ms
Given Login as "swiss-krono-delivery-admin" and set token of apiUsername "super-admin-skd" 1s 954ms
When Go to "WAREHOUSE_TAB" 381ms
And Select warehouse "Towary sypkie" 1s 165ms
And Select view "DAY" 2s 077ms
Then Click on every spot and check if time window was created 1m 17s 031ms
And Check if warehouse is empty 15s 050ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 1s 195ms
When Go to "WAREHOUSE_TAB" 290ms
And Select warehouse "Magazyn Alrec Łódź" 1s 134ms
And Select view "DAY" 2s 065ms
Then Click on every spot and check if time window was created 47s 016ms
And Check if warehouse is empty 15s 063ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 1s 140ms
When Go to "WAREHOUSE_TAB" 287ms
And Select warehouse "Magazyn - Nowa Sól" 2s 221ms
And Go to template schedule 1s 125ms
Then Click on every spot and check if time window was created 1m 40s 424ms
And Check if warehouse is empty 15s 027ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 1s 220ms
When Go to "WAREHOUSE_TAB" 639ms
And Select warehouse "Magazyn S7" 1s 223ms
And Go to template schedule 1s 091ms
Then Click on every spot and check if time window was created 2m 5s 364ms
And Check if warehouse is empty 15s 046ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 251ms
When Go to "WAREHOUSE_TAB" 304ms
And Select warehouse "Magazyn Surowców" 1s 169ms
And Go to template schedule 1s 076ms
Then Click on every spot and check if time window was created 33s 407ms
And Check if warehouse is empty 15s 059ms
Given Login as "swiss-krono-delivery-admin" and set token of apiUsername "super-admin-skd" 1s 170ms
When Go to "WAREHOUSE_TAB" 373ms
And Select warehouse "Towary sypkie" 1s 190ms
And Go to template schedule 1s 085ms
Then Click on every spot and check if time window was created 1m 15s 544ms
And Check if warehouse is empty 15s 054ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 1s 235ms
When Go to "WAREHOUSE_TAB" 279ms
And Select warehouse "Magazyn Alrec Łódź" 1s 154ms
And Go to template schedule 1s 081ms
Then Click on every spot and check if time window was created 46s 027ms
And Check if warehouse is empty 15s 032ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 771ms
And Create "CREATE_GRAY_WINDOW_TWG" window by JSON file for test as "super-admin-hochland" 041ms
And Create "CREATE_GRAY_WINDOW_OST" window by JSON file for test as "super-admin-hochland" 033ms
When Go to "WAREHOUSE_TAB" 772ms
And Select warehouse "Twarożkarnia wyrób gotowy" 1s 880ms
And Select view "DAYS_2" 2s 091ms
Then Check if gray window is in the schedule 2s
And Select warehouse "Opakowania, surowce twarożkarnia" 1s 283ms
And Select view "DAYS_2" 2s 056ms
And Check if gray window is in the schedule 2s
After Hooks.deleteTransportAfterTest() 002ms
After Hooks.deleteAllGrayWindowsAfterTest() 15s 195ms
Scenario Outline Check if windows are visible after switching warehouse
Steps
Given Login as "hochland-producer" and set token of apiUsername "super-admin-hochland" 2s 467ms
And Create "CREATE_GRAY_WINDOW_TWG" window by JSON file for test as "super-admin-hochland" 032ms
And Create "CREATE_GRAY_WINDOW_OST" window by JSON file for test as "super-admin-hochland" 037ms
When Go to "WAREHOUSE_TAB" 30s 108ms
org.openqa.selenium.TimeoutException: Expected condition failed: waiting for element to be clickable: Proxy element for: DefaultElementLocator 'By.xpath: //a[contains(@href, 'warehouses')]' (tried for 5 second(s) with 500 MILLISECONDS interval)
	at org.openqa.selenium.support.ui.WebDriverWait.timeoutException(WebDriverWait.java:82)
	at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:231)
	at Pages.BasePage.waitUntilElementClickable(BasePage.java:209)
	at CucumberTests.BaseTest.goToTab(BaseTest.java:86)
	at CucumberTests.Transport.CreateTransport.GoToTab(CreateTransport.java:193)
	at ✽.Go to "WAREHOUSE_TAB"(file:Features/Atom/Schedule/Schedule.feature:38)
Caused by: org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//a[contains(@href, 'warehouses')]"}
  (Session info: headless chrome=88.0.4324.182)
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: 'ns3112421', ip: '94.23.29.183', os.name: 'Linux', os.arch: 'amd64', os.version: '4.15.0-128-generic', java.version: '1.8.0_201'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Capabilities [{networkConnectionEnabled=false, chrome={chromedriverVersion=88.0.4324.96 (68dba2d8a0b149a1d3afac56fa74648032bcf46b-refs/branch-heads/4324@{#1784}), userDataDir=/home/teamcity/build-agent-2/temp/buildTmp/.com.google.Chrome.bvxZqo}, timeouts={implicit=0, pageLoad=300000, script=30000}, pageLoadStrategy=normal, unhandledPromptBehavior=dismiss and notify, strictFileInteractability=false, platform=LINUX, proxy=Proxy(), goog:chromeOptions={debuggerAddress=localhost:9222}, acceptInsecureCerts=false, browserVersion=88.0.4324.182, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: 692ea3ebc5668b916caf0fff88baf255
*** Element info: {Using=xpath, value=//a[contains(@href, 'warehouses')]}
	at sun.reflect.GeneratedConstructorAccessor179.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 org.openqa.selenium.support.pagefactory.DefaultElementLocator.findElement(DefaultElementLocator.java:69)
	at org.openqa.selenium.support.pagefactory.internal.LocatingElementHandler.invoke(LocatingElementHandler.java:38)
	at com.sun.proxy.$Proxy24.isDisplayed(Unknown Source)
	at org.openqa.selenium.support.ui.ExpectedConditions.elementIfVisible(ExpectedConditions.java:301)
	at org.openqa.selenium.support.ui.ExpectedConditions.access$100(ExpectedConditions.java:43)
	at org.openqa.selenium.support.ui.ExpectedConditions$10.apply(ExpectedConditions.java:287)
	at org.openqa.selenium.support.ui.ExpectedConditions$10.apply(ExpectedConditions.java:284)
	at org.openqa.selenium.support.ui.ExpectedConditions$23.apply(ExpectedConditions.java:672)
	at org.openqa.selenium.support.ui.ExpectedConditions$23.apply(ExpectedConditions.java:668)
	at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:208)
	at Pages.BasePage.waitUntilElementClickable(BasePage.java:209)
	at CucumberTests.BaseTest.goToTab(BaseTest.java:86)
	at CucumberTests.Transport.CreateTransport.GoToTab(CreateTransport.java:193)
	at sun.reflect.GeneratedMethodAccessor214.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.JavaStepDefinition.execute(JavaStepDefinition.java:57)
	at cucumber.runner.PickleStepDefinitionMatch.runStep(PickleStepDefinitionMatch.java:50)
	at cucumber.runner.TestStep.executeStep(TestStep.java:63)
	at cucumber.runner.TestStep.run(TestStep.java:49)
	at cucumber.runner.PickleStepTestStep.run(PickleStepTestStep.java:43)
	at cucumber.runner.TestCase.run(TestCase.java:45)
	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)
And Select warehouse "Twarożkarnia wyrób gotowy" 000ms
And Select view "DAYS_2" 000ms
Then Check if gray window is in the schedule 000ms
And Select warehouse "Opakowania, surowce twarożkarnia" 000ms
And Select view "DAYS_2" 000ms
And Check if gray window is in the schedule 000ms
After Hooks.deleteTransportAfterTest() 002ms
After Hooks.deleteAllGrayWindowsAfterTest() 30s 212ms
Given Login as "pha1-carrier@qa.qa-test" and set token of apiUsername "super-admin-hochland" 2s 660ms
And Create "CREATE_GRAY_WINDOW_TWG" window by JSON file for test as "super-admin-hochland" 033ms
And Create "CREATE_GRAY_WINDOW_OST" window by JSON file for test as "super-admin-hochland" 035ms
When Go to "WAREHOUSE_TAB" 716ms
And Select warehouse "Twarożkarnia wyrób gotowy" 1s 826ms
And Select view "DAYS_2" 2s 105ms
Then Check if gray window is in the schedule 2s
And Select warehouse "Opakowania, surowce twarożkarnia" 1s 286ms
And Select view "DAYS_2" 2s 055ms
And Check if gray window is in the schedule 2s
After Hooks.deleteTransportAfterTest() 002ms
After Hooks.deleteAllGrayWindowsAfterTest() 15s 138ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 1s 292ms
And Create "CREATE_GRAY_WINDOW_MGW" window by JSON file for test as "super-admin-skz" 038ms
And Create "CREATE_GRAY_WINDOW_HRL" window by JSON file for test as "super-admin-skz" 036ms
When Go to "WAREHOUSE_TAB" 417ms
And Select warehouse "MGW" 1s 195ms
And Select view "DAYS_2" 2s 080ms
Then Check if gray window is in the schedule 2s
And Select warehouse "HRL" 1s 386ms
And Select view "DAYS_2" 2s 058ms
And Check if gray window is in the schedule 2s
After Hooks.deleteTransportAfterTest() 002ms
After Hooks.deleteAllGrayWindowsAfterTest() 15s 159ms
Given Login as "swisskrono-producer" and set token of apiUsername "super-admin-skz" 2s 323ms
And Create "CREATE_GRAY_WINDOW_MGW" window by JSON file for test as "super-admin-skz" 043ms
And Create "CREATE_GRAY_WINDOW_HRL" window by JSON file for test as "super-admin-skz" 037ms
When Go to "WAREHOUSE_TAB" 408ms
And Select warehouse "MGW" 1s 340ms
And Select view "DAYS_2" 2s 070ms
Then Check if gray window is in the schedule 2s
And Select warehouse "HRL" 1s 228ms
And Select view "DAYS_2" 2s 053ms
And Check if gray window is in the schedule 2s
After Hooks.deleteTransportAfterTest() 002ms
After Hooks.deleteAllGrayWindowsAfterTest() 15s 133ms
Given Login as "3cargo-carrier" and set token of apiUsername "super-admin-skz" 2s 118ms
And Create "CREATE_GRAY_WINDOW_MGW" window by JSON file for test as "super-admin-skz" 039ms
And Create "CREATE_GRAY_WINDOW_HRL" window by JSON file for test as "super-admin-skz" 037ms
When Go to "WAREHOUSE_TAB" 416ms
And Select warehouse "MGW" 1s 325ms
And Select view "DAYS_2" 2s 068ms
Then Check if gray window is in the schedule 2s
And Select warehouse "HRL" 1s 308ms
And Select view "DAYS_2" 2s 056ms
And Check if gray window is in the schedule 2s
After Hooks.deleteTransportAfterTest() 002ms
After Hooks.deleteAllGrayWindowsAfterTest() 15s 191ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 561ms
When Go to "WAREHOUSE_TAB" 733ms
And Select warehouse "Proszkownia" 2s 003ms
Then Check if warehouses select dropdown is not expanded 026ms
And Check if current warehouse is "Proszkownia" 027ms