Project Number Date
ApolloFullRunnerReport kapibary.37 12 cze 2021, 04:30

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Base options of periodic transport - create, edit, delete etc. 55 5 8 0 0 68 1 5 6 12m 42s 595ms Failed
Feature Base options of periodic transport - create, edit, delete etc.
Scenario Outline Create time windows of periodic transport [A-6089]
Steps
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 2s 516ms
And Set access to periodic advice by API for company "SET_PERIODIC_TRANSPORT" as "super-admin-neuca" 343ms
Given Set "transport" inputs from JSON file "CREATE_DELIVERY" "super-admin-neuca" 001ms
And Go to new transport "DELIVERY" 15s 506ms
And Fill transport form 46s 158ms
And Select option of periodic transport and fill settings "DAILY" 34s 204ms
And Click "save-transport" save button and wait for form to disappear 16s 441ms
Then Set advice window in schedule in "0" days 244ms
And Check is transport created in schedule and set transport id 15s 075ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//div[@id='slot-114767102-2021-06-13-00-15']//div[@data-transport-id]"}
  (Session info: headless chrome=91.0.4472.77)
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=91.0.4472.101 (af52a90bf87030dd1523486a1cd3ae25c5d76c9b-refs/branch-heads/4472@{#1462}), userDataDir=/home/teamcity/build-agent/temp/buildTmp/.com.google.Chrome.RU4hwZ}, 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=91.0.4472.77, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: 50caafb0670514c05ead27b6beca997b
*** Element info: {Using=xpath, value=//div[@id='slot-114767102-2021-06-13-00-15']//div[@data-transport-id]}
	at sun.reflect.GeneratedConstructorAccessor221.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.Schedule.SchedulePage.getTransportId(SchedulePage.java:164)
	at CucumberTests.Transport.AdviceTransport.checkIsTransportCreatedInScheduleAndSetTransportId(AdviceTransport.java:157)
	at ✽.Check is transport created in schedule and set transport id(file:Features/Atom/Transport/PeriodicTransport/PeriodicTransport.feature:13)
And Set week view 000ms
Then Wait for schedule update 000ms
Then Check if periodic transport for "DAILY" is created correctly 000ms
After Hooks.deleteAllTransports() 1m 19s 604ms
Scenario Outline Create time windows of periodic transport [A-6089]
Steps
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 2s 595ms
And Set access to periodic advice by API for company "SET_PERIODIC_TRANSPORT" as "super-admin-neuca" 310ms
Given Set "transport" inputs from JSON file "CREATE_DELIVERY" "super-admin-neuca" 001ms
And Go to new transport "DELIVERY" 15s 462ms
And Fill transport form 46s 447ms
And Select option of periodic transport and fill settings "WEEKLY" 20s 929ms
And Click "save-transport" save button and wait for form to disappear 10s 143ms
org.openqa.selenium.TimeoutException: Expected condition failed: waiting for element to no longer be visible: By.xpath: //button[@type='submit' and @data-field-name='save-transport'] (tried for 10 second(s) with 500 MILLISECONDS interval)
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=91.0.4472.101 (af52a90bf87030dd1523486a1cd3ae25c5d76c9b-refs/branch-heads/4472@{#1462}), userDataDir=/home/teamcity/build-agent/temp/buildTmp/.com.google.Chrome.RU4hwZ}, 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=91.0.4472.77, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: 50caafb0670514c05ead27b6beca997b
	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.waitUntilElementDisappear(BasePage.java:215)
	at Pages.Transport.TransportFormPage.clickSaveButtonAndWaitForFormToDisappear(TransportFormPage.java:192)
	at CucumberTests.Transport.CreateTransport.clickSaveButtonAndWaitForFormToDisappear(CreateTransport.java:188)
	at ✽.Click "save-transport" save button and wait for form to disappear(file:Features/Atom/Transport/PeriodicTransport/PeriodicTransport.feature:11)
Then Set advice window in schedule in "0" days 000ms
And Check is transport created in schedule and set transport id 000ms
And Set week view 000ms
Then Wait for schedule update 000ms
Then Check if periodic transport for "WEEKLY" is created correctly 000ms
After Hooks.deleteAllTransports() 1m 32s 662ms
Scenario Outline Create time windows of periodic transport [A-6089]
Steps
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 2s 493ms
And Set access to periodic advice by API for company "SET_PERIODIC_TRANSPORT" as "super-admin-neuca" 376ms
Given Set "transport" inputs from JSON file "CREATE_DELIVERY" "super-admin-neuca" 001ms
And Go to new transport "DELIVERY" 15s 532ms
And Fill transport form 46s 157ms
And Select option of periodic transport and fill settings "MONTHLY" 19s 550ms
And Click "save-transport" save button and wait for form to disappear 16s 571ms
Then Set advice window in schedule in "0" days 247ms
And Check is transport created in schedule and set transport id 3s 649ms
And Set week view 3s 421ms
Then Wait for schedule update 1s 180ms
Then Check if periodic transport for "MONTHLY" is created correctly 1m 25s 780ms
java.lang.AssertionError: Okno awizacji nie pojawiło się w 13.09.2021
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at Pages.Schedule.SchedulePage.checkPeriodicTransportLocation(SchedulePage.java:384)
	at CucumberTests.Transport.PeriodicTransportTest.waitAMinuteAndCheckIfPeriodicTransportForIsCreatedCorectly(PeriodicTransportTest.java:77)
	at ✽.Check if periodic transport for "MONTHLY" is created correctly(file:Features/Atom/Transport/PeriodicTransport/PeriodicTransport.feature:16)
After Hooks.deleteAllTransports() 1m 35s 171ms
Scenario Outline Edition data of periodic transport from order form
Steps
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 2s 671ms
And Set access to periodic advice by API for company "SET_PERIODIC_TRANSPORT" as "super-admin-neuca" 287ms
And Create periodic transport "CREATE_PERIODIC_TR" by JSON file as "super-admin-neuca" 2s 104ms
When Go to "WAREHOUSE_TAB" 1s 104ms
And Set week view 3s 120ms
And Select warehouse "Katowice" 6s 077ms
And Open the middle periodic transport form from the schedule view 25s 725ms
Then Change filled value in transport details "number-of-pallets-step-0" "number" "18" "0" 1s 665ms
And Click save and-close and react on alert "dismiss" 731ms
And Check if rest of periodic transports is react correctly "noEditing" 20s 501ms
java.lang.AssertionError: Następna awizacja okresowa została zmieniona, a nie powinna. Actual: 45
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failEquals(Assert.java:185)
	at org.junit.Assert.assertNotEquals(Assert.java:161)
	at CucumberTests.Transport.PeriodicTransportTest.checkIfRestOfPeriodicTransportsIsReactCorrectly(PeriodicTransportTest.java:134)
	at ✽.Check if rest of periodic transports is react correctly "noEditing"(file:Features/Atom/Transport/PeriodicTransport/PeriodicTransport.feature:35)
After Hooks.deleteAllTransports() 1m 36s 636ms
Scenario Outline Edition data of periodic transport from order form
Steps
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 2s 406ms
And Set access to periodic advice by API for company "SET_PERIODIC_TRANSPORT" as "super-admin-neuca" 312ms
And Create periodic transport "CREATE_PERIODIC_TR" by JSON file as "super-admin-neuca" 1s 957ms
When Go to "WAREHOUSE_TAB" 1s 107ms
And Set week view 2s 850ms
And Select warehouse "Katowice" 4s 939ms
And Open the middle periodic transport form from the schedule view 1m 59s 180ms
Then Change filled value in transport details "number-of-pallets-step-0" "number" "18" "0" 1s 723ms
And Click save and-close and react on alert "accept" 776ms
And Check if rest of periodic transports is react correctly "editing" 1m 7s 907ms
java.lang.AssertionError: Pierwsze okno awizacji okresowej nie powinno zostać zmienone. Actual: 45
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failEquals(Assert.java:185)
	at org.junit.Assert.assertNotEquals(Assert.java:161)
	at CucumberTests.Transport.PeriodicTransportTest.checkIfRestOfPeriodicTransportsIsReactCorrectly(PeriodicTransportTest.java:129)
	at ✽.Check if rest of periodic transports is react correctly "editing"(file:Features/Atom/Transport/PeriodicTransport/PeriodicTransport.feature:35)
After Hooks.deleteAllTransports() 1m 36s 833ms
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 2s 396ms
And Set access to periodic advice by API for company "SET_PERIODIC_TRANSPORT" as "super-admin-neuca" 412ms
And Create periodic transport "CREATE_PERIODIC_TR" by JSON file as "super-admin-neuca" 2s 054ms
When Go to "WAREHOUSE_TAB" 1s 121ms
And Set week view 2s 774ms
And Select warehouse "Katowice" 4s 970ms
And Open the middle periodic transport form from the schedule view 40s 797ms
Then Check if designation of periodic transport in transport form is correct 072ms
And Close transport details 15s 353ms
When Go to "TRANSPORT_TABLE" 649ms
And Wait until all periodic transports will be visible in transport table 1s 426ms
Then Check if designation of periodic transport in transport table is correct 2s 070ms
After Hooks.deleteAllTransports() 1m 36s 587ms