Project Number Date
ApolloFullRunnerReport develop.388 21 kwi 2021, 05:21

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 128ms Failed
Feature Transport Form - Discrepancy Report scenarios
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 388ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 528ms
And Go to transport details "DELIVERY" 4s 775ms
When Open section: "discrepancy-report-panel" 1s 076ms
Then Verify that no discrepancies found label is visible in discrepancy report section 056ms
And Select "NIE" in the "insp.-accord.-with-ins." 2s 412ms
And Verify that discrepancy report custom fields are visible in discrepancy report section 115ms
After Hooks.deleteTransportAfterTest() 140ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 290ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 001ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 391ms
And Go to transport details "DELIVERY" 4s 589ms
And Fill transport form 35s 889ms
And Click "save-transport-and-close" save button and wait for form to disappear 16s 171ms
When Go to transport details "DELIVERY" 4s 502ms
Then Select "NIE" in the "insp.-accord.-with-ins." 2s 456ms
And Click "save-transport" save button 719ms
And Wait "2" seconds 2s
And Verify that discrepancy report section is open 028ms
And Verify that discrepancy report section contains validation errors 018ms
After Hooks.deleteTransportAfterTest() 140ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 463ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 385ms
When Go to transport details "DELIVERY" 4s 759ms
Then Verify that discrepancy report section is available 040ms
And Open section: "discrepancy-report-panel" 1s 059ms
And Verify that generate new discrepancy report button is visible 038ms
After Hooks.deleteTransportAfterTest() 120ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 408ms
And Create transport "CREATE_OWN_COLLECTION" by JSON file as "super-admin-hochland" 1s 324ms
When Go to transport details "OWN_COLLECTION" 4s 637ms
Then Verify that discrepancy report section is available 036ms
And Open section: "discrepancy-report-panel" 1s 066ms
And Verify that generate new discrepancy report button is visible 030ms
After Hooks.deleteTransportAfterTest() 104ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 338ms
And Create transport "CREATE_OWN_COLLECTION_POWDER_FACTORY" by JSON file as "super-admin-hochland" 1s 348ms
When Go to transport details "OWN_COLLECTION_POWDER_FACTORY" 4s 511ms
Then Verify that discrepancy report section is available 041ms
And Open section: "discrepancy-report-panel" 1s 053ms
And Verify that generate new discrepancy report button is visible 030ms
After Hooks.deleteTransportAfterTest() 106ms
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 320ms
When Go to transport details "EXPORT" 5s 340ms
Then Verify that discrepancy report section is available 036ms
And Open section: "discrepancy-report-panel" 1s 066ms
And Verify that generate new discrepancy report button is visible 029ms
After Hooks.deleteTransportAfterTest() 114ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 457ms
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 713ms
Then Verify that discrepancy report section is available 035ms
And Open section: "discrepancy-report-panel" 1s 050ms
And Verify that generate new discrepancy report button is visible 032ms
After Hooks.deleteTransportAfterTest() 064ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 444ms
And Create transport "CREATE_CISTERN_DELIVERY" by JSON file as "super-admin-hochland" 1s 265ms
When Go to transport details "CISTERN_DELIVERY" 4s 461ms
Then Verify that discrepancy report section is not available 15s 046ms
After Hooks.deleteTransportAfterTest() 105ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 517ms
And Create transport "CREATE_CISTERN_COLLECTION" by JSON file as "super-admin-hochland" 1s 265ms
When Go to transport details "CISTERN_COLLECTION" 4s 460ms
Then Verify that discrepancy report section is not available 15s 028ms
After Hooks.deleteTransportAfterTest() 135ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 461ms
And Create transport "CREATE_WEIGHING" by JSON file as "super-admin-hochland" 1s 234ms
When Go to transport details "WEIGHING" 4s 396ms
Then Verify that discrepancy report section is not available 15s 010ms
After Hooks.deleteTransportAfterTest() 077ms
Scenario Outline Check if discrepancy report is properly generated
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 463ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 358ms
When Go to "TRANSPORT_TABLE" 141ms
And Go to transport details "DELIVERY" 4s 715ms
And Change filled value in transport details "warehouseman" "select" "Dorosz Mieczysław" "0" 3s 536ms
And Change filled value in transport details "unloaded-stere" "text" "3" "0" 1s 338ms
And Open section: "discrepancy-report-panel" 1s 058ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 003ms
And Fill transport form 35s 848ms
And Fill discrepancy report section without closing the form 19s 527ms
And Generate discrepancy report 16s 796ms
And Download discrepancy report 165ms
Then Verify that discrepancy report file has correct values 15s 132ms
java.nio.file.NoSuchFileException: /home/teamcity/Downloads/42_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() 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 497ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 388ms
When Go to "TRANSPORT_TABLE" 152ms
And Go to transport details "DELIVERY" 4s 712ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 002ms
And Fill transport form 35s 935ms
And Open section: "discrepancy-report-panel" 1s 076ms
And Fill discrepancy report section without closing the form 19s 564ms
And Generate discrepancy report 16s 218ms
And Download discrepancy report 139ms
And Verify that discrepancy report file has correct values 15s 169ms
java.nio.file.NoSuchFileException: /home/teamcity/Downloads/43_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() 131ms