Project Number Date
ApolloFullRunnerReport develop.415 08 maj 2021, 06:12

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 12s 855ms Failed
Feature Transport Form - Discrepancy Report scenarios
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 607ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 384ms
And Go to transport details "DELIVERY" 4s 733ms
When Open section: "discrepancy-report-panel" 1s 065ms
Then Verify that no discrepancies found label is visible in discrepancy report section 060ms
And Select "NIE" in the "insp.-accord.-with-ins." 2s 406ms
And Verify that discrepancy report custom fields are visible in discrepancy report section 073ms
After Hooks.deleteTransportAfterTest() 171ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 453ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 001ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 383ms
And Go to transport details "DELIVERY" 4s 707ms
And Fill transport form 35s 657ms
And Click "save-transport-and-close" save button and wait for form to disappear 16s 097ms
When Go to transport details "DELIVERY" 4s 414ms
Then Select "NIE" in the "insp.-accord.-with-ins." 2s 391ms
And Click "save-transport" save button 695ms
And Wait "2" seconds 2s
And Verify that discrepancy report section is open 020ms
And Verify that discrepancy report section contains validation errors 016ms
After Hooks.deleteTransportAfterTest() 100ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 999ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 462ms
When Go to transport details "DELIVERY" 4s 759ms
Then Verify that discrepancy report section is available 034ms
And Open section: "discrepancy-report-panel" 1s 057ms
And Verify that generate new discrepancy report button is visible 042ms
After Hooks.deleteTransportAfterTest() 089ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 368ms
And Create transport "CREATE_OWN_COLLECTION" by JSON file as "super-admin-hochland" 1s 297ms
When Go to transport details "OWN_COLLECTION" 4s 808ms
Then Verify that discrepancy report section is available 031ms
And Open section: "discrepancy-report-panel" 1s 051ms
And Verify that generate new discrepancy report button is visible 016ms
After Hooks.deleteTransportAfterTest() 078ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 403ms
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 558ms
Then Verify that discrepancy report section is available 032ms
And Open section: "discrepancy-report-panel" 1s 050ms
And Verify that generate new discrepancy report button is visible 026ms
After Hooks.deleteTransportAfterTest() 096ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 425ms
And Create transport "CREATE_EXPORT" by JSON file as "super-admin-hochland" 1s 465ms
When Go to transport details "EXPORT" 5s 746ms
Then Verify that discrepancy report section is available 029ms
And Open section: "discrepancy-report-panel" 1s 058ms
And Verify that generate new discrepancy report button is visible 041ms
After Hooks.deleteTransportAfterTest() 085ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 298ms
And Create transport "CREATE_TRANSFER_BETWEEN_WAREHOUSES" by JSON file as "super-admin-hochland" 1s 166ms
When Go to transport details "TRANSFER_BETWEEN_WAREHOUSES" 4s 741ms
Then Verify that discrepancy report section is available 025ms
And Open section: "discrepancy-report-panel" 1s 043ms
And Verify that generate new discrepancy report button is visible 037ms
After Hooks.deleteTransportAfterTest() 075ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 346ms
And Create transport "CREATE_CISTERN_DELIVERY" by JSON file as "super-admin-hochland" 1s 373ms
When Go to transport details "CISTERN_DELIVERY" 4s 469ms
Then Verify that discrepancy report section is not available 15s 033ms
After Hooks.deleteTransportAfterTest() 076ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 432ms
And Create transport "CREATE_CISTERN_COLLECTION" by JSON file as "super-admin-hochland" 1s 285ms
When Go to transport details "CISTERN_COLLECTION" 4s 456ms
Then Verify that discrepancy report section is not available 15s 035ms
After Hooks.deleteTransportAfterTest() 074ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 736ms
And Create transport "CREATE_WEIGHING" by JSON file as "super-admin-hochland" 1s 318ms
When Go to transport details "WEIGHING" 4s 425ms
Then Verify that discrepancy report section is not available 15s 041ms
After Hooks.deleteTransportAfterTest() 095ms
Scenario Outline Check if discrepancy report is properly generated
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 874ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 436ms
When Go to "TRANSPORT_TABLE" 115ms
And Go to transport details "DELIVERY" 4s 672ms
And Change filled value in transport details "warehouseman" "select" "Dorosz Mieczysław" "0" 3s 560ms
And Change filled value in transport details "unloaded-stere" "text" "3" "0" 1s 325ms
And Open section: "discrepancy-report-panel" 1s 057ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 001ms
And Fill transport form 35s 588ms
And Fill discrepancy report section without closing the form 19s 293ms
And Generate discrepancy report 16s 731ms
And Download discrepancy report 125ms
Then Verify that discrepancy report file has correct values 15s 154ms
java.nio.file.NoSuchFileException: /home/teamcity/Downloads/49_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() 098ms
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 380ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 346ms
When Go to "TRANSPORT_TABLE" 143ms
And Go to transport details "DELIVERY" 4s 916ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 001ms
And Fill transport form 35s 776ms
And Open section: "discrepancy-report-panel" 1s 066ms
And Fill discrepancy report section without closing the form 19s 260ms
And Generate discrepancy report 1s 239ms
And Download discrepancy report 129ms
And Verify that discrepancy report file has correct values 15s 127ms
java.nio.file.NoSuchFileException: /home/teamcity/Downloads/50_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() 114ms