Project Number Date
ApolloFullRunnerReport develop.295 04 lut 2021, 05:47

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Transport Form - Discrepancy Report scenarios 83 2 4 0 0 89 10 2 12 6m 28s 766ms Failed
Feature Transport Form - Discrepancy Report scenarios
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 502ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 340ms
And Go to transport details "DELIVERY" 4s 713ms
When Open section: "discrepancy-report-panel" 1s 078ms
Then Verify that no discrepancies found label is visible in discrepancy report section 060ms
And Select "NIE" in the "insp.-accord.-with-ins." 2s 424ms
And Verify that discrepancy report custom fields are visible in discrepancy report section 100ms
After Hooks.deleteTransportAfterTest() 140ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 329ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 002ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 301ms
And Go to transport details "DELIVERY" 4s 716ms
And Fill transport form 35s 994ms
And Click "save-transport-and-close" save button and wait for form to disappear 16s 151ms
When Go to transport details "DELIVERY" 4s 453ms
Then Select "NIE" in the "insp.-accord.-with-ins." 2s 434ms
And Click "save-transport" save button 706ms
And Wait "2" seconds 2s
And Verify that discrepancy report section is open 032ms
And Verify that discrepancy report section contains validation errors 019ms
After Hooks.deleteTransportAfterTest() 148ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 496ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 343ms
When Go to transport details "DELIVERY" 4s 754ms
Then Verify that discrepancy report section is available 034ms
And Open section: "discrepancy-report-panel" 1s 068ms
And Verify that generate new discrepancy report button is visible 037ms
After Hooks.deleteTransportAfterTest() 141ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 297ms
And Create transport "CREATE_OWN_COLLECTION" by JSON file as "super-admin-hochland" 1s 344ms
When Go to transport details "OWN_COLLECTION" 4s 597ms
Then Verify that discrepancy report section is available 037ms
And Open section: "discrepancy-report-panel" 1s 076ms
And Verify that generate new discrepancy report button is visible 027ms
After Hooks.deleteTransportAfterTest() 114ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 379ms
And Create transport "CREATE_OWN_COLLECTION_POWDER_FACTORY" by JSON file as "super-admin-hochland" 1s 352ms
When Go to transport details "OWN_COLLECTION_POWDER_FACTORY" 4s 548ms
Then Verify that discrepancy report section is available 037ms
And Open section: "discrepancy-report-panel" 1s 070ms
And Verify that generate new discrepancy report button is visible 037ms
After Hooks.deleteTransportAfterTest() 100ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 295ms
And Create transport "CREATE_EXPORT" by JSON file as "super-admin-hochland" 1s 373ms
When Go to transport details "EXPORT" 5s 645ms
Then Verify that discrepancy report section is available 025ms
And Open section: "discrepancy-report-panel" 1s 070ms
And Verify that generate new discrepancy report button is visible 034ms
After Hooks.deleteTransportAfterTest() 118ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 463ms
And Create transport "CREATE_TRANSFER_BETWEEN_WAREHOUSES" by JSON file as "super-admin-hochland" 1s 192ms
When Go to transport details "TRANSFER_BETWEEN_WAREHOUSES" 4s 774ms
Then Verify that discrepancy report section is available 033ms
And Open section: "discrepancy-report-panel" 1s 063ms
And Verify that generate new discrepancy report button is visible 035ms
After Hooks.deleteTransportAfterTest() 084ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 338ms
And Create transport "CREATE_CISTERN_DELIVERY" by JSON file as "super-admin-hochland" 1s 353ms
When Go to transport details "CISTERN_DELIVERY" 4s 447ms
Then Verify that discrepancy report section is not available 15s 039ms
After Hooks.deleteTransportAfterTest() 094ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 422ms
And Create transport "CREATE_CISTERN_COLLECTION" by JSON file as "super-admin-hochland" 1s 302ms
When Go to transport details "CISTERN_COLLECTION" 4s 516ms
Then Verify that discrepancy report section is not available 15s 016ms
After Hooks.deleteTransportAfterTest() 127ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 459ms
And Create transport "CREATE_WEIGHING" by JSON file as "super-admin-hochland" 1s 221ms
When Go to transport details "WEIGHING" 4s 377ms
Then Verify that discrepancy report section is not available 15s 056ms
After Hooks.deleteTransportAfterTest() 082ms
Scenario Outline Check if discrepancy report is properly generated
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 056ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 353ms
When Go to "TRANSPORT_TABLE" 109ms
And Go to transport details "DELIVERY" 4s 771ms
And Change filled value in transport details "warehouseman" "select" "Błajet" "0" 3s 514ms
And Change filled value in transport details "unloaded-stere" "text" "3" "0" 1s 337ms
And Open section: "discrepancy-report-panel" 1s 070ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 003ms
And Fill transport form 36s 016ms
And Fill discrepancy report section without closing the form 19s 629ms
And Generate discrepancy report 16s 894ms
And Download discrepancy report 147ms
Then Verify that discrepancy report file has correct values 15s 161ms
java.nio.file.NoSuchFileException: /home/teamcity/Downloads/16_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:49)
	at Utils.FileUtil.getPdfFileText(FileUtil.java:28)
	at CucumberTests.Transport.TransportFormTest.verifyThatDiscrepancyReportFileHasCorrectValues(TransportFormTest.java:238)
	at ✽.Verify that discrepancy report file has correct values(file:Features/Atom/Transport/TransportForm/DiscrepancyReport.feature:76)
After Hooks.deleteTransportAfterTest() 092ms
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 651ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 330ms
When Go to "TRANSPORT_TABLE" 120ms
And Go to transport details "DELIVERY" 4s 760ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 003ms
And Fill transport form 36s 008ms
And Open section: "discrepancy-report-panel" 1s 071ms
And Fill discrepancy report section without closing the form 19s 640ms
And Generate discrepancy report 16s 308ms
And Download discrepancy report 155ms
And Verify that discrepancy report file has correct values 15s 182ms
java.nio.file.NoSuchFileException: /home/teamcity/Downloads/17_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:49)
	at Utils.FileUtil.getPdfFileText(FileUtil.java:28)
	at CucumberTests.Transport.TransportFormTest.verifyThatDiscrepancyReportFileHasCorrectValues(TransportFormTest.java:238)
	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() 128ms