Project Number Date
ApolloFullRunnerReport master.311 19 lut 2021, 10:44

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Transport transfer full scenario 20 1 6 0 0 27 1 1 2 2m 20s 319ms Failed
Feature Transport transfer full scenario
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 1s 249ms
And Get inputs from database "CREATE_TRANSPOSRT_ORDER" "super-admin-adama" 001ms
When Go to new transport "TRANSPORT" 340ms
And Fill transport form 26s 860ms
And Click "save-transport-and-close" save button and wait for form to disappear 15s 655ms
And Transfer transport to carrier "Przewoźnik Adama Automat 1" with "true" 19s 294ms
And Check is transport "TRANSPORT" created in transport table and set transport id 1s 110ms
And Login as "paa1-carrier@qa.qa-test" and set token of apiUsername "super-admin-adama" 1s 133ms
And Accept or reject "reject" transferred transport 15s 849ms
And Login as "adama-admin" and set token of apiUsername "super-admin-adama" 1s 160ms
And Transfer transport to carrier "Przewoźnik Adama Automat 1" with "true" 19s 249ms
And Login as "paa1-carrier@qa.qa-test" and set token of apiUsername "super-admin-adama" 1s 223ms
And Accept or reject "accept" transferred transport 15s 882ms
Then Verify that transport is accept or reject "accept" 024ms
After Hooks.deleteTransportAfterTest() 089ms
Scenario Outline Check if possible to edit transport after advice cancellation.
Steps
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 252ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-piast" 002ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 1s 215ms
When Show all transport types 1s 048ms
And Click button advice in transport table "DELIVERY" 131ms
And Set advice window in schedule 2s 576ms
And Click button cancel in advice form 15s 057ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//button[@data-btn-name='cancel']"}
  (Session info: headless chrome=88.0.4324.150)
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.QRrsod}, 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.150, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: 6b4bef29e96651f80bdbcfca10a4eaa4
*** Element info: {Using=xpath, value=//button[@data-btn-name='cancel']}
	at sun.reflect.GeneratedConstructorAccessor125.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.click(Unknown Source)
	at CucumberTests.Transport.AdviceTransport.clickButtonCancelInAdviceForm(AdviceTransport.java:120)
	at ✽.Click button cancel in advice form(file:Features/Scenario/TransportTransfer.feature:33)
And Go to "TRANSPORT_TABLE" 000ms
When Go to transport details "DELIVERY" 000ms
And Fill transport form 000ms
And Click "save-transport-and-close" save button and wait for form to disappear 000ms
And Go to transport details "DELIVERY" 000ms
Then Check are transport values equals 000ms
After Hooks.deleteTransportAfterTest() 082ms