Project Number Date
ApolloFullRunnerReport develop.317 24 lut 2021, 06:32

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 52s 149ms Failed
Feature Schedule
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 1s 113ms
When Go to "WAREHOUSE_TAB" 292ms
And Select warehouse "Magazyn - Nowa Sól" 2s 201ms
And Select view "DAY" 2s 076ms
Then Click on every spot and check if time window was created 1m 42s 538ms
And Check if warehouse is empty 15s 035ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 1s 233ms
When Go to "WAREHOUSE_TAB" 639ms
And Select warehouse "Magazyn S7" 1s 211ms
And Select view "DAY" 2s 086ms
Then Click on every spot and check if time window was created 2m 8s 101ms
And Check if warehouse is empty 15s 040ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 422ms
When Go to "WAREHOUSE_TAB" 303ms
And Select warehouse "Magazyn Surowców" 1s 170ms
And Select view "DAY" 2s 076ms
Then Click on every spot and check if time window was created 34s 172ms
And Check if warehouse is empty 15s 042ms
Given Login as "swiss-krono-delivery-admin" and set token of apiUsername "super-admin-skd" 1s 853ms
When Go to "WAREHOUSE_TAB" 380ms
And Select warehouse "Towary sypkie" 1s 161ms
And Select view "DAY" 2s 064ms
Then Click on every spot and check if time window was created 1m 17s 047ms
And Check if warehouse is empty 15s 044ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 1s 180ms
When Go to "WAREHOUSE_TAB" 280ms
And Select warehouse "Magazyn Alrec Łódź" 1s 150ms
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 028ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 1s 166ms
When Go to "WAREHOUSE_TAB" 283ms
And Select warehouse "Magazyn - Nowa Sól" 2s 265ms
And Go to template schedule 1s 127ms
Then Click on every spot and check if time window was created 1m 40s 374ms
And Check if warehouse is empty 15s 063ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 1s 223ms
When Go to "WAREHOUSE_TAB" 596ms
And Select warehouse "Magazyn S7" 1s 235ms
And Go to template schedule 1s 100ms
Then Click on every spot and check if time window was created 2m 5s 335ms
And Check if warehouse is empty 15s 051ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 255ms
When Go to "WAREHOUSE_TAB" 300ms
And Select warehouse "Magazyn Surowców" 1s 161ms
And Go to template schedule 1s 082ms
Then Click on every spot and check if time window was created 33s 409ms
And Check if warehouse is empty 15s 050ms
Given Login as "swiss-krono-delivery-admin" and set token of apiUsername "super-admin-skd" 1s 109ms
When Go to "WAREHOUSE_TAB" 390ms
And Select warehouse "Towary sypkie" 1s 165ms
And Go to template schedule 1s 079ms
Then Click on every spot and check if time window was created 1m 15s 507ms
And Check if warehouse is empty 15s 041ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 1s 242ms
When Go to "WAREHOUSE_TAB" 266ms
And Select warehouse "Magazyn Alrec Łódź" 1s 147ms
And Go to template schedule 1s 083ms
Then Click on every spot and check if time window was created 45s 959ms
And Check if warehouse is empty 15s 016ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 902ms
And Create "CREATE_GRAY_WINDOW_TWG" window by JSON file for test as "super-admin-hochland" 035ms
And Create "CREATE_GRAY_WINDOW_OST" window by JSON file for test as "super-admin-hochland" 031ms
When Go to "WAREHOUSE_TAB" 714ms
And Select warehouse "Twarożkarnia wyrób gotowy" 1s 867ms
And Select view "DAYS_2" 2s 075ms
Then Check if gray window is in the schedule 2s
And Select warehouse "Opakowania, surowce twarożkarnia" 1s 274ms
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 171ms
Scenario Outline Check if windows are visible after switching warehouse
Steps
Given Login as "hochland-producer" and set token of apiUsername "super-admin-hochland" 1s 981ms
And Create "CREATE_GRAY_WINDOW_TWG" window by JSON file for test as "super-admin-hochland" 043ms
And Create "CREATE_GRAY_WINDOW_OST" window by JSON file for test as "super-admin-hochland" 037ms
When Go to "WAREHOUSE_TAB" 30s 109ms
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.XnWFU3}, 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: 3b1d4e3cedddda4d5b69fea7599709f4
*** 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() 001ms
After Hooks.deleteAllGrayWindowsAfterTest() 30s 244ms
Given Login as "pha1-carrier@qa.qa-test" and set token of apiUsername "super-admin-hochland" 2s 366ms
And Create "CREATE_GRAY_WINDOW_TWG" window by JSON file for test as "super-admin-hochland" 037ms
And Create "CREATE_GRAY_WINDOW_OST" window by JSON file for test as "super-admin-hochland" 037ms
When Go to "WAREHOUSE_TAB" 749ms
And Select warehouse "Twarożkarnia wyrób gotowy" 1s 851ms
And Select view "DAYS_2" 2s 074ms
Then Check if gray window is in the schedule 2s
And Select warehouse "Opakowania, surowce twarożkarnia" 1s 287ms
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 158ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 1s 240ms
And Create "CREATE_GRAY_WINDOW_MGW" window by JSON file for test as "super-admin-skz" 035ms
And Create "CREATE_GRAY_WINDOW_HRL" window by JSON file for test as "super-admin-skz" 036ms
When Go to "WAREHOUSE_TAB" 437ms
And Select warehouse "MGW" 1s 182ms
And Select view "DAYS_2" 2s 078ms
Then Check if gray window is in the schedule 2s
And Select warehouse "HRL" 1s 375ms
And Select view "DAYS_2" 2s 054ms
And Check if gray window is in the schedule 2s
After Hooks.deleteTransportAfterTest() 002ms
After Hooks.deleteAllGrayWindowsAfterTest() 15s 178ms
Given Login as "swisskrono-producer" and set token of apiUsername "super-admin-skz" 2s 283ms
And Create "CREATE_GRAY_WINDOW_MGW" window by JSON file for test as "super-admin-skz" 048ms
And Create "CREATE_GRAY_WINDOW_HRL" window by JSON file for test as "super-admin-skz" 042ms
When Go to "WAREHOUSE_TAB" 432ms
And Select warehouse "MGW" 1s 350ms
And Select view "DAYS_2" 2s 069ms
Then Check if gray window is in the schedule 2s
And Select warehouse "HRL" 1s 187ms
And Select view "DAYS_2" 2s 057ms
And Check if gray window is in the schedule 2s
After Hooks.deleteTransportAfterTest() 002ms
After Hooks.deleteAllGrayWindowsAfterTest() 15s 142ms
Given Login as "3cargo-carrier" and set token of apiUsername "super-admin-skz" 1s 979ms
And Create "CREATE_GRAY_WINDOW_MGW" window by JSON file for test as "super-admin-skz" 040ms
And Create "CREATE_GRAY_WINDOW_HRL" window by JSON file for test as "super-admin-skz" 037ms
When Go to "WAREHOUSE_TAB" 412ms
And Select warehouse "MGW" 1s 348ms
And Select view "DAYS_2" 2s 069ms
Then Check if gray window is in the schedule 2s
And Select warehouse "HRL" 1s 291ms
And Select view "DAYS_2" 2s 057ms
And Check if gray window is in the schedule 2s
After Hooks.deleteTransportAfterTest() 002ms
After Hooks.deleteAllGrayWindowsAfterTest() 15s 165ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 465ms
When Go to "WAREHOUSE_TAB" 728ms
And Select warehouse "Proszkownia" 2s 034ms
Then Check if warehouses select dropdown is not expanded 021ms
And Check if current warehouse is "Proszkownia" 029ms