Project Number Date
ApolloFullRunnerReport kapibary.24 01 cze 2021, 07:23

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Company Resources 17 1 2 0 0 20 1 1 2 2m 32s 273ms 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" 003ms
And Login as "pna1-carrier" and set token of apiUsername "super-admin-neuca" 2s 321ms
And Go to new transport "DELIVERY" 15s 578ms
And Fill transport form 38s 775ms
And Select "save-as-resource" checkbox 343ms
When Click "save-transport" save button and wait for form to disappear 16s 376ms
And Set advice window in schedule 2s 354ms
And Check is transport created in schedule and set transport id 15s 057ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//div[@id='slot-114767102-2021-06-01-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.19 (1bf021f248676a0b2ab3ee0561d83a59e424c23e-refs/branch-heads/4472@{#288}), userDataDir=/home/teamcity/build-agent/temp/buildTmp/.com.google.Chrome.addzRt}, 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: bb90dd821d749438f055d004978df52d
*** Element info: {Using=xpath, value=//div[@id='slot-114767102-2021-06-01-00-15']//div[@data-transport-id]}
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	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/Companies/CompanyResources.feature:12)
Then Go to "OWN_COMPANY_TAB" 000ms
And Check if advice values are visible in company resources 000ms
After Hooks.deleteTransportAfterTest() 001ms
Given Set "transport" inputs from JSON file "CREATE_DELIVERY_SUPPLIER" "super-admin-alrec" 003ms
And Login as "daa1-supplier-3" and set token of apiUsername "super-admin-alrec" 4s 728ms
And Go to new transport "DELIVERY" 15s 439ms
And Fill transport form 18s 988ms
And Select "save-as-resource" checkbox 364ms
When Click "save-transport" save button and wait for form to disappear 15s 767ms
And Set advice window in schedule 2s 367ms
And Check is transport created in schedule and set transport id 2s 609ms
Then Go to "OWN_COMPANY_TAB" 793ms
And Check if advice values are visible in company resources 399ms
After Hooks.deleteTransportAfterTest() 774ms