Project Number Date
ApolloFullRunnerReport develop.360 27 mar 2021, 05:51

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 9s 964ms Failed
Feature Transport Form - Discrepancy Report scenarios
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 392ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 383ms
And Go to transport details "DELIVERY" 4s 745ms
When Open section: "discrepancy-report-panel" 1s 075ms
Then Verify that no discrepancies found label is visible in discrepancy report section 079ms
And Select "NIE" in the "insp.-accord.-with-ins." 2s 431ms
And Verify that discrepancy report custom fields are visible in discrepancy report section 112ms
After Hooks.deleteTransportAfterTest() 109ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 270ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 001ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 389ms
And Go to transport details "DELIVERY" 4s 730ms
And Fill transport form 36s 010ms
And Click "save-transport-and-close" save button and wait for form to disappear 16s 164ms
When Go to transport details "DELIVERY" 4s 474ms
Then Select "NIE" in the "insp.-accord.-with-ins." 2s 442ms
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 021ms
After Hooks.deleteTransportAfterTest() 157ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 434ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 371ms
When Go to transport details "DELIVERY" 4s 728ms
Then Verify that discrepancy report section is available 044ms
And Open section: "discrepancy-report-panel" 1s 069ms
And Verify that generate new discrepancy report button is visible 035ms
After Hooks.deleteTransportAfterTest() 113ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 311ms
And Create transport "CREATE_OWN_COLLECTION" by JSON file as "super-admin-hochland" 1s 324ms
When Go to transport details "OWN_COLLECTION" 4s 631ms
Then Verify that discrepancy report section is available 042ms
And Open section: "discrepancy-report-panel" 1s 073ms
And Verify that generate new discrepancy report button is visible 032ms
After Hooks.deleteTransportAfterTest() 116ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 387ms
And Create transport "CREATE_OWN_COLLECTION_POWDER_FACTORY" by JSON file as "super-admin-hochland" 1s 317ms
When Go to transport details "OWN_COLLECTION_POWDER_FACTORY" 4s 524ms
Then Verify that discrepancy report section is available 036ms
And Open section: "discrepancy-report-panel" 1s 064ms
And Verify that generate new discrepancy report button is visible 033ms
After Hooks.deleteTransportAfterTest() 106ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 286ms
And Create transport "CREATE_EXPORT" by JSON file as "super-admin-hochland" 1s 392ms
When Go to transport details "EXPORT" 5s 590ms
Then Verify that discrepancy report section is available 036ms
And Open section: "discrepancy-report-panel" 1s 054ms
And Verify that generate new discrepancy report button is visible 031ms
After Hooks.deleteTransportAfterTest() 105ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 374ms
And Create transport "CREATE_TRANSFER_BETWEEN_WAREHOUSES" by JSON file as "super-admin-hochland" 1s 165ms
When Go to transport details "TRANSFER_BETWEEN_WAREHOUSES" 4s 647ms
Then Verify that discrepancy report section is available 042ms
And Open section: "discrepancy-report-panel" 1s 063ms
And Verify that generate new discrepancy report button is visible 035ms
After Hooks.deleteTransportAfterTest() 076ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 272ms
And Create transport "CREATE_CISTERN_DELIVERY" by JSON file as "super-admin-hochland" 1s 308ms
When Go to transport details "CISTERN_DELIVERY" 4s 492ms
Then Verify that discrepancy report section is not available 15s 021ms
After Hooks.deleteTransportAfterTest() 107ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 344ms
And Create transport "CREATE_CISTERN_COLLECTION" by JSON file as "super-admin-hochland" 1s 312ms
When Go to transport details "CISTERN_COLLECTION" 4s 455ms
Then Verify that discrepancy report section is not available 15s 049ms
After Hooks.deleteTransportAfterTest() 102ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 359ms
And Create transport "CREATE_WEIGHING" by JSON file as "super-admin-hochland" 1s 221ms
When Go to transport details "WEIGHING" 4s 384ms
Then Verify that discrepancy report section is not available 15s 023ms
After Hooks.deleteTransportAfterTest() 087ms
Scenario Outline Check if discrepancy report is properly generated
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 392ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 400ms
When Go to "TRANSPORT_TABLE" 145ms
And Go to transport details "DELIVERY" 4s 714ms
And Change filled value in transport details "warehouseman" "select" "Błajet" "0" 16s 215ms
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=89.0.4389.90)
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=89.0.4389.23 (61b08ee2c50024bab004e48d2b1b083cdbdac579-refs/branch-heads/4389@{#294}), userDataDir=/home/teamcity/build-agent-2/temp/buildTmp/.com.google.Chrome.tUpg08}, 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=89.0.4389.90, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: cedfeacbb839d0235adddd16b68a5978
*** Element info: {Using=xpath, value=//li//span[text()='Błajet'] | //li[text()='Błajet' and @role='option']}
	at sun.reflect.GeneratedConstructorAccessor197.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() 096ms
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 556ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 338ms
When Go to "TRANSPORT_TABLE" 150ms
And Go to transport details "DELIVERY" 4s 762ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 002ms
And Fill transport form 36s 083ms
And Open section: "discrepancy-report-panel" 1s 074ms
And Fill discrepancy report section without closing the form 19s 681ms
And Generate discrepancy report 16s 232ms
And Download discrepancy report 171ms
And Verify that discrepancy report file has correct values 15s 140ms
java.nio.file.NoSuchFileException: /home/teamcity/Downloads/38_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() 114ms