Project Number Date
ApolloFullRunnerReport kapibary.25 02 cze 2021, 07:26

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 37s 466ms Failed
Feature Transport Form - Discrepancy Report scenarios
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 090ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 2s 871ms
And Go to transport details "DELIVERY" 4s 960ms
When Open section: "discrepancy-report-panel" 1s 120ms
Then Verify that no discrepancies found label is visible in discrepancy report section 158ms
And Select "NIE" in the "insp.-accord.-with-ins." 2s 688ms
And Verify that discrepancy report custom fields are visible in discrepancy report section 231ms
After Hooks.deleteTransportAfterTest() 758ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 967ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 033ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 2s 907ms
And Go to transport details "DELIVERY" 4s 887ms
And Fill transport form 40s 686ms
And Click "save-transport-and-close" save button and wait for form to disappear 17s 438ms
When Go to transport details "DELIVERY" 4s 836ms
Then Select "NIE" in the "insp.-accord.-with-ins." 2s 659ms
And Click "save-transport" save button 873ms
And Wait "2" seconds 2s
And Verify that discrepancy report section is open 067ms
And Verify that discrepancy report section contains validation errors 060ms
After Hooks.deleteTransportAfterTest() 845ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 284ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 2s 920ms
When Go to transport details "DELIVERY" 4s 950ms
Then Verify that discrepancy report section is available 090ms
And Open section: "discrepancy-report-panel" 1s 160ms
And Verify that generate new discrepancy report button is visible 093ms
After Hooks.deleteTransportAfterTest() 755ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 910ms
And Create transport "CREATE_OWN_COLLECTION" by JSON file as "super-admin-hochland" 2s 735ms
When Go to transport details "OWN_COLLECTION" 4s 975ms
Then Verify that discrepancy report section is available 090ms
And Open section: "discrepancy-report-panel" 1s 157ms
And Verify that generate new discrepancy report button is visible 067ms
After Hooks.deleteTransportAfterTest() 767ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 911ms
And Create transport "CREATE_OWN_COLLECTION_POWDER_FACTORY" by JSON file as "super-admin-hochland" 2s 607ms
When Go to transport details "OWN_COLLECTION_POWDER_FACTORY" 4s 951ms
Then Verify that discrepancy report section is available 082ms
And Open section: "discrepancy-report-panel" 1s 140ms
And Verify that generate new discrepancy report button is visible 076ms
After Hooks.deleteTransportAfterTest() 766ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 952ms
And Create transport "CREATE_EXPORT" by JSON file as "super-admin-hochland" 2s 878ms
When Go to transport details "EXPORT" 5s 033ms
Then Verify that discrepancy report section is available 150ms
And Open section: "discrepancy-report-panel" 1s 316ms
And Verify that generate new discrepancy report button is visible 154ms
After Hooks.deleteTransportAfterTest() 1s 111ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 350ms
And Create transport "CREATE_TRANSFER_BETWEEN_WAREHOUSES" by JSON file as "super-admin-hochland" 1s 967ms
When Go to transport details "TRANSFER_BETWEEN_WAREHOUSES" 5s 039ms
Then Verify that discrepancy report section is available 083ms
And Open section: "discrepancy-report-panel" 1s 134ms
And Verify that generate new discrepancy report button is visible 074ms
After Hooks.deleteTransportAfterTest() 457ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 780ms
And Create transport "CREATE_CISTERN_DELIVERY" by JSON file as "super-admin-hochland" 2s 611ms
When Go to transport details "CISTERN_DELIVERY" 4s 936ms
Then Verify that discrepancy report section is not available 15s 068ms
After Hooks.deleteTransportAfterTest() 754ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 948ms
And Create transport "CREATE_CISTERN_COLLECTION" by JSON file as "super-admin-hochland" 2s 503ms
When Go to transport details "CISTERN_COLLECTION" 5s 018ms
Then Verify that discrepancy report section is not available 15s 025ms
After Hooks.deleteTransportAfterTest() 745ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 998ms
And Create transport "CREATE_WEIGHING" by JSON file as "super-admin-hochland" 2s 209ms
When Go to transport details "WEIGHING" 4s 888ms
Then Verify that discrepancy report section is not available 15s 030ms
After Hooks.deleteTransportAfterTest() 505ms
Scenario Outline Check if discrepancy report is properly generated
Steps
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" 2s 834ms
When Go to "TRANSPORT_TABLE" 466ms
And Go to transport details "DELIVERY" 4s 863ms
And Change filled value in transport details "warehouseman" "select" "Dorosz Mieczysław" "0" 3s 856ms
And Change filled value in transport details "unloaded-stere" "text" "3" "0" 1s 499ms
And Open section: "discrepancy-report-panel" 1s 152ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 033ms
And Fill transport form 40s 906ms
And Fill discrepancy report section without closing the form 22s 077ms
And Generate discrepancy report 19s 304ms
And Download discrepancy report 335ms
Then Verify that discrepancy report file has correct values 15s 681ms
java.nio.file.NoSuchFileException: /home/teamcity/Downloads/71_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() 857ms
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 138ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 2s 922ms
When Go to "TRANSPORT_TABLE" 440ms
And Go to transport details "DELIVERY" 4s 869ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 037ms
And Fill transport form 40s 498ms
And Open section: "discrepancy-report-panel" 1s 151ms
And Fill discrepancy report section without closing the form 22s 133ms
And Generate discrepancy report 19s 319ms
And Download discrepancy report 350ms
And Verify that discrepancy report file has correct values 15s 653ms
java.nio.file.NoSuchFileException: /home/teamcity/Downloads/72_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() 873ms