Project Number Date
ApolloFullRunnerReport develop.427 20 maj 2021, 15:44

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
CRUD ramp 20 1 5 0 0 26 1 1 2 37s 361ms Failed
Feature CRUD ramp
Scenario Outline Check if it is possible to edit ramp
Steps
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 1s 102ms
And Go to "SETTINGS_TAB" 536ms
And Go to warehouse "Gądki" 1s 197ms
And Click add ramp button 1s 072ms
And Fill new ramp form 2s 661ms
And Click save ramp button 1s 066ms
And Click back to warehouse button 1s 108ms
And Set ramp id 15s 060ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//div[@data-field-name='ramp-section']//p[text()='Rampa testowa' and not(contains(@class, 'disabled'))]//a"}
  (Session info: headless chrome=90.0.4430.93)
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=90.0.4430.24 (4c6d850f087da467d926e8eddb76550aed655991-refs/branch-heads/4430@{#429}), userDataDir=/home/teamcity/build-agent-2/temp/buildTmp/.com.google.Chrome.5iqndA}, 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=90.0.4430.93, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: 15c85942995fa37f31570e6cd662243b
*** Element info: {Using=xpath, value=//div[@data-field-name='ramp-section']//p[text()='Rampa testowa' and not(contains(@class, 'disabled'))]//a}
	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.Settings.WarehousePage.getEditRampButton(WarehousePage.java:40)
	at CucumberTests.Warehouse.RampTest.getRampId(RampTest.java:34)
	at CucumberTests.Warehouse.RampTest.setRampId(RampTest.java:80)
	at ✽.Set ramp id(file:Features/Atom/Ramp/Ramp.feature:12)
When Click edit ramp button 000ms
And Fill edit ramp form 000ms
And Click save ramp button 000ms
And Click back to warehouse button 000ms
Then Verify if ramp is visible in warehouse details 000ms
After Hooks.deleteRampAfterTest() 000ms
Given Login as "farmacol-admin" and set token of apiUsername "super-admin-farmacol" 1s 229ms
And Go to "SETTINGS_TAB" 285ms
And Go to warehouse "Białystok Przyjęcia" 1s 133ms
And Click add ramp button 1s 081ms
And Fill new ramp form 2s 675ms
And Click save ramp button 1s 048ms
And Click back to warehouse button 1s 097ms
And Set ramp id 031ms
When Click edit ramp button 048ms
And Fill edit ramp form 2s 723ms
And Click save ramp button 1s 067ms
And Click back to warehouse button 1s 098ms
Then Verify if ramp is visible in warehouse details 037ms
After Hooks.deleteRampAfterTest() 084ms