Project Number Date
ApolloFullRunnerReport develop.356 25 mar 2021, 00:07

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 439ms Failed
Feature Transport Form - Discrepancy Report scenarios
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 421ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 390ms
And Go to transport details "DELIVERY" 4s 703ms
When Open section: "discrepancy-report-panel" 1s 083ms
Then Verify that no discrepancies found label is visible in discrepancy report section 074ms
And Select "NIE" in the "insp.-accord.-with-ins." 2s 443ms
And Verify that discrepancy report custom fields are visible in discrepancy report section 120ms
After Hooks.deleteTransportAfterTest() 140ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 292ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 001ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 362ms
And Go to transport details "DELIVERY" 4s 736ms
And Fill transport form 35s 971ms
And Click "save-transport-and-close" save button and wait for form to disappear 16s 144ms
When Go to transport details "DELIVERY" 4s 434ms
Then Select "NIE" in the "insp.-accord.-with-ins." 2s 416ms
And Click "save-transport" save button 710ms
And Wait "2" seconds 2s
And Verify that discrepancy report section is open 032ms
And Verify that discrepancy report section contains validation errors 018ms
After Hooks.deleteTransportAfterTest() 111ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 525ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 321ms
When Go to transport details "DELIVERY" 4s 728ms
Then Verify that discrepancy report section is available 041ms
And Open section: "discrepancy-report-panel" 1s 086ms
And Verify that generate new discrepancy report button is visible 030ms
After Hooks.deleteTransportAfterTest() 104ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 293ms
And Create transport "CREATE_OWN_COLLECTION" by JSON file as "super-admin-hochland" 1s 345ms
When Go to transport details "OWN_COLLECTION" 4s 656ms
Then Verify that discrepancy report section is available 032ms
And Open section: "discrepancy-report-panel" 1s 066ms
And Verify that generate new discrepancy report button is visible 037ms
After Hooks.deleteTransportAfterTest() 117ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 294ms
And Create transport "CREATE_OWN_COLLECTION_POWDER_FACTORY" by JSON file as "super-admin-hochland" 1s 300ms
When Go to transport details "OWN_COLLECTION_POWDER_FACTORY" 4s 526ms
Then Verify that discrepancy report section is available 044ms
And Open section: "discrepancy-report-panel" 1s 067ms
And Verify that generate new discrepancy report button is visible 034ms
After Hooks.deleteTransportAfterTest() 087ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 411ms
And Create transport "CREATE_EXPORT" by JSON file as "super-admin-hochland" 1s 351ms
When Go to transport details "EXPORT" 5s 583ms
Then Verify that discrepancy report section is available 037ms
And Open section: "discrepancy-report-panel" 1s 082ms
And Verify that generate new discrepancy report button is visible 037ms
After Hooks.deleteTransportAfterTest() 112ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 325ms
And Create transport "CREATE_TRANSFER_BETWEEN_WAREHOUSES" by JSON file as "super-admin-hochland" 1s 191ms
When Go to transport details "TRANSFER_BETWEEN_WAREHOUSES" 4s 658ms
Then Verify that discrepancy report section is available 035ms
And Open section: "discrepancy-report-panel" 1s 062ms
And Verify that generate new discrepancy report button is visible 029ms
After Hooks.deleteTransportAfterTest() 088ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 433ms
And Create transport "CREATE_CISTERN_DELIVERY" by JSON file as "super-admin-hochland" 1s 326ms
When Go to transport details "CISTERN_DELIVERY" 4s 512ms
Then Verify that discrepancy report section is not available 15s 059ms
After Hooks.deleteTransportAfterTest() 131ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 425ms
And Create transport "CREATE_CISTERN_COLLECTION" by JSON file as "super-admin-hochland" 1s 321ms
When Go to transport details "CISTERN_COLLECTION" 4s 448ms
Then Verify that discrepancy report section is not available 15s 041ms
After Hooks.deleteTransportAfterTest() 119ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 301ms
And Create transport "CREATE_WEIGHING" by JSON file as "super-admin-hochland" 1s 239ms
When Go to transport details "WEIGHING" 4s 387ms
Then Verify that discrepancy report section is not available 15s 052ms
After Hooks.deleteTransportAfterTest() 068ms
Scenario Outline Check if discrepancy report is properly generated
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 467ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 334ms
When Go to "TRANSPORT_TABLE" 148ms
And Go to transport details "DELIVERY" 4s 709ms
And Change filled value in transport details "warehouseman" "select" "Błajet" "0" 16s 253ms
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.pUlYQa}, 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: c31c316ec675747c2dcb3f1143060b9a
*** Element info: {Using=xpath, value=//li//span[text()='Błajet'] | //li[text()='Błajet' and @role='option']}
	at sun.reflect.GeneratedConstructorAccessor195.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() 095ms
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 412ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 381ms
When Go to "TRANSPORT_TABLE" 154ms
And Go to transport details "DELIVERY" 4s 719ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 002ms
And Fill transport form 35s 947ms
And Open section: "discrepancy-report-panel" 1s 085ms
And Fill discrepancy report section without closing the form 19s 590ms
And Generate discrepancy report 16s 751ms
And Download discrepancy report 175ms
And Verify that discrepancy report file has correct values 15s 150ms
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() 096ms