Project Number Date
ApolloFullRunnerReport develop.285 29 sty 2021, 06:01

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 030ms Failed
Feature Transport Form - Discrepancy Report scenarios
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 417ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 374ms
And Go to transport details "DELIVERY" 4s 688ms
When Open section: "discrepancy-report-panel" 1s 083ms
Then Verify that no discrepancies found label is visible in discrepancy report section 073ms
And Select "NIE" in the "insp.-accord.-with-ins." 2s 443ms
And Verify that discrepancy report custom fields are visible in discrepancy report section 106ms
After Hooks.deleteTransportAfterTest() 122ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 288ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 002ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 428ms
And Go to transport details "DELIVERY" 4s 709ms
And Fill transport form 36s 009ms
And Click "save-transport-and-close" save button and wait for form to disappear 16s 138ms
When Go to transport details "DELIVERY" 4s 445ms
Then Select "NIE" in the "insp.-accord.-with-ins." 2s 433ms
And Click "save-transport" save button 721ms
And Wait "2" seconds 2s
And Verify that discrepancy report section is open 030ms
And Verify that discrepancy report section contains validation errors 020ms
After Hooks.deleteTransportAfterTest() 151ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 464ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 331ms
When Go to transport details "DELIVERY" 4s 718ms
Then Verify that discrepancy report section is available 040ms
And Open section: "discrepancy-report-panel" 1s 067ms
And Verify that generate new discrepancy report button is visible 039ms
After Hooks.deleteTransportAfterTest() 115ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 375ms
And Create transport "CREATE_OWN_COLLECTION" by JSON file as "super-admin-hochland" 1s 353ms
When Go to transport details "OWN_COLLECTION" 4s 670ms
Then Verify that discrepancy report section is available 037ms
And Open section: "discrepancy-report-panel" 1s 062ms
And Verify that generate new discrepancy report button is visible 036ms
After Hooks.deleteTransportAfterTest() 088ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 396ms
And Create transport "CREATE_OWN_COLLECTION_POWDER_FACTORY" by JSON file as "super-admin-hochland" 1s 322ms
When Go to transport details "OWN_COLLECTION_POWDER_FACTORY" 4s 572ms
Then Verify that discrepancy report section is available 037ms
And Open section: "discrepancy-report-panel" 1s 065ms
And Verify that generate new discrepancy report button is visible 038ms
After Hooks.deleteTransportAfterTest() 108ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 312ms
And Create transport "CREATE_EXPORT" by JSON file as "super-admin-hochland" 1s 368ms
When Go to transport details "EXPORT" 5s 546ms
Then Verify that discrepancy report section is available 036ms
And Open section: "discrepancy-report-panel" 1s 056ms
And Verify that generate new discrepancy report button is visible 033ms
After Hooks.deleteTransportAfterTest() 120ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 686ms
And Create transport "CREATE_TRANSFER_BETWEEN_WAREHOUSES" by JSON file as "super-admin-hochland" 1s 178ms
When Go to transport details "TRANSFER_BETWEEN_WAREHOUSES" 4s 760ms
Then Verify that discrepancy report section is available 028ms
And Open section: "discrepancy-report-panel" 1s 060ms
And Verify that generate new discrepancy report button is visible 034ms
After Hooks.deleteTransportAfterTest() 069ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 337ms
And Create transport "CREATE_CISTERN_DELIVERY" by JSON file as "super-admin-hochland" 1s 294ms
When Go to transport details "CISTERN_DELIVERY" 4s 488ms
Then Verify that discrepancy report section is not available 15s 044ms
After Hooks.deleteTransportAfterTest() 103ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 511ms
And Create transport "CREATE_CISTERN_COLLECTION" by JSON file as "super-admin-hochland" 1s 308ms
When Go to transport details "CISTERN_COLLECTION" 4s 424ms
Then Verify that discrepancy report section is not available 15s 056ms
After Hooks.deleteTransportAfterTest() 122ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 292ms
And Create transport "CREATE_WEIGHING" by JSON file as "super-admin-hochland" 1s 235ms
When Go to transport details "WEIGHING" 4s 407ms
Then Verify that discrepancy report section is not available 15s 056ms
After Hooks.deleteTransportAfterTest() 082ms
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 338ms
When Go to "TRANSPORT_TABLE" 098ms
And Go to transport details "DELIVERY" 4s 737ms
And Change filled value in transport details "warehouseman" "select" "Błajet" "0" 3s 530ms
And Change filled value in transport details "unloaded-stere" "text" "3" "0" 1s 333ms
And Open section: "discrepancy-report-panel" 1s 077ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 002ms
And Fill transport form 36s 072ms
And Fill discrepancy report section without closing the form 19s 617ms
And Generate discrepancy report 16s 794ms
And Download discrepancy report 159ms
Then Verify that discrepancy report file has correct values 15s 142ms
java.nio.file.NoSuchFileException: /home/teamcity/Downloads/14_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() 127ms
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 466ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 364ms
When Go to "TRANSPORT_TABLE" 123ms
And Go to transport details "DELIVERY" 4s 713ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 002ms
And Fill transport form 35s 971ms
And Open section: "discrepancy-report-panel" 1s 069ms
And Fill discrepancy report section without closing the form 19s 636ms
And Generate discrepancy report 16s 334ms
And Download discrepancy report 163ms
And Verify that discrepancy report file has correct values 15s 169ms
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: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() 115ms