Project Number Date
ApolloFullRunnerReport kapibary.19 27 maj 2021, 08:37

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 39s 945ms Failed
Feature Transport Form - Discrepancy Report scenarios
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 064ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 2s 906ms
And Go to transport details "DELIVERY" 4s 979ms
When Open section: "discrepancy-report-panel" 1s 166ms
Then Verify that no discrepancies found label is visible in discrepancy report section 153ms
And Select "NIE" in the "insp.-accord.-with-ins." 2s 674ms
And Verify that discrepancy report custom fields are visible in discrepancy report section 264ms
After Hooks.deleteTransportAfterTest() 863ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 242ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 079ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 3s 024ms
And Go to transport details "DELIVERY" 5s 058ms
And Fill transport form 40s 888ms
And Click "save-transport-and-close" save button and wait for form to disappear 17s 448ms
When Go to transport details "DELIVERY" 4s 849ms
Then Select "NIE" in the "insp.-accord.-with-ins." 2s 704ms
And Click "save-transport" save button 920ms
And Wait "2" seconds 2s
And Verify that discrepancy report section is open 077ms
And Verify that discrepancy report section contains validation errors 067ms
After Hooks.deleteTransportAfterTest() 895ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 288ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 2s 842ms
When Go to transport details "DELIVERY" 4s 957ms
Then Verify that discrepancy report section is available 097ms
And Open section: "discrepancy-report-panel" 1s 155ms
And Verify that generate new discrepancy report button is visible 085ms
After Hooks.deleteTransportAfterTest() 756ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 867ms
And Create transport "CREATE_OWN_COLLECTION" by JSON file as "super-admin-hochland" 2s 705ms
When Go to transport details "OWN_COLLECTION" 4s 947ms
Then Verify that discrepancy report section is available 090ms
And Open section: "discrepancy-report-panel" 1s 148ms
And Verify that generate new discrepancy report button is visible 073ms
After Hooks.deleteTransportAfterTest() 737ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 861ms
And Create transport "CREATE_OWN_COLLECTION_POWDER_FACTORY" by JSON file as "super-admin-hochland" 2s 553ms
When Go to transport details "OWN_COLLECTION_POWDER_FACTORY" 5s 035ms
Then Verify that discrepancy report section is available 087ms
And Open section: "discrepancy-report-panel" 1s 157ms
And Verify that generate new discrepancy report button is visible 084ms
After Hooks.deleteTransportAfterTest() 758ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 987ms
And Create transport "CREATE_EXPORT" by JSON file as "super-admin-hochland" 2s 872ms
When Go to transport details "EXPORT" 5s 101ms
Then Verify that discrepancy report section is available 174ms
And Open section: "discrepancy-report-panel" 1s 213ms
And Verify that generate new discrepancy report button is visible 130ms
After Hooks.deleteTransportAfterTest() 990ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 216ms
And Create transport "CREATE_TRANSFER_BETWEEN_WAREHOUSES" by JSON file as "super-admin-hochland" 1s 916ms
When Go to transport details "TRANSFER_BETWEEN_WAREHOUSES" 4s 967ms
Then Verify that discrepancy report section is available 106ms
And Open section: "discrepancy-report-panel" 1s 156ms
And Verify that generate new discrepancy report button is visible 088ms
After Hooks.deleteTransportAfterTest() 495ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 902ms
And Create transport "CREATE_CISTERN_DELIVERY" by JSON file as "super-admin-hochland" 2s 677ms
When Go to transport details "CISTERN_DELIVERY" 4s 973ms
Then Verify that discrepancy report section is not available 15s 045ms
After Hooks.deleteTransportAfterTest() 695ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 024ms
And Create transport "CREATE_CISTERN_COLLECTION" by JSON file as "super-admin-hochland" 2s 551ms
When Go to transport details "CISTERN_COLLECTION" 4s 945ms
Then Verify that discrepancy report section is not available 15s 058ms
After Hooks.deleteTransportAfterTest() 705ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 031ms
And Create transport "CREATE_WEIGHING" by JSON file as "super-admin-hochland" 2s 172ms
When Go to transport details "WEIGHING" 4s 908ms
Then Verify that discrepancy report section is not available 15s 067ms
After Hooks.deleteTransportAfterTest() 558ms
Scenario Outline Check if discrepancy report is properly generated
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 209ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 2s 901ms
When Go to "TRANSPORT_TABLE" 454ms
And Go to transport details "DELIVERY" 4s 872ms
And Change filled value in transport details "warehouseman" "select" "Dorosz Mieczysław" "0" 3s 874ms
And Change filled value in transport details "unloaded-stere" "text" "3" "0" 1s 514ms
And Open section: "discrepancy-report-panel" 1s 183ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 032ms
And Fill transport form 40s 840ms
And Fill discrepancy report section without closing the form 22s 149ms
And Generate discrepancy report 19s 444ms
And Download discrepancy report 364ms
Then Verify that discrepancy report file has correct values 15s 791ms
java.nio.file.NoSuchFileException: /home/teamcity/Downloads/53_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() 838ms
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 200ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 2s 983ms
When Go to "TRANSPORT_TABLE" 490ms
And Go to transport details "DELIVERY" 4s 896ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 032ms
And Fill transport form 40s 891ms
And Open section: "discrepancy-report-panel" 1s 150ms
And Fill discrepancy report section without closing the form 22s 304ms
And Generate discrepancy report 19s 406ms
And Download discrepancy report 362ms
And Verify that discrepancy report file has correct values 15s 689ms
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: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