Project Number Date
ApolloFullRunnerReport develop.393 23 kwi 2021, 05:44

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 27s 602ms Failed
Feature Transport Form - Discrepancy Report scenarios
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 493ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 458ms
And Go to transport details "DELIVERY" 4s 755ms
When Open section: "discrepancy-report-panel" 1s 062ms
Then Verify that no discrepancies found label is visible in discrepancy report section 077ms
And Select "NIE" in the "insp.-accord.-with-ins." 2s 439ms
And Verify that discrepancy report custom fields are visible in discrepancy report section 098ms
After Hooks.deleteTransportAfterTest() 136ms
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" 001ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 399ms
And Go to transport details "DELIVERY" 4s 733ms
And Fill transport form 35s 900ms
And Click "save-transport-and-close" save button and wait for form to disappear 16s 166ms
When Go to transport details "DELIVERY" 4s 466ms
Then Select "NIE" in the "insp.-accord.-with-ins." 2s 417ms
And Click "save-transport" save button 718ms
And Wait "2" seconds 2s
And Verify that discrepancy report section is open 031ms
And Verify that discrepancy report section contains validation errors 019ms
After Hooks.deleteTransportAfterTest() 123ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 469ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 407ms
When Go to transport details "DELIVERY" 4s 762ms
Then Verify that discrepancy report section is available 039ms
And Open section: "discrepancy-report-panel" 1s 053ms
And Verify that generate new discrepancy report button is visible 039ms
After Hooks.deleteTransportAfterTest() 127ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 441ms
And Create transport "CREATE_OWN_COLLECTION" by JSON file as "super-admin-hochland" 1s 310ms
When Go to transport details "OWN_COLLECTION" 4s 672ms
Then Verify that discrepancy report section is available 040ms
And Open section: "discrepancy-report-panel" 1s 066ms
And Verify that generate new discrepancy report button is visible 031ms
After Hooks.deleteTransportAfterTest() 091ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 346ms
And Create transport "CREATE_OWN_COLLECTION_POWDER_FACTORY" by JSON file as "super-admin-hochland" 1s 341ms
When Go to transport details "OWN_COLLECTION_POWDER_FACTORY" 4s 520ms
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 029ms
After Hooks.deleteTransportAfterTest() 127ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 360ms
And Create transport "CREATE_EXPORT" by JSON file as "super-admin-hochland" 1s 369ms
When Go to transport details "EXPORT" 5s 627ms
Then Verify that discrepancy report section is available 026ms
And Open section: "discrepancy-report-panel" 1s 058ms
And Verify that generate new discrepancy report button is visible 032ms
After Hooks.deleteTransportAfterTest() 106ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 296ms
And Create transport "CREATE_TRANSFER_BETWEEN_WAREHOUSES" by JSON file as "super-admin-hochland" 1s 174ms
When Go to transport details "TRANSFER_BETWEEN_WAREHOUSES" 4s 642ms
Then Verify that discrepancy report section is available 034ms
And Open section: "discrepancy-report-panel" 1s 062ms
And Verify that generate new discrepancy report button is visible 033ms
After Hooks.deleteTransportAfterTest() 085ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 357ms
And Create transport "CREATE_CISTERN_DELIVERY" by JSON file as "super-admin-hochland" 1s 282ms
When Go to transport details "CISTERN_DELIVERY" 4s 501ms
Then Verify that discrepancy report section is not available 15s 064ms
After Hooks.deleteTransportAfterTest() 149ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 407ms
And Create transport "CREATE_CISTERN_COLLECTION" by JSON file as "super-admin-hochland" 1s 337ms
When Go to transport details "CISTERN_COLLECTION" 4s 449ms
Then Verify that discrepancy report section is not available 15s 018ms
After Hooks.deleteTransportAfterTest() 115ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 488ms
And Create transport "CREATE_WEIGHING" by JSON file as "super-admin-hochland" 1s 216ms
When Go to transport details "WEIGHING" 4s 412ms
Then Verify that discrepancy report section is not available 15s 065ms
After Hooks.deleteTransportAfterTest() 085ms
Scenario Outline Check if discrepancy report is properly generated
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 439ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 451ms
When Go to "TRANSPORT_TABLE" 160ms
And Go to transport details "DELIVERY" 4s 729ms
And Change filled value in transport details "warehouseman" "select" "Dorosz Mieczysław" "0" 3s 501ms
And Change filled value in transport details "unloaded-stere" "text" "3" "0" 1s 316ms
And Open section: "discrepancy-report-panel" 1s 075ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 003ms
And Fill transport form 35s 873ms
And Fill discrepancy report section without closing the form 19s 536ms
And Generate discrepancy report 16s 789ms
And Download discrepancy report 159ms
Then Verify that discrepancy report file has correct values 15s 150ms
java.nio.file.NoSuchFileException: /home/teamcity/Downloads/42_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() 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 427ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 433ms
When Go to "TRANSPORT_TABLE" 156ms
And Go to transport details "DELIVERY" 4s 725ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 002ms
And Fill transport form 35s 888ms
And Open section: "discrepancy-report-panel" 1s 071ms
And Fill discrepancy report section without closing the form 19s 593ms
And Generate discrepancy report 16s 240ms
And Download discrepancy report 152ms
And Verify that discrepancy report file has correct values 15s 197ms
java.nio.file.NoSuchFileException: /home/teamcity/Downloads/43_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() 129ms