Project Number Date
ApolloFullRunnerReport master.299 05 lut 2021, 14:43

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 089ms Failed
Feature Transport Form - Discrepancy Report scenarios
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 453ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 405ms
And Go to transport details "DELIVERY" 4s 713ms
When Open section: "discrepancy-report-panel" 1s 051ms
Then Verify that no discrepancies found label is visible in discrepancy report section 068ms
And Select "NIE" in the "insp.-accord.-with-ins." 2s 449ms
And Verify that discrepancy report custom fields are visible in discrepancy report section 114ms
After Hooks.deleteTransportAfterTest() 115ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 359ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 001ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 367ms
And Go to transport details "DELIVERY" 4s 724ms
And Fill transport form 36s 098ms
And Click "save-transport-and-close" save button and wait for form to disappear 16s 112ms
When Go to transport details "DELIVERY" 4s 437ms
Then Select "NIE" in the "insp.-accord.-with-ins." 2s 447ms
And Click "save-transport" save button 723ms
And Wait "2" seconds 2s
And Verify that discrepancy report section is open 030ms
And Verify that discrepancy report section contains validation errors 022ms
After Hooks.deleteTransportAfterTest() 107ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 330ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 350ms
When Go to transport details "DELIVERY" 4s 695ms
Then Verify that discrepancy report section is available 039ms
And Open section: "discrepancy-report-panel" 1s 071ms
And Verify that generate new discrepancy report button is visible 039ms
After Hooks.deleteTransportAfterTest() 155ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 422ms
And Create transport "CREATE_OWN_COLLECTION" by JSON file as "super-admin-hochland" 1s 328ms
When Go to transport details "OWN_COLLECTION" 4s 683ms
Then Verify that discrepancy report section is available 030ms
And Open section: "discrepancy-report-panel" 1s 057ms
And Verify that generate new discrepancy report button is visible 035ms
After Hooks.deleteTransportAfterTest() 088ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 319ms
And Create transport "CREATE_OWN_COLLECTION_POWDER_FACTORY" by JSON file as "super-admin-hochland" 1s 355ms
When Go to transport details "OWN_COLLECTION_POWDER_FACTORY" 4s 562ms
Then Verify that discrepancy report section is available 038ms
And Open section: "discrepancy-report-panel" 1s 060ms
And Verify that generate new discrepancy report button is visible 036ms
After Hooks.deleteTransportAfterTest() 103ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 426ms
And Create transport "CREATE_EXPORT" by JSON file as "super-admin-hochland" 1s 356ms
When Go to transport details "EXPORT" 5s 585ms
Then Verify that discrepancy report section is available 042ms
And Open section: "discrepancy-report-panel" 1s 064ms
And Verify that generate new discrepancy report button is visible 034ms
After Hooks.deleteTransportAfterTest() 122ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 434ms
And Create transport "CREATE_TRANSFER_BETWEEN_WAREHOUSES" by JSON file as "super-admin-hochland" 1s 160ms
When Go to transport details "TRANSFER_BETWEEN_WAREHOUSES" 4s 755ms
Then Verify that discrepancy report section is available 024ms
And Open section: "discrepancy-report-panel" 1s 045ms
And Verify that generate new discrepancy report button is visible 037ms
After Hooks.deleteTransportAfterTest() 076ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 352ms
And Create transport "CREATE_CISTERN_DELIVERY" by JSON file as "super-admin-hochland" 1s 313ms
When Go to transport details "CISTERN_DELIVERY" 4s 476ms
Then Verify that discrepancy report section is not available 15s 017ms
After Hooks.deleteTransportAfterTest() 092ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 465ms
And Create transport "CREATE_CISTERN_COLLECTION" by JSON file as "super-admin-hochland" 1s 266ms
When Go to transport details "CISTERN_COLLECTION" 4s 461ms
Then Verify that discrepancy report section is not available 15s 040ms
After Hooks.deleteTransportAfterTest() 123ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 318ms
And Create transport "CREATE_WEIGHING" by JSON file as "super-admin-hochland" 1s 232ms
When Go to transport details "WEIGHING" 4s 384ms
Then Verify that discrepancy report section is not available 15s 023ms
After Hooks.deleteTransportAfterTest() 065ms
Scenario Outline Check if discrepancy report is properly generated
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 504ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 330ms
When Go to "TRANSPORT_TABLE" 105ms
And Go to transport details "DELIVERY" 4s 754ms
And Change filled value in transport details "warehouseman" "select" "Błajet" "0" 3s 529ms
And Change filled value in transport details "unloaded-stere" "text" "3" "0" 1s 333ms
And Open section: "discrepancy-report-panel" 1s 070ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 002ms
And Fill transport form 36s 114ms
And Fill discrepancy report section without closing the form 19s 637ms
And Generate discrepancy report 16s 883ms
And Download discrepancy report 188ms
Then Verify that discrepancy report file has correct values 15s 162ms
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:76)
After Hooks.deleteTransportAfterTest() 110ms
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 476ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 336ms
When Go to "TRANSPORT_TABLE" 108ms
And Go to transport details "DELIVERY" 4s 750ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 001ms
And Fill transport form 36s 101ms
And Open section: "discrepancy-report-panel" 1s 082ms
And Fill discrepancy report section without closing the form 19s 696ms
And Generate discrepancy report 16s 236ms
And Download discrepancy report 168ms
And Verify that discrepancy report file has correct values 15s 152ms
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: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() 116ms