Project Number Date
ApolloFullRunnerReport develop.347 19 mar 2021, 09:56

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Company Resources 9 2 9 0 0 20 0 2 2 2m 4s 893ms Failed
Feature Company Resources
Scenario Outline Check if it possible to save resource to company from transport form
Steps
Given Set "transport" inputs from JSON file "CREATE_DELIVERY_CONTRACTOR" "super-admin-neuca" 002ms
And Login as "pna1-carrier" and set token of apiUsername "super-admin-neuca" 1s 960ms
And Go to new transport "DELIVERY" 15s 296ms
And Fill transport form 42s 930ms
java.lang.AssertionError: Nie można wypełnić pola warehouse-zone, ponieważ nie udało się go znaleźć w formularzu
	at org.junit.Assert.fail(Assert.java:88)
	at CucumberTests.Transport.Transport.fillForm(Transport.java:152)
	at CucumberTests.Transport.CreateTransport.fillTransportForm(CreateTransport.java:170)
	at ✽.Fill transport form(file:Features/Atom/Companies/CompanyResources.feature:8)
And Select "save-as-resource" checkbox 000ms
When Click "save-transport" save button and wait for form to disappear 000ms
And Set advice window in schedule 000ms
And Check is transport created in schedule and set transport id 000ms
Then Go to "OWN_COMPANY_TAB" 000ms
And Check if advice values are visible in company resources 000ms
After Hooks.deleteTransportAfterTest() 000ms
Scenario Outline Check if it possible to save resource to company from transport form
Steps
Given Set "transport" inputs from JSON file "CREATE_DELIVERY_SUPPLIER" "super-admin-alrec" 002ms
And Login as "daa1-supplier-3" and set token of apiUsername "super-admin-alrec" 2s 081ms
And Go to new transport "DELIVERY" 15s 269ms
And Fill transport form 16s 436ms
And Select "save-as-resource" checkbox 269ms
When Click "save-transport" save button and wait for form to disappear 15s 598ms
And Set advice window in schedule 15s 044ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//button[@data-btn-name='SHIFT_RIGHT_DAY']"}
  (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-136-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.aROnSj}, 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: 558350f017a70e37109fe7d48aa954c4
*** Element info: {Using=xpath, value=//button[@data-btn-name='SHIFT_RIGHT_DAY']}
	at sun.reflect.GeneratedConstructorAccessor176.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.BasePage.getWebElementByXpath(BasePage.java:305)
	at CucumberTests.Transport.AdviceTransport.setAdviceWindowInSchedule(AdviceTransport.java:80)
	at ✽.Set advice window in schedule(file:Features/Atom/Companies/CompanyResources.feature:11)
And Check is transport created in schedule and set transport id 000ms
Then Go to "OWN_COMPANY_TAB" 000ms
And Check if advice values are visible in company resources 000ms
After Hooks.deleteTransportAfterTest() 001ms