Project Number Date
ApolloFullRunnerReport kapibary.44 17 cze 2021, 00:11

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 26s 678ms Failed
Feature Transport Form - Discrepancy Report scenarios
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 819ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 3s 114ms
And Go to transport details "DELIVERY" 4s 926ms
When Open section: "discrepancy-report-panel" 1s 174ms
Then Verify that no discrepancies found label is visible in discrepancy report section 158ms
And Select "NIE" in the "insp.-accord.-with-ins." 2s 685ms
And Verify that discrepancy report custom fields are visible in discrepancy report section 247ms
After Hooks.deleteTransportAfterTest() 899ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 999ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 034ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 3s 329ms
And Go to transport details "DELIVERY" 4s 962ms
And Fill transport form 40s 620ms
And Click "save-transport-and-close" save button and wait for form to disappear 18s 058ms
When Go to transport details "DELIVERY" 4s 769ms
Then Select "NIE" in the "insp.-accord.-with-ins." 2s 612ms
And Click "save-transport" save button 839ms
And Wait "2" seconds 2s
And Verify that discrepancy report section is open 080ms
And Verify that discrepancy report section contains validation errors 066ms
After Hooks.deleteTransportAfterTest() 1s 116ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 047ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 3s 059ms
When Go to transport details "DELIVERY" 4s 943ms
Then Verify that discrepancy report section is available 091ms
And Open section: "discrepancy-report-panel" 1s 157ms
And Verify that generate new discrepancy report button is visible 094ms
After Hooks.deleteTransportAfterTest() 903ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 830ms
And Create transport "CREATE_OWN_COLLECTION" by JSON file as "super-admin-hochland" 2s 911ms
When Go to transport details "OWN_COLLECTION" 4s 952ms
Then Verify that discrepancy report section is available 062ms
And Open section: "discrepancy-report-panel" 1s 133ms
And Verify that generate new discrepancy report button is visible 072ms
After Hooks.deleteTransportAfterTest() 902ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 931ms
And Create transport "CREATE_OWN_COLLECTION_POWDER_FACTORY" by JSON file as "super-admin-hochland" 2s 859ms
When Go to transport details "OWN_COLLECTION_POWDER_FACTORY" 5s 015ms
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 084ms
After Hooks.deleteTransportAfterTest() 879ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 860ms
And Create transport "CREATE_EXPORT" by JSON file as "super-admin-hochland" 3s 084ms
When Go to transport details "EXPORT" 5s 100ms
Then Verify that discrepancy report section is available 182ms
And Open section: "discrepancy-report-panel" 1s 301ms
And Verify that generate new discrepancy report button is visible 236ms
After Hooks.deleteTransportAfterTest() 1s 288ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 722ms
And Create transport "CREATE_TRANSFER_BETWEEN_WAREHOUSES" by JSON file as "super-admin-hochland" 1s 885ms
When Go to transport details "TRANSFER_BETWEEN_WAREHOUSES" 4s 951ms
Then Verify that discrepancy report section is available 085ms
And Open section: "discrepancy-report-panel" 1s 157ms
And Verify that generate new discrepancy report button is visible 090ms
After Hooks.deleteTransportAfterTest() 655ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 803ms
And Create transport "CREATE_CISTERN_DELIVERY" by JSON file as "super-admin-hochland" 2s 712ms
When Go to transport details "CISTERN_DELIVERY" 4s 935ms
Then Verify that discrepancy report section is not available 15s 080ms
After Hooks.deleteTransportAfterTest() 730ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 017ms
And Create transport "CREATE_CISTERN_COLLECTION" by JSON file as "super-admin-hochland" 2s 663ms
When Go to transport details "CISTERN_COLLECTION" 4s 950ms
Then Verify that discrepancy report section is not available 15s 067ms
After Hooks.deleteTransportAfterTest() 841ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 912ms
And Create transport "CREATE_WEIGHING" by JSON file as "super-admin-hochland" 2s 223ms
When Go to transport details "WEIGHING" 4s 894ms
Then Verify that discrepancy report section is not available 15s 089ms
After Hooks.deleteTransportAfterTest() 596ms
Scenario Outline Check if discrepancy report is properly generated
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 974ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 3s 061ms
When Go to "TRANSPORT_TABLE" 460ms
And Go to transport details "DELIVERY" 4s 900ms
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 539ms
And Open section: "discrepancy-report-panel" 1s 174ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 034ms
And Fill transport form 40s 669ms
And Fill discrepancy report section without closing the form 22s 360ms
And Generate discrepancy report 21s 681ms
And Download discrepancy report 326ms
Then Verify that discrepancy report file has correct values 15s 646ms
java.nio.file.NoSuchFileException: /home/teamcity/Downloads/54_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() 856ms
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 091ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 3s 045ms
When Go to "TRANSPORT_TABLE" 446ms
And Go to transport details "DELIVERY" 4s 895ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 034ms
And Fill transport form 40s 706ms
And Open section: "discrepancy-report-panel" 1s 159ms
And Fill discrepancy report section without closing the form 22s 299ms
And Generate discrepancy report 4s 387ms
And Download discrepancy report 351ms
And Verify that discrepancy report file has correct values 15s 558ms
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: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() 838ms