Project Number Date
ApolloFullRunnerReport master.420 12 maj 2021, 06:42

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 815ms Failed
Feature Transport Form - Discrepancy Report scenarios
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 969ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 452ms
And Go to transport details "DELIVERY" 4s 756ms
When Open section: "discrepancy-report-panel" 1s 076ms
Then Verify that no discrepancies found label is visible in discrepancy report section 064ms
And Select "NIE" in the "insp.-accord.-with-ins." 2s 443ms
And Verify that discrepancy report custom fields are visible in discrepancy report section 089ms
After Hooks.deleteTransportAfterTest() 101ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 326ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 001ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 414ms
And Go to transport details "DELIVERY" 4s 729ms
And Fill transport form 35s 877ms
And Click "save-transport-and-close" save button and wait for form to disappear 16s 141ms
When Go to transport details "DELIVERY" 4s 417ms
Then Select "NIE" in the "insp.-accord.-with-ins." 2s 411ms
And Click "save-transport" save button 718ms
And Wait "2" seconds 2s
And Verify that discrepancy report section is open 029ms
And Verify that discrepancy report section contains validation errors 018ms
After Hooks.deleteTransportAfterTest() 128ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 500ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 422ms
When Go to transport details "DELIVERY" 4s 761ms
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 033ms
After Hooks.deleteTransportAfterTest() 142ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 367ms
And Create transport "CREATE_OWN_COLLECTION" by JSON file as "super-admin-hochland" 1s 338ms
When Go to transport details "OWN_COLLECTION" 4s 588ms
Then Verify that discrepancy report section is available 037ms
And Open section: "discrepancy-report-panel" 1s 063ms
And Verify that generate new discrepancy report button is visible 021ms
After Hooks.deleteTransportAfterTest() 085ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 410ms
And Create transport "CREATE_OWN_COLLECTION_POWDER_FACTORY" by JSON file as "super-admin-hochland" 1s 293ms
When Go to transport details "OWN_COLLECTION_POWDER_FACTORY" 4s 484ms
Then Verify that discrepancy report section is available 034ms
And Open section: "discrepancy-report-panel" 1s 057ms
And Verify that generate new discrepancy report button is visible 035ms
After Hooks.deleteTransportAfterTest() 115ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 351ms
And Create transport "CREATE_EXPORT" by JSON file as "super-admin-hochland" 1s 409ms
When Go to transport details "EXPORT" 5s 615ms
Then Verify that discrepancy report section is available 026ms
And Open section: "discrepancy-report-panel" 1s 056ms
And Verify that generate new discrepancy report button is visible 032ms
After Hooks.deleteTransportAfterTest() 112ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 414ms
And Create transport "CREATE_TRANSFER_BETWEEN_WAREHOUSES" by JSON file as "super-admin-hochland" 1s 167ms
When Go to transport details "TRANSFER_BETWEEN_WAREHOUSES" 4s 745ms
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 030ms
After Hooks.deleteTransportAfterTest() 093ms
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 336ms
When Go to transport details "CISTERN_DELIVERY" 4s 483ms
Then Verify that discrepancy report section is not available 15s 046ms
After Hooks.deleteTransportAfterTest() 114ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 441ms
And Create transport "CREATE_CISTERN_COLLECTION" by JSON file as "super-admin-hochland" 1s 303ms
When Go to transport details "CISTERN_COLLECTION" 4s 545ms
Then Verify that discrepancy report section is not available 15s 014ms
After Hooks.deleteTransportAfterTest() 104ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 399ms
And Create transport "CREATE_WEIGHING" by JSON file as "super-admin-hochland" 1s 202ms
When Go to transport details "WEIGHING" 4s 367ms
Then Verify that discrepancy report section is not available 15s 035ms
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 405ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 499ms
When Go to "TRANSPORT_TABLE" 149ms
And Go to transport details "DELIVERY" 4s 729ms
And Change filled value in transport details "warehouseman" "select" "Dorosz Mieczysław" "0" 3s 530ms
And Change filled value in transport details "unloaded-stere" "text" "3" "0" 1s 316ms
And Open section: "discrepancy-report-panel" 1s 076ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 002ms
And Fill transport form 35s 767ms
And Fill discrepancy report section without closing the form 19s 537ms
And Generate discrepancy report 16s 732ms
And Download discrepancy report 182ms
Then Verify that discrepancy report file has correct values 15s 127ms
java.nio.file.NoSuchFileException: /home/teamcity/Downloads/49_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:76)
After Hooks.deleteTransportAfterTest() 101ms
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 491ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 388ms
When Go to "TRANSPORT_TABLE" 151ms
And Go to transport details "DELIVERY" 4s 776ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 002ms
And Fill transport form 35s 796ms
And Open section: "discrepancy-report-panel" 1s 071ms
And Fill discrepancy report section without closing the form 19s 483ms
And Generate discrepancy report 16s 292ms
And Download discrepancy report 160ms
And Verify that discrepancy report file has correct values 15s 155ms
java.nio.file.NoSuchFileException: /home/teamcity/Downloads/50_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() 103ms