Project Number Date
ApolloFullRunnerReport kapibary.36 11 cze 2021, 04:41

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 7m 40s 144ms Failed
Feature Transport Form - Discrepancy Report scenarios
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 020ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 3s 065ms
And Go to transport details "DELIVERY" 4s 945ms
When Open section: "discrepancy-report-panel" 1s 174ms
Then Verify that no discrepancies found label is visible in discrepancy report section 162ms
And Select "NIE" in the "insp.-accord.-with-ins." 2s 693ms
And Verify that discrepancy report custom fields are visible in discrepancy report section 257ms
After Hooks.deleteTransportAfterTest() 869ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 712ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 033ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 3s 043ms
And Go to transport details "DELIVERY" 4s 896ms
And Fill transport form 40s 750ms
And Click "save-transport-and-close" save button and wait for form to disappear 18s 032ms
When Go to transport details "DELIVERY" 4s 929ms
Then Select "NIE" in the "insp.-accord.-with-ins." 2s 667ms
And Click "save-transport" save button 897ms
And Wait "2" seconds 2s
And Verify that discrepancy report section is open 080ms
And Verify that discrepancy report section contains validation errors 068ms
After Hooks.deleteTransportAfterTest() 859ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 034ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 3s 076ms
When Go to transport details "DELIVERY" 4s 962ms
Then Verify that discrepancy report section is available 088ms
And Open section: "discrepancy-report-panel" 1s 162ms
And Verify that generate new discrepancy report button is visible 094ms
After Hooks.deleteTransportAfterTest() 768ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 796ms
And Create transport "CREATE_OWN_COLLECTION" by JSON file as "super-admin-hochland" 2s 798ms
When Go to transport details "OWN_COLLECTION" 4s 937ms
Then Verify that discrepancy report section is available 084ms
And Open section: "discrepancy-report-panel" 1s 168ms
And Verify that generate new discrepancy report button is visible 080ms
After Hooks.deleteTransportAfterTest() 725ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 769ms
And Create transport "CREATE_OWN_COLLECTION_POWDER_FACTORY" by JSON file as "super-admin-hochland" 2s 834ms
When Go to transport details "OWN_COLLECTION_POWDER_FACTORY" 5s
Then Verify that discrepancy report section is available 084ms
And Open section: "discrepancy-report-panel" 1s 154ms
And Verify that generate new discrepancy report button is visible 074ms
After Hooks.deleteTransportAfterTest() 917ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 665ms
And Create transport "CREATE_EXPORT" by JSON file as "super-admin-hochland" 3s 078ms
When Go to transport details "EXPORT" 5s 056ms
Then Verify that discrepancy report section is available 116ms
And Open section: "discrepancy-report-panel" 1s 317ms
And Verify that generate new discrepancy report button is visible 109ms
After Hooks.deleteTransportAfterTest() 1s 133ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 915ms
And Create transport "CREATE_TRANSFER_BETWEEN_WAREHOUSES" by JSON file as "super-admin-hochland" 1s 980ms
When Go to transport details "TRANSFER_BETWEEN_WAREHOUSES" 4s 966ms
Then Verify that discrepancy report section is available 090ms
And Open section: "discrepancy-report-panel" 1s 153ms
And Verify that generate new discrepancy report button is visible 087ms
After Hooks.deleteTransportAfterTest() 546ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 812ms
And Create transport "CREATE_CISTERN_DELIVERY" by JSON file as "super-admin-hochland" 2s 689ms
When Go to transport details "CISTERN_DELIVERY" 4s 939ms
Then Verify that discrepancy report section is not available 15s 062ms
After Hooks.deleteTransportAfterTest() 864ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 204ms
And Create transport "CREATE_CISTERN_COLLECTION" by JSON file as "super-admin-hochland" 2s 704ms
When Go to transport details "CISTERN_COLLECTION" 4s 959ms
Then Verify that discrepancy report section is not available 15s 037ms
After Hooks.deleteTransportAfterTest() 823ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 858ms
And Create transport "CREATE_WEIGHING" by JSON file as "super-admin-hochland" 2s 229ms
When Go to transport details "WEIGHING" 4s 861ms
Then Verify that discrepancy report section is not available 15s 048ms
After Hooks.deleteTransportAfterTest() 602ms
Scenario Outline Check if discrepancy report is properly generated
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 003ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 3s 059ms
When Go to "TRANSPORT_TABLE" 441ms
And Go to transport details "DELIVERY" 4s 876ms
And Change filled value in transport details "warehouseman" "select" "Dorosz Mieczysław" "0" 3s 879ms
And Change filled value in transport details "unloaded-stere" "text" "3" "0" 1s 491ms
And Open section: "discrepancy-report-panel" 1s 139ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 033ms
And Fill transport form 40s 793ms
And Fill discrepancy report section without closing the form 22s 195ms
And Generate discrepancy report 20s 523ms
And Download discrepancy report 319ms
Then Verify that discrepancy report file has correct values 15s 614ms
java.nio.file.NoSuchFileException: /home/teamcity/Downloads/55_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() 884ms
Scenario Outline Check if edited discrepancy report is properly generated
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 053ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 3s 078ms
When Go to "TRANSPORT_TABLE" 449ms
And Go to transport details "DELIVERY" 4s 905ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 056ms
And Fill transport form 40s 760ms
And Open section: "discrepancy-report-panel" 1s 165ms
And Fill discrepancy report section without closing the form 22s 306ms
And Generate discrepancy report 19s 471ms
And Download discrepancy report 365ms
And Verify that discrepancy report file has correct values 15s 576ms
java.nio.file.NoSuchFileException: /home/teamcity/Downloads/56_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() 887ms