Project Number Date
ApolloFullRunnerReport develop.316 23 lut 2021, 06:54

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 27s 934ms Failed
Feature Transport Form - Discrepancy Report scenarios
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 564ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 363ms
And Go to transport details "DELIVERY" 4s 781ms
When Open section: "discrepancy-report-panel" 1s 079ms
Then Verify that no discrepancies found label is visible in discrepancy report section 071ms
And Select "NIE" in the "insp.-accord.-with-ins." 2s 451ms
And Verify that discrepancy report custom fields are visible in discrepancy report section 105ms
After Hooks.deleteTransportAfterTest() 118ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 351ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 001ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 395ms
And Go to transport details "DELIVERY" 4s 723ms
And Fill transport form 36s 084ms
And Click "save-transport-and-close" save button and wait for form to disappear 16s 139ms
When Go to transport details "DELIVERY" 4s 432ms
Then Select "NIE" in the "insp.-accord.-with-ins." 2s 442ms
And Click "save-transport" save button 726ms
And Wait "2" seconds 2s
And Verify that discrepancy report section is open 029ms
And Verify that discrepancy report section contains validation errors 020ms
After Hooks.deleteTransportAfterTest() 102ms
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 360ms
When Go to transport details "DELIVERY" 4s 747ms
Then Verify that discrepancy report section is available 038ms
And Open section: "discrepancy-report-panel" 1s 066ms
And Verify that generate new discrepancy report button is visible 038ms
After Hooks.deleteTransportAfterTest() 093ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 323ms
And Create transport "CREATE_OWN_COLLECTION" by JSON file as "super-admin-hochland" 1s 282ms
When Go to transport details "OWN_COLLECTION" 4s 711ms
Then Verify that discrepancy report section is available 038ms
And Open section: "discrepancy-report-panel" 1s 065ms
And Verify that generate new discrepancy report button is visible 034ms
After Hooks.deleteTransportAfterTest() 116ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 308ms
And Create transport "CREATE_OWN_COLLECTION_POWDER_FACTORY" by JSON file as "super-admin-hochland" 1s 358ms
When Go to transport details "OWN_COLLECTION_POWDER_FACTORY" 4s 580ms
Then Verify that discrepancy report section is available 038ms
And Open section: "discrepancy-report-panel" 1s 075ms
And Verify that generate new discrepancy report button is visible 023ms
After Hooks.deleteTransportAfterTest() 064ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 339ms
And Create transport "CREATE_EXPORT" by JSON file as "super-admin-hochland" 1s 329ms
When Go to transport details "EXPORT" 5s 184ms
Then Verify that discrepancy report section is available 044ms
And Open section: "discrepancy-report-panel" 1s 071ms
And Verify that generate new discrepancy report button is visible 034ms
After Hooks.deleteTransportAfterTest() 137ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 387ms
And Create transport "CREATE_TRANSFER_BETWEEN_WAREHOUSES" by JSON file as "super-admin-hochland" 1s 169ms
When Go to transport details "TRANSFER_BETWEEN_WAREHOUSES" 4s 800ms
Then Verify that discrepancy report section is available 030ms
And Open section: "discrepancy-report-panel" 1s 066ms
And Verify that generate new discrepancy report button is visible 029ms
After Hooks.deleteTransportAfterTest() 069ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 361ms
And Create transport "CREATE_CISTERN_DELIVERY" by JSON file as "super-admin-hochland" 1s 266ms
When Go to transport details "CISTERN_DELIVERY" 4s 483ms
Then Verify that discrepancy report section is not available 15s 022ms
After Hooks.deleteTransportAfterTest() 109ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 384ms
And Create transport "CREATE_CISTERN_COLLECTION" by JSON file as "super-admin-hochland" 1s 313ms
When Go to transport details "CISTERN_COLLECTION" 4s 469ms
Then Verify that discrepancy report section is not available 15s 060ms
After Hooks.deleteTransportAfterTest() 109ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 449ms
And Create transport "CREATE_WEIGHING" by JSON file as "super-admin-hochland" 1s 196ms
When Go to transport details "WEIGHING" 4s 374ms
Then Verify that discrepancy report section is not available 15s 059ms
After Hooks.deleteTransportAfterTest() 092ms
Scenario Outline Check if discrepancy report is properly generated
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 387ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 374ms
When Go to "TRANSPORT_TABLE" 115ms
And Go to transport details "DELIVERY" 4s 725ms
And Change filled value in transport details "warehouseman" "select" "Błajet" "0" 3s 534ms
And Change filled value in transport details "unloaded-stere" "text" "3" "0" 1s 335ms
And Open section: "discrepancy-report-panel" 1s 065ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 002ms
And Fill transport form 36s 052ms
And Fill discrepancy report section without closing the form 19s 636ms
And Generate discrepancy report 16s 849ms
And Download discrepancy report 153ms
Then Verify that discrepancy report file has correct values 15s 177ms
java.nio.file.NoSuchFileException: /home/teamcity/Downloads/21_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:244)
	at ✽.Verify that discrepancy report file has correct values(file:Features/Atom/Transport/TransportForm/DiscrepancyReport.feature:76)
After Hooks.deleteTransportAfterTest() 123ms
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 473ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 352ms
When Go to "TRANSPORT_TABLE" 102ms
And Go to transport details "DELIVERY" 4s 787ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 002ms
And Fill transport form 36s 118ms
And Open section: "discrepancy-report-panel" 1s 075ms
And Fill discrepancy report section without closing the form 19s 665ms
And Generate discrepancy report 16s 409ms
And Download discrepancy report 196ms
And Verify that discrepancy report file has correct values 15s 116ms
java.nio.file.NoSuchFileException: /home/teamcity/Downloads/22_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:244)
	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() 146ms