Project Number Date
ApolloFullRunnerReport master.290 02 lut 2021, 17:01

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 26s 100ms Failed
Feature Transport Form - Discrepancy Report scenarios
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 698ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 436ms
And Go to transport details "DELIVERY" 4s 684ms
When Open section: "discrepancy-report-panel" 1s 066ms
Then Verify that no discrepancies found label is visible in discrepancy report section 063ms
And Select "NIE" in the "insp.-accord.-with-ins." 2s 415ms
And Verify that discrepancy report custom fields are visible in discrepancy report section 086ms
After Hooks.deleteTransportAfterTest() 092ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 251ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 001ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 364ms
And Go to transport details "DELIVERY" 4s 778ms
And Fill transport form 35s 624ms
And Click "save-transport-and-close" save button and wait for form to disappear 16s 119ms
When Go to transport details "DELIVERY" 4s 403ms
Then Select "NIE" in the "insp.-accord.-with-ins." 2s 403ms
And Click "save-transport" save button 708ms
And Wait "2" seconds 2s
And Verify that discrepancy report section is open 026ms
And Verify that discrepancy report section contains validation errors 014ms
After Hooks.deleteTransportAfterTest() 098ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 447ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 373ms
When Go to transport details "DELIVERY" 4s 715ms
Then Verify that discrepancy report section is available 035ms
And Open section: "discrepancy-report-panel" 1s 052ms
And Verify that generate new discrepancy report button is visible 037ms
After Hooks.deleteTransportAfterTest() 086ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 242ms
And Create transport "CREATE_OWN_COLLECTION" by JSON file as "super-admin-hochland" 1s 286ms
When Go to transport details "OWN_COLLECTION" 4s 629ms
Then Verify that discrepancy report section is available 030ms
And Open section: "discrepancy-report-panel" 1s 049ms
And Verify that generate new discrepancy report button is visible 030ms
After Hooks.deleteTransportAfterTest() 097ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 256ms
And Create transport "CREATE_OWN_COLLECTION_POWDER_FACTORY" by JSON file as "super-admin-hochland" 1s 316ms
When Go to transport details "OWN_COLLECTION_POWDER_FACTORY" 4s 531ms
Then Verify that discrepancy report section is available 031ms
And Open section: "discrepancy-report-panel" 1s 065ms
And Verify that generate new discrepancy report button is visible 028ms
After Hooks.deleteTransportAfterTest() 097ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 357ms
And Create transport "CREATE_EXPORT" by JSON file as "super-admin-hochland" 1s 385ms
When Go to transport details "EXPORT" 5s 530ms
Then Verify that discrepancy report section is available 029ms
And Open section: "discrepancy-report-panel" 1s 074ms
And Verify that generate new discrepancy report button is visible 030ms
After Hooks.deleteTransportAfterTest() 084ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 280ms
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 748ms
Then Verify that discrepancy report section is available 031ms
And Open section: "discrepancy-report-panel" 1s 060ms
And Verify that generate new discrepancy report button is visible 031ms
After Hooks.deleteTransportAfterTest() 053ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 324ms
And Create transport "CREATE_CISTERN_DELIVERY" by JSON file as "super-admin-hochland" 1s 298ms
When Go to transport details "CISTERN_DELIVERY" 4s 443ms
Then Verify that discrepancy report section is not available 15s 060ms
After Hooks.deleteTransportAfterTest() 076ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 356ms
And Create transport "CREATE_CISTERN_COLLECTION" by JSON file as "super-admin-hochland" 1s 287ms
When Go to transport details "CISTERN_COLLECTION" 4s 434ms
Then Verify that discrepancy report section is not available 15s 067ms
After Hooks.deleteTransportAfterTest() 097ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 504ms
And Create transport "CREATE_WEIGHING" by JSON file as "super-admin-hochland" 1s 202ms
When Go to transport details "WEIGHING" 4s 381ms
Then Verify that discrepancy report section is not available 15s 042ms
After Hooks.deleteTransportAfterTest() 061ms
Scenario Outline Check if discrepancy report is properly generated
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 345ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 329ms
When Go to "TRANSPORT_TABLE" 092ms
And Go to transport details "DELIVERY" 4s 739ms
And Change filled value in transport details "warehouseman" "select" "Błajet" "0" 3s 462ms
And Change filled value in transport details "unloaded-stere" "text" "3" "0" 1s 332ms
And Open section: "discrepancy-report-panel" 1s 055ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 002ms
And Fill transport form 35s 710ms
And Fill discrepancy report section without closing the form 19s 506ms
And Generate discrepancy report 16s 749ms
And Download discrepancy report 172ms
Then Verify that discrepancy report file has correct values 15s 129ms
java.nio.file.NoSuchFileException: /home/teamcity/Downloads/14_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() 104ms
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 477ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 381ms
When Go to "TRANSPORT_TABLE" 114ms
And Go to transport details "DELIVERY" 4s 751ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 003ms
And Fill transport form 35s 965ms
And Open section: "discrepancy-report-panel" 1s 075ms
And Fill discrepancy report section without closing the form 19s 618ms
And Generate discrepancy report 16s 360ms
And Download discrepancy report 171ms
And Verify that discrepancy report file has correct values 15s 112ms
java.nio.file.NoSuchFileException: /home/teamcity/Downloads/15_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() 093ms