Project Number Date
ApolloFullRunnerReport kapibary.28 05 cze 2021, 06:53

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 745ms 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" 004ms
And Login as "pna1-carrier" and set token of apiUsername "super-admin-neuca" 2s 447ms
And Go to new transport "DELIVERY" 15s 556ms
And Fill transport form 38s 679ms
And Select "save-as-resource" checkbox 386ms
When Click "save-transport" save button and wait for form to disappear 16s 348ms
And Set advice window in schedule 2s 402ms
And Check is transport created in schedule and set transport id 15s 108ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//div[@id='slot-114767102-2021-06-05-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.1d4efK}, 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: c8204c593e3ec5fd7d9347d9cfd0dfe8
*** Element info: {Using=xpath, value=//div[@id='slot-114767102-2021-06-05-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" 002ms
And Login as "daa1-supplier-3" and set token of apiUsername "super-admin-alrec" 4s 614ms
And Go to new transport "DELIVERY" 15s 482ms
And Fill transport form 19s 328ms
And Select "save-as-resource" checkbox 415ms
When Click "save-transport" save button and wait for form to disappear 15s 759ms
And Set advice window in schedule 2s 371ms
And Check is transport created in schedule and set transport id 2s 645ms
Then Go to "OWN_COMPANY_TAB" 801ms
And Check if advice values are visible in company resources 390ms
After Hooks.deleteTransportAfterTest() 893ms