Project Number Date
ApolloFullRunnerReport develop.310 19 lut 2021, 05:06

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 14s 208ms Failed
Feature Transport Form - Discrepancy Report scenarios
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 527ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 426ms
And Go to transport details "DELIVERY" 4s 793ms
When Open section: "discrepancy-report-panel" 1s 072ms
Then Verify that no discrepancies found label is visible in discrepancy report section 066ms
And Select "NIE" in the "insp.-accord.-with-ins." 2s 423ms
And Verify that discrepancy report custom fields are visible in discrepancy report section 114ms
After Hooks.deleteTransportAfterTest() 099ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 341ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 001ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 341ms
And Go to transport details "DELIVERY" 4s 739ms
And Fill transport form 36s 130ms
And Click "save-transport-and-close" save button and wait for form to disappear 16s 126ms
When Go to transport details "DELIVERY" 4s 456ms
Then Select "NIE" in the "insp.-accord.-with-ins." 2s 421ms
And Click "save-transport" save button 715ms
And Wait "2" seconds 2s
And Verify that discrepancy report section is open 032ms
And Verify that discrepancy report section contains validation errors 020ms
After Hooks.deleteTransportAfterTest() 142ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 413ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 299ms
When Go to transport details "DELIVERY" 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 039ms
After Hooks.deleteTransportAfterTest() 148ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 398ms
And Create transport "CREATE_OWN_COLLECTION" by JSON file as "super-admin-hochland" 1s 252ms
When Go to transport details "OWN_COLLECTION" 4s 689ms
Then Verify that discrepancy report section is available 036ms
And Open section: "discrepancy-report-panel" 1s 050ms
And Verify that generate new discrepancy report button is visible 041ms
After Hooks.deleteTransportAfterTest() 096ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 394ms
And Create transport "CREATE_OWN_COLLECTION_POWDER_FACTORY" by JSON file as "super-admin-hochland" 1s 329ms
When Go to transport details "OWN_COLLECTION_POWDER_FACTORY" 4s 573ms
Then Verify that discrepancy report section is available 035ms
And Open section: "discrepancy-report-panel" 1s 064ms
And Verify that generate new discrepancy report button is visible 029ms
After Hooks.deleteTransportAfterTest() 131ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 367ms
And Create transport "CREATE_EXPORT" by JSON file as "super-admin-hochland" 1s 427ms
When Go to transport details "EXPORT" 5s 639ms
Then Verify that discrepancy report section is available 028ms
And Open section: "discrepancy-report-panel" 1s 059ms
And Verify that generate new discrepancy report button is visible 034ms
After Hooks.deleteTransportAfterTest() 139ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 356ms
And Create transport "CREATE_TRANSFER_BETWEEN_WAREHOUSES" by JSON file as "super-admin-hochland" 1s 210ms
When Go to transport details "TRANSFER_BETWEEN_WAREHOUSES" 4s 682ms
Then Verify that discrepancy report section is available 039ms
And Open section: "discrepancy-report-panel" 1s 065ms
And Verify that generate new discrepancy report button is visible 031ms
After Hooks.deleteTransportAfterTest() 084ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 360ms
And Create transport "CREATE_CISTERN_DELIVERY" by JSON file as "super-admin-hochland" 1s 297ms
When Go to transport details "CISTERN_DELIVERY" 4s 503ms
Then Verify that discrepancy report section is not available 15s 037ms
After Hooks.deleteTransportAfterTest() 115ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 546ms
And Create transport "CREATE_CISTERN_COLLECTION" by JSON file as "super-admin-hochland" 1s 298ms
When Go to transport details "CISTERN_COLLECTION" 4s 447ms
Then Verify that discrepancy report section is not available 15s 046ms
After Hooks.deleteTransportAfterTest() 106ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 499ms
And Create transport "CREATE_WEIGHING" by JSON file as "super-admin-hochland" 1s 221ms
When Go to transport details "WEIGHING" 4s 400ms
Then Verify that discrepancy report section is not available 15s 013ms
After Hooks.deleteTransportAfterTest() 084ms
Scenario Outline Check if discrepancy report is properly generated
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 522ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 411ms
When Go to "TRANSPORT_TABLE" 107ms
And Go to transport details "DELIVERY" 4s 796ms
And Change filled value in transport details "warehouseman" "select" "Błajet" "0" 3s 551ms
And Change filled value in transport details "unloaded-stere" "text" "3" "0" 1s 336ms
And Open section: "discrepancy-report-panel" 1s 068ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 003ms
And Fill transport form 36s 053ms
And Fill discrepancy report section without closing the form 19s 638ms
And Generate discrepancy report 17s 420ms
And Download discrepancy report 156ms
Then Verify that discrepancy report file has correct values 15s 142ms
java.nio.file.NoSuchFileException: /home/teamcity/Downloads/17_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() 125ms
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 557ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 384ms
When Go to "TRANSPORT_TABLE" 099ms
And Go to transport details "DELIVERY" 4s 808ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 003ms
And Fill transport form 36s 045ms
And Open section: "discrepancy-report-panel" 1s 076ms
And Fill discrepancy report section without closing the form 19s 632ms
And Generate discrepancy report 1s 285ms
And Download discrepancy report 145ms
And Verify that discrepancy report file has correct values 15s 142ms
java.nio.file.NoSuchFileException: /home/teamcity/Downloads/18_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() 081ms