Project Number Date
ApolloFullRunnerReport apollo-test-2.57 27 cze 2021, 06:33

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 24s 591ms Failed
Feature Transport Form - Discrepancy Report scenarios
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 830ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 3s 241ms
And Go to transport details "DELIVERY" 4s 902ms
When Open section: "discrepancy-report-panel" 1s 152ms
Then Verify that no discrepancies found label is visible in discrepancy report section 160ms
And Select "NIE" in the "insp.-accord.-with-ins." 2s 700ms
And Verify that discrepancy report custom fields are visible in discrepancy report section 250ms
After Hooks.deleteTransportAfterTest() 989ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 871ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 018ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 3s 178ms
And Go to transport details "DELIVERY" 4s 924ms
And Fill transport form 40s 644ms
And Click "save-transport-and-close" save button and wait for form to disappear 18s 036ms
When Go to transport details "DELIVERY" 4s 822ms
Then Select "NIE" in the "insp.-accord.-with-ins." 2s 648ms
And Click "save-transport" save button 889ms
And Wait "2" seconds 2s
And Verify that discrepancy report section is open 078ms
And Verify that discrepancy report section contains validation errors 060ms
After Hooks.deleteTransportAfterTest() 887ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 954ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 3s 112ms
When Go to transport details "DELIVERY" 4s 903ms
Then Verify that discrepancy report section is available 089ms
And Open section: "discrepancy-report-panel" 1s 153ms
And Verify that generate new discrepancy report button is visible 075ms
After Hooks.deleteTransportAfterTest() 854ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 798ms
And Create transport "CREATE_OWN_COLLECTION" by JSON file as "super-admin-hochland" 2s 990ms
When Go to transport details "OWN_COLLECTION" 4s 902ms
Then Verify that discrepancy report section is available 085ms
And Open section: "discrepancy-report-panel" 1s 151ms
And Verify that generate new discrepancy report button is visible 082ms
After Hooks.deleteTransportAfterTest() 977ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 838ms
And Create transport "CREATE_OWN_COLLECTION_POWDER_FACTORY" by JSON file as "super-admin-hochland" 2s 811ms
When Go to transport details "OWN_COLLECTION_POWDER_FACTORY" 4s 950ms
Then Verify that discrepancy report section is available 081ms
And Open section: "discrepancy-report-panel" 1s 152ms
And Verify that generate new discrepancy report button is visible 085ms
After Hooks.deleteTransportAfterTest() 983ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 823ms
And Create transport "CREATE_EXPORT" by JSON file as "super-admin-hochland" 3s 151ms
When Go to transport details "EXPORT" 5s 002ms
Then Verify that discrepancy report section is available 139ms
And Open section: "discrepancy-report-panel" 1s 293ms
And Verify that generate new discrepancy report button is visible 142ms
After Hooks.deleteTransportAfterTest() 1s 253ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 786ms
And Create transport "CREATE_TRANSFER_BETWEEN_WAREHOUSES" by JSON file as "super-admin-hochland" 1s 948ms
When Go to transport details "TRANSFER_BETWEEN_WAREHOUSES" 4s 887ms
Then Verify that discrepancy report section is available 079ms
And Open section: "discrepancy-report-panel" 1s 143ms
And Verify that generate new discrepancy report button is visible 068ms
After Hooks.deleteTransportAfterTest() 639ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 774ms
And Create transport "CREATE_CISTERN_DELIVERY" by JSON file as "super-admin-hochland" 2s 685ms
When Go to transport details "CISTERN_DELIVERY" 4s 911ms
Then Verify that discrepancy report section is not available 15s 057ms
After Hooks.deleteTransportAfterTest() 945ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 977ms
And Create transport "CREATE_CISTERN_COLLECTION" by JSON file as "super-admin-hochland" 2s 656ms
When Go to transport details "CISTERN_COLLECTION" 4s 922ms
Then Verify that discrepancy report section is not available 15s 075ms
After Hooks.deleteTransportAfterTest() 945ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 968ms
And Create transport "CREATE_WEIGHING" by JSON file as "super-admin-hochland" 2s 222ms
When Go to transport details "WEIGHING" 4s 779ms
Then Verify that discrepancy report section is not available 15s 059ms
After Hooks.deleteTransportAfterTest() 691ms
Scenario Outline Check if discrepancy report is properly generated
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 852ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 3s 212ms
When Go to "TRANSPORT_TABLE" 420ms
And Go to transport details "DELIVERY" 4s 919ms
And Change filled value in transport details "warehouseman" "select" "Dorosz Mieczysław" "0" 3s 861ms
And Change filled value in transport details "unloaded-stere" "text" "3" "0" 1s 550ms
And Open section: "discrepancy-report-panel" 1s 160ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 022ms
And Fill transport form 40s 960ms
And Fill discrepancy report section without closing the form 22s 282ms
And Generate discrepancy report 20s 049ms
And Download discrepancy report 370ms
Then Verify that discrepancy report file has correct values 15s 590ms
java.nio.file.NoSuchFileException: /home/teamcity/Downloads/58_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() 917ms
Scenario Outline Check if edited discrepancy report is properly generated
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 924ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 3s 150ms
When Go to "TRANSPORT_TABLE" 428ms
And Go to transport details "DELIVERY" 4s 943ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 018ms
And Fill transport form 40s 955ms
And Open section: "discrepancy-report-panel" 1s 165ms
And Fill discrepancy report section without closing the form 22s 145ms
And Generate discrepancy report 4s 467ms
And Download discrepancy report 338ms
And Verify that discrepancy report file has correct values 15s 613ms
java.nio.file.NoSuchFileException: /home/teamcity/Downloads/59_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() 1s 007ms