Project Number Date
ApolloFullRunnerReport develop.307 16 lut 2021, 05:08

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 683ms Failed
Feature Transport Form - Discrepancy Report scenarios
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 544ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 334ms
And Go to transport details "DELIVERY" 4s 768ms
When Open section: "discrepancy-report-panel" 1s 090ms
Then Verify that no discrepancies found label is visible in discrepancy report section 069ms
And Select "NIE" in the "insp.-accord.-with-ins." 2s 441ms
And Verify that discrepancy report custom fields are visible in discrepancy report section 113ms
After Hooks.deleteTransportAfterTest() 125ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 298ms
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 648ms
And Fill transport form 36s 075ms
And Click "save-transport-and-close" save button and wait for form to disappear 16s 153ms
When Go to transport details "DELIVERY" 4s 468ms
Then Select "NIE" in the "insp.-accord.-with-ins." 2s 434ms
And Click "save-transport" save button 710ms
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() 143ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 471ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 327ms
When Go to transport details "DELIVERY" 4s 748ms
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 041ms
After Hooks.deleteTransportAfterTest() 110ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 304ms
And Create transport "CREATE_OWN_COLLECTION" by JSON file as "super-admin-hochland" 1s 318ms
When Go to transport details "OWN_COLLECTION" 4s 656ms
Then Verify that discrepancy report section is available 045ms
And Open section: "discrepancy-report-panel" 1s 065ms
And Verify that generate new discrepancy report button is visible 035ms
After Hooks.deleteTransportAfterTest() 128ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 355ms
And Create transport "CREATE_OWN_COLLECTION_POWDER_FACTORY" by JSON file as "super-admin-hochland" 1s 317ms
When Go to transport details "OWN_COLLECTION_POWDER_FACTORY" 4s 578ms
Then Verify that discrepancy report section is available 034ms
And Open section: "discrepancy-report-panel" 1s 065ms
And Verify that generate new discrepancy report button is visible 031ms
After Hooks.deleteTransportAfterTest() 122ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 327ms
And Create transport "CREATE_EXPORT" by JSON file as "super-admin-hochland" 1s 359ms
When Go to transport details "EXPORT" 5s 638ms
Then Verify that discrepancy report section is available 030ms
And Open section: "discrepancy-report-panel" 1s 055ms
And Verify that generate new discrepancy report button is visible 035ms
After Hooks.deleteTransportAfterTest() 104ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 399ms
And Create transport "CREATE_TRANSFER_BETWEEN_WAREHOUSES" by JSON file as "super-admin-hochland" 1s 160ms
When Go to transport details "TRANSFER_BETWEEN_WAREHOUSES" 4s 775ms
Then Verify that discrepancy report section is available 038ms
And Open section: "discrepancy-report-panel" 1s 064ms
And Verify that generate new discrepancy report button is visible 036ms
After Hooks.deleteTransportAfterTest() 081ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 692ms
And Create transport "CREATE_CISTERN_DELIVERY" by JSON file as "super-admin-hochland" 1s 307ms
When Go to transport details "CISTERN_DELIVERY" 4s 493ms
Then Verify that discrepancy report section is not available 15s 022ms
After Hooks.deleteTransportAfterTest() 106ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 513ms
And Create transport "CREATE_CISTERN_COLLECTION" by JSON file as "super-admin-hochland" 1s 289ms
When Go to transport details "CISTERN_COLLECTION" 4s 460ms
Then Verify that discrepancy report section is not available 15s 034ms
After Hooks.deleteTransportAfterTest() 123ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 323ms
And Create transport "CREATE_WEIGHING" by JSON file as "super-admin-hochland" 1s 215ms
When Go to transport details "WEIGHING" 4s 386ms
Then Verify that discrepancy report section is not available 15s 032ms
After Hooks.deleteTransportAfterTest() 099ms
Scenario Outline Check if discrepancy report is properly generated
Steps
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 399ms
When Go to "TRANSPORT_TABLE" 129ms
And Go to transport details "DELIVERY" 4s 748ms
And Change filled value in transport details "warehouseman" "select" "Błajet" "0" 3s 531ms
And Change filled value in transport details "unloaded-stere" "text" "3" "0" 1s 335ms
And Open section: "discrepancy-report-panel" 1s 057ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 002ms
And Fill transport form 36s 126ms
And Fill discrepancy report section without closing the form 19s 620ms
And Generate discrepancy report 16s 861ms
And Download discrepancy report 169ms
Then Verify that discrepancy report file has correct values 15s 145ms
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() 132ms
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 392ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 400ms
When Go to "TRANSPORT_TABLE" 117ms
And Go to transport details "DELIVERY" 4s 765ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 003ms
And Fill transport form 36s 157ms
And Open section: "discrepancy-report-panel" 1s 079ms
And Fill discrepancy report section without closing the form 19s 682ms
And Generate discrepancy report 16s 316ms
And Download discrepancy report 169ms
And Verify that discrepancy report file has correct values 15s 152ms
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() 123ms