Project Number Date
ApolloFullRunnerReport develop.434 24 maj 2021, 09:36

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 200ms Failed
Feature Transport Form - Discrepancy Report scenarios
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 458ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 377ms
And Go to transport details "DELIVERY" 4s 730ms
When Open section: "discrepancy-report-panel" 1s 075ms
Then Verify that no discrepancies found label is visible in discrepancy report section 063ms
And Select "NIE" in the "insp.-accord.-with-ins." 2s 432ms
And Verify that discrepancy report custom fields are visible in discrepancy report section 112ms
After Hooks.deleteTransportAfterTest() 132ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 420ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 001ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 335ms
And Go to transport details "DELIVERY" 4s 710ms
And Fill transport form 35s 886ms
And Click "save-transport-and-close" save button and wait for form to disappear 16s 107ms
When Go to transport details "DELIVERY" 4s 407ms
Then Select "NIE" in the "insp.-accord.-with-ins." 2s 403ms
And Click "save-transport" save button 748ms
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() 110ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 492ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 314ms
When Go to transport details "DELIVERY" 4s 732ms
Then Verify that discrepancy report section is available 039ms
And Open section: "discrepancy-report-panel" 1s 056ms
And Verify that generate new discrepancy report button is visible 038ms
After Hooks.deleteTransportAfterTest() 142ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 415ms
And Create transport "CREATE_OWN_COLLECTION" by JSON file as "super-admin-hochland" 1s 331ms
When Go to transport details "OWN_COLLECTION" 4s 609ms
Then Verify that discrepancy report section is available 028ms
And Open section: "discrepancy-report-panel" 1s 064ms
And Verify that generate new discrepancy report button is visible 032ms
After Hooks.deleteTransportAfterTest() 110ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 314ms
And Create transport "CREATE_OWN_COLLECTION_POWDER_FACTORY" by JSON file as "super-admin-hochland" 1s 336ms
When Go to transport details "OWN_COLLECTION_POWDER_FACTORY" 4s 519ms
Then Verify that discrepancy report section is available 034ms
And Open section: "discrepancy-report-panel" 1s 060ms
And Verify that generate new discrepancy report button is visible 033ms
After Hooks.deleteTransportAfterTest() 123ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 391ms
And Create transport "CREATE_EXPORT" by JSON file as "super-admin-hochland" 1s 361ms
When Go to transport details "EXPORT" 5s 864ms
Then Verify that discrepancy report section is available 028ms
And Open section: "discrepancy-report-panel" 1s 058ms
And Verify that generate new discrepancy report button is visible 028ms
After Hooks.deleteTransportAfterTest() 116ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 269ms
And Create transport "CREATE_TRANSFER_BETWEEN_WAREHOUSES" by JSON file as "super-admin-hochland" 1s 155ms
When Go to transport details "TRANSFER_BETWEEN_WAREHOUSES" 4s 651ms
Then Verify that discrepancy report section is available 031ms
And Open section: "discrepancy-report-panel" 1s 047ms
And Verify that generate new discrepancy report button is visible 030ms
After Hooks.deleteTransportAfterTest() 073ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 454ms
And Create transport "CREATE_CISTERN_DELIVERY" by JSON file as "super-admin-hochland" 1s 280ms
When Go to transport details "CISTERN_DELIVERY" 4s 468ms
Then Verify that discrepancy report section is not available 15s 066ms
After Hooks.deleteTransportAfterTest() 127ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 532ms
And Create transport "CREATE_CISTERN_COLLECTION" by JSON file as "super-admin-hochland" 1s 265ms
When Go to transport details "CISTERN_COLLECTION" 4s 464ms
Then Verify that discrepancy report section is not available 15s 033ms
After Hooks.deleteTransportAfterTest() 124ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 496ms
And Create transport "CREATE_WEIGHING" by JSON file as "super-admin-hochland" 1s 220ms
When Go to transport details "WEIGHING" 4s 340ms
Then Verify that discrepancy report section is not available 15s 024ms
After Hooks.deleteTransportAfterTest() 118ms
Scenario Outline Check if discrepancy report is properly generated
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 557ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 368ms
When Go to "TRANSPORT_TABLE" 114ms
And Go to transport details "DELIVERY" 4s 751ms
And Change filled value in transport details "warehouseman" "select" "Dorosz Mieczysław" "0" 3s 533ms
And Change filled value in transport details "unloaded-stere" "text" "3" "0" 1s 322ms
And Open section: "discrepancy-report-panel" 1s 060ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 003ms
And Fill transport form 35s 839ms
And Fill discrepancy report section without closing the form 19s 553ms
And Generate discrepancy report 16s 770ms
And Download discrepancy report 135ms
Then Verify that discrepancy report file has correct values 15s 152ms
java.nio.file.NoSuchFileException: /home/teamcity/Downloads/52_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() 095ms
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 615ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 426ms
When Go to "TRANSPORT_TABLE" 133ms
And Go to transport details "DELIVERY" 4s 693ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 002ms
And Fill transport form 35s 912ms
And Open section: "discrepancy-report-panel" 1s 072ms
And Fill discrepancy report section without closing the form 19s 386ms
And Generate discrepancy report 16s 170ms
And Download discrepancy report 156ms
And Verify that discrepancy report file has correct values 15s 122ms
java.nio.file.NoSuchFileException: /home/teamcity/Downloads/53_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() 102ms