Project Number Date
ApolloFullRunnerReport develop.357 25 mar 2021, 07:57

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Transport Form - Discrepancy Report scenarios 75 2 12 0 0 89 10 2 12 5m 10s 328ms Failed
Feature Transport Form - Discrepancy Report scenarios
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 450ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 414ms
And Go to transport details "DELIVERY" 4s 764ms
When Open section: "discrepancy-report-panel" 1s 083ms
Then Verify that no discrepancies found label is visible in discrepancy report section 066ms
And Select "NIE" in the "insp.-accord.-with-ins." 2s 449ms
And Verify that discrepancy report custom fields are visible in discrepancy report section 107ms
After Hooks.deleteTransportAfterTest() 103ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 284ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 002ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 375ms
And Go to transport details "DELIVERY" 4s 703ms
And Fill transport form 35s 996ms
And Click "save-transport-and-close" save button and wait for form to disappear 16s 160ms
When Go to transport details "DELIVERY" 4s 442ms
Then Select "NIE" in the "insp.-accord.-with-ins." 2s 437ms
And Click "save-transport" save button 710ms
And Wait "2" seconds 2s
And Verify that discrepancy report section is open 030ms
And Verify that discrepancy report section contains validation errors 018ms
After Hooks.deleteTransportAfterTest() 114ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 437ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 368ms
When Go to transport details "DELIVERY" 4s 728ms
Then Verify that discrepancy report section is available 048ms
And Open section: "discrepancy-report-panel" 1s 076ms
And Verify that generate new discrepancy report button is visible 038ms
After Hooks.deleteTransportAfterTest() 123ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 275ms
And Create transport "CREATE_OWN_COLLECTION" by JSON file as "super-admin-hochland" 1s 309ms
When Go to transport details "OWN_COLLECTION" 4s 669ms
Then Verify that discrepancy report section is available 036ms
And Open section: "discrepancy-report-panel" 1s 065ms
And Verify that generate new discrepancy report button is visible 034ms
After Hooks.deleteTransportAfterTest() 106ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 353ms
And Create transport "CREATE_OWN_COLLECTION_POWDER_FACTORY" by JSON file as "super-admin-hochland" 1s 314ms
When Go to transport details "OWN_COLLECTION_POWDER_FACTORY" 4s 516ms
Then Verify that discrepancy report section is available 037ms
And Open section: "discrepancy-report-panel" 1s 062ms
And Verify that generate new discrepancy report button is visible 036ms
After Hooks.deleteTransportAfterTest() 092ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 301ms
And Create transport "CREATE_EXPORT" by JSON file as "super-admin-hochland" 1s 436ms
When Go to transport details "EXPORT" 5s 608ms
Then Verify that discrepancy report section is available 035ms
And Open section: "discrepancy-report-panel" 1s 055ms
And Verify that generate new discrepancy report button is visible 035ms
After Hooks.deleteTransportAfterTest() 098ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 342ms
And Create transport "CREATE_TRANSFER_BETWEEN_WAREHOUSES" by JSON file as "super-admin-hochland" 1s 163ms
When Go to transport details "TRANSFER_BETWEEN_WAREHOUSES" 4s 675ms
Then Verify that discrepancy report section is available 030ms
And Open section: "discrepancy-report-panel" 1s 052ms
And Verify that generate new discrepancy report button is visible 033ms
After Hooks.deleteTransportAfterTest() 070ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 317ms
And Create transport "CREATE_CISTERN_DELIVERY" by JSON file as "super-admin-hochland" 1s 298ms
When Go to transport details "CISTERN_DELIVERY" 4s 487ms
Then Verify that discrepancy report section is not available 15s 030ms
After Hooks.deleteTransportAfterTest() 109ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 457ms
And Create transport "CREATE_CISTERN_COLLECTION" by JSON file as "super-admin-hochland" 1s 270ms
When Go to transport details "CISTERN_COLLECTION" 4s 451ms
Then Verify that discrepancy report section is not available 15s 041ms
After Hooks.deleteTransportAfterTest() 109ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 367ms
And Create transport "CREATE_WEIGHING" by JSON file as "super-admin-hochland" 1s 221ms
When Go to transport details "WEIGHING" 4s 400ms
Then Verify that discrepancy report section is not available 15s 046ms
After Hooks.deleteTransportAfterTest() 088ms
Scenario Outline Check if discrepancy report is properly generated
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 398ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 378ms
When Go to "TRANSPORT_TABLE" 134ms
And Go to transport details "DELIVERY" 4s 669ms
And Change filled value in transport details "warehouseman" "select" "Błajet" "0" 16s 229ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//li//span[text()='Błajet'] | //li[text()='Błajet' and @role='option']"}
  (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.f3QM4B}, 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: 4d2020cd8e4e41a57e8aed11569b053f
*** Element info: {Using=xpath, value=//li//span[text()='Błajet'] | //li[text()='Błajet' and @role='option']}
	at sun.reflect.GeneratedConstructorAccessor196.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 CucumberTests.Transport.Transport.selectValue(Transport.java:229)
	at CucumberTests.Transport.Transport.fillSelectInput(Transport.java:214)
	at CucumberTests.Transport.Transport.fillForm(Transport.java:166)
	at CucumberTests.Transport.TransportFormTest.changeFilledValueInTransportDetails(TransportFormTest.java:274)
	at ✽.Change filled value in transport details "warehouseman" "select" "Błajet" "0"(file:Features/Atom/Transport/TransportForm/DiscrepancyReport.feature:68)
And Change filled value in transport details "unloaded-stere" "text" "3" "0" 000ms
And Open section: "discrepancy-report-panel" 000ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 000ms
And Fill transport form 000ms
And Fill discrepancy report section without closing the form 000ms
And Generate discrepancy report 000ms
And Download discrepancy report 000ms
Then Verify that discrepancy report file has correct values 000ms
After Hooks.deleteTransportAfterTest() 106ms
Scenario Outline Check if edited discrepancy report is properly generated
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 331ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 382ms
When Go to "TRANSPORT_TABLE" 148ms
And Go to transport details "DELIVERY" 4s 735ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 002ms
And Fill transport form 36s 105ms
And Open section: "discrepancy-report-panel" 1s 068ms
And Fill discrepancy report section without closing the form 19s 631ms
And Generate discrepancy report 16s 744ms
And Download discrepancy report 166ms
And Verify that discrepancy report file has correct values 15s 134ms
java.nio.file.NoSuchFileException: /home/teamcity/Downloads/37_2021_1.pdf
	at sun.nio.fs.UnixException.translateToIOException(UnixException.java:86)
	at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
	at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
	at sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:214)
	at java.nio.file.spi.FileSystemProvider.newOutputStream(FileSystemProvider.java:434)
	at java.nio.file.Files.newOutputStream(Files.java:216)
	at java.nio.file.Files.copy(Files.java:3016)
	at Utils.FileUtil.checkIfFileExist(FileUtil.java:45)
	at Utils.FileUtil.getPdfFileText(FileUtil.java:28)
	at CucumberTests.Transport.TransportFormTest.verifyThatDiscrepancyReportFileHasCorrectValues(TransportFormTest.java:250)
	at ✽.Verify that discrepancy report file has correct values(file:Features/Atom/Transport/TransportForm/DiscrepancyReport.feature:93)
And Fill edited discrepancy report section 000ms
And Generate edited discrepancy report 000ms
And Download discrepancy report 000ms
Then Verify that discrepancy report file has correct values 000ms
After Hooks.deleteTransportAfterTest() 113ms