Project Number Date
ApolloFullRunnerReport develop.359 26 mar 2021, 05:52

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 581ms Failed
Feature Transport Form - Discrepancy Report scenarios
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 529ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 381ms
And Go to transport details "DELIVERY" 4s 722ms
When Open section: "discrepancy-report-panel" 1s 065ms
Then Verify that no discrepancies found label is visible in discrepancy report section 071ms
And Select "NIE" in the "insp.-accord.-with-ins." 2s 427ms
And Verify that discrepancy report custom fields are visible in discrepancy report section 112ms
After Hooks.deleteTransportAfterTest() 129ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 323ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 001ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 360ms
And Go to transport details "DELIVERY" 4s 723ms
And Fill transport form 35s 972ms
And Click "save-transport-and-close" save button and wait for form to disappear 16s 150ms
When Go to transport details "DELIVERY" 4s 497ms
Then Select "NIE" in the "insp.-accord.-with-ins." 2s 468ms
And Click "save-transport" save button 728ms
And Wait "2" seconds 2s
And Verify that discrepancy report section is open 030ms
And Verify that discrepancy report section contains validation errors 020ms
After Hooks.deleteTransportAfterTest() 143ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 459ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 448ms
When Go to transport details "DELIVERY" 4s 724ms
Then Verify that discrepancy report section is available 039ms
And Open section: "discrepancy-report-panel" 1s 069ms
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 268ms
And Create transport "CREATE_OWN_COLLECTION" by JSON file as "super-admin-hochland" 1s 365ms
When Go to transport details "OWN_COLLECTION" 4s 640ms
Then Verify that discrepancy report section is available 035ms
And Open section: "discrepancy-report-panel" 1s 059ms
And Verify that generate new discrepancy report button is visible 029ms
After Hooks.deleteTransportAfterTest() 108ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 309ms
And Create transport "CREATE_OWN_COLLECTION_POWDER_FACTORY" by JSON file as "super-admin-hochland" 1s 363ms
When Go to transport details "OWN_COLLECTION_POWDER_FACTORY" 4s 531ms
Then Verify that discrepancy report section is available 035ms
And Open section: "discrepancy-report-panel" 1s 058ms
And Verify that generate new discrepancy report button is visible 029ms
After Hooks.deleteTransportAfterTest() 113ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 326ms
And Create transport "CREATE_EXPORT" by JSON file as "super-admin-hochland" 1s 397ms
When Go to transport details "EXPORT" 5s 593ms
Then Verify that discrepancy report section is available 036ms
And Open section: "discrepancy-report-panel" 1s 055ms
And Verify that generate new discrepancy report button is visible 037ms
After Hooks.deleteTransportAfterTest() 105ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 373ms
And Create transport "CREATE_TRANSFER_BETWEEN_WAREHOUSES" by JSON file as "super-admin-hochland" 1s 158ms
When Go to transport details "TRANSFER_BETWEEN_WAREHOUSES" 4s 650ms
Then Verify that discrepancy report section is available 042ms
And Open section: "discrepancy-report-panel" 1s 066ms
And Verify that generate new discrepancy report button is visible 036ms
After Hooks.deleteTransportAfterTest() 071ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 300ms
And Create transport "CREATE_CISTERN_DELIVERY" by JSON file as "super-admin-hochland" 1s 296ms
When Go to transport details "CISTERN_DELIVERY" 4s 510ms
Then Verify that discrepancy report section is not available 15s 017ms
After Hooks.deleteTransportAfterTest() 105ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 400ms
And Create transport "CREATE_CISTERN_COLLECTION" by JSON file as "super-admin-hochland" 1s 283ms
When Go to transport details "CISTERN_COLLECTION" 4s 478ms
Then Verify that discrepancy report section is not available 15s 027ms
After Hooks.deleteTransportAfterTest() 112ms
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 255ms
When Go to transport details "WEIGHING" 4s 388ms
Then Verify that discrepancy report section is not available 15s 041ms
After Hooks.deleteTransportAfterTest() 080ms
Scenario Outline Check if discrepancy report is properly generated
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 487ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 410ms
When Go to "TRANSPORT_TABLE" 159ms
And Go to transport details "DELIVERY" 4s 714ms
And Change filled value in transport details "warehouseman" "select" "Błajet" "0" 16s 243ms
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.ZUoRZl}, 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: 423f60b2023fdfe4d7313f5fd928fd53
*** Element info: {Using=xpath, value=//li//span[text()='Błajet'] | //li[text()='Błajet' and @role='option']}
	at sun.reflect.GeneratedConstructorAccessor204.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() 102ms
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 373ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 374ms
When Go to "TRANSPORT_TABLE" 148ms
And Go to transport details "DELIVERY" 4s 699ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 002ms
And Fill transport form 35s 987ms
And Open section: "discrepancy-report-panel" 1s 076ms
And Fill discrepancy report section without closing the form 19s 611ms
And Generate discrepancy report 16s 750ms
And Download discrepancy report 154ms
And Verify that discrepancy report file has correct values 15s 155ms
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() 107ms