Project Number Date
ApolloFullRunnerReport master.304 09 lut 2021, 04:39

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 142ms Failed
Feature Transport Form - Discrepancy Report scenarios
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 563ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 378ms
And Go to transport details "DELIVERY" 4s 712ms
When Open section: "discrepancy-report-panel" 1s 077ms
Then Verify that no discrepancies found label is visible in discrepancy report section 059ms
And Select "NIE" in the "insp.-accord.-with-ins." 2s 443ms
And Verify that discrepancy report custom fields are visible in discrepancy report section 105ms
After Hooks.deleteTransportAfterTest() 105ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 285ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 001ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 350ms
And Go to transport details "DELIVERY" 4s 679ms
And Fill transport form 36s 054ms
And Click "save-transport-and-close" save button and wait for form to disappear 16s 112ms
When Go to transport details "DELIVERY" 4s 456ms
Then Select "NIE" in the "insp.-accord.-with-ins." 2s 439ms
And Click "save-transport" save button 731ms
And Wait "2" seconds 2s
And Verify that discrepancy report section is open 031ms
And Verify that discrepancy report section contains validation errors 020ms
After Hooks.deleteTransportAfterTest() 108ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 502ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 342ms
When Go to transport details "DELIVERY" 4s 743ms
Then Verify that discrepancy report section is available 036ms
And Open section: "discrepancy-report-panel" 1s 057ms
And Verify that generate new discrepancy report button is visible 038ms
After Hooks.deleteTransportAfterTest() 146ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 279ms
And Create transport "CREATE_OWN_COLLECTION" by JSON file as "super-admin-hochland" 1s 295ms
When Go to transport details "OWN_COLLECTION" 4s 635ms
Then Verify that discrepancy report section is available 035ms
And Open section: "discrepancy-report-panel" 1s 067ms
And Verify that generate new discrepancy report button is visible 032ms
After Hooks.deleteTransportAfterTest() 113ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 317ms
And Create transport "CREATE_OWN_COLLECTION_POWDER_FACTORY" by JSON file as "super-admin-hochland" 1s 379ms
When Go to transport details "OWN_COLLECTION_POWDER_FACTORY" 4s 606ms
Then Verify that discrepancy report section is available 038ms
And Open section: "discrepancy-report-panel" 1s 067ms
And Verify that generate new discrepancy report button is visible 032ms
After Hooks.deleteTransportAfterTest() 108ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 415ms
And Create transport "CREATE_EXPORT" by JSON file as "super-admin-hochland" 1s 316ms
When Go to transport details "EXPORT" 5s 600ms
Then Verify that discrepancy report section is available 046ms
And Open section: "discrepancy-report-panel" 1s 048ms
And Verify that generate new discrepancy report button is visible 035ms
After Hooks.deleteTransportAfterTest() 111ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 354ms
And Create transport "CREATE_TRANSFER_BETWEEN_WAREHOUSES" by JSON file as "super-admin-hochland" 1s 169ms
When Go to transport details "TRANSFER_BETWEEN_WAREHOUSES" 4s 802ms
Then Verify that discrepancy report section is available 041ms
And Open section: "discrepancy-report-panel" 1s 058ms
And Verify that generate new discrepancy report button is visible 029ms
After Hooks.deleteTransportAfterTest() 076ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 391ms
And Create transport "CREATE_CISTERN_DELIVERY" by JSON file as "super-admin-hochland" 1s 296ms
When Go to transport details "CISTERN_DELIVERY" 4s 502ms
Then Verify that discrepancy report section is not available 15s 048ms
After Hooks.deleteTransportAfterTest() 126ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 442ms
And Create transport "CREATE_CISTERN_COLLECTION" by JSON file as "super-admin-hochland" 1s 299ms
When Go to transport details "CISTERN_COLLECTION" 4s 442ms
Then Verify that discrepancy report section is not available 15s 015ms
After Hooks.deleteTransportAfterTest() 135ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 301ms
And Create transport "CREATE_WEIGHING" by JSON file as "super-admin-hochland" 1s 219ms
When Go to transport details "WEIGHING" 4s 384ms
Then Verify that discrepancy report section is not available 15s 035ms
After Hooks.deleteTransportAfterTest() 076ms
Scenario Outline Check if discrepancy report is properly generated
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 455ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 367ms
When Go to "TRANSPORT_TABLE" 119ms
And Go to transport details "DELIVERY" 4s 779ms
And Change filled value in transport details "warehouseman" "select" "Błajet" "0" 3s 532ms
And Change filled value in transport details "unloaded-stere" "text" "3" "0" 1s 325ms
And Open section: "discrepancy-report-panel" 1s 067ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 002ms
And Fill transport form 36s 092ms
And Fill discrepancy report section without closing the form 19s 631ms
And Generate discrepancy report 16s 876ms
And Download discrepancy report 157ms
Then Verify that discrepancy report file has correct values 15s 157ms
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() 121ms
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 638ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 293ms
When Go to "TRANSPORT_TABLE" 124ms
And Go to transport details "DELIVERY" 4s 741ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 001ms
And Fill transport form 36s 116ms
And Open section: "discrepancy-report-panel" 1s 083ms
And Fill discrepancy report section without closing the form 19s 643ms
And Generate discrepancy report 16s 316ms
And Download discrepancy report 165ms
And Verify that discrepancy report file has correct values 15s 136ms
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() 140ms