Project Number Date
ApolloFullRunnerReport develop.372 08 kwi 2021, 05:40

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 6m 31s 644ms Failed
Feature Transport Form - Discrepancy Report scenarios
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 414ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 726ms
And Go to transport details "DELIVERY" 5s 644ms
When Open section: "discrepancy-report-panel" 1s 068ms
Then Verify that no discrepancies found label is visible in discrepancy report section 070ms
And Select "NIE" in the "insp.-accord.-with-ins." 2s 444ms
And Verify that discrepancy report custom fields are visible in discrepancy report section 116ms
After Hooks.deleteTransportAfterTest() 122ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 344ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 001ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 369ms
And Go to transport details "DELIVERY" 4s 665ms
And Fill transport form 36s 053ms
And Click "save-transport-and-close" save button and wait for form to disappear 16s 119ms
When Go to transport details "DELIVERY" 4s 427ms
Then Select "NIE" in the "insp.-accord.-with-ins." 2s 415ms
And Click "save-transport" save button 728ms
And Wait "2" seconds 2s
And Verify that discrepancy report section is open 033ms
And Verify that discrepancy report section contains validation errors 021ms
After Hooks.deleteTransportAfterTest() 099ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 522ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 432ms
When Go to transport details "DELIVERY" 4s 775ms
Then Verify that discrepancy report section is available 042ms
And Open section: "discrepancy-report-panel" 1s 060ms
And Verify that generate new discrepancy report button is visible 045ms
After Hooks.deleteTransportAfterTest() 099ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 379ms
And Create transport "CREATE_OWN_COLLECTION" by JSON file as "super-admin-hochland" 1s 306ms
When Go to transport details "OWN_COLLECTION" 4s 653ms
Then Verify that discrepancy report section is available 033ms
And Open section: "discrepancy-report-panel" 1s 070ms
And Verify that generate new discrepancy report button is visible 034ms
After Hooks.deleteTransportAfterTest() 094ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 370ms
And Create transport "CREATE_OWN_COLLECTION_POWDER_FACTORY" by JSON file as "super-admin-hochland" 1s 310ms
When Go to transport details "OWN_COLLECTION_POWDER_FACTORY" 4s 516ms
Then Verify that discrepancy report section is available 036ms
And Open section: "discrepancy-report-panel" 1s 056ms
And Verify that generate new discrepancy report button is visible 033ms
After Hooks.deleteTransportAfterTest() 114ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 343ms
And Create transport "CREATE_EXPORT" by JSON file as "super-admin-hochland" 1s 335ms
When Go to transport details "EXPORT" 5s 619ms
Then Verify that discrepancy report section is available 050ms
And Open section: "discrepancy-report-panel" 1s 048ms
And Verify that generate new discrepancy report button is visible 035ms
After Hooks.deleteTransportAfterTest() 094ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 214ms
And Create transport "CREATE_TRANSFER_BETWEEN_WAREHOUSES" by JSON file as "super-admin-hochland" 1s 195ms
When Go to transport details "TRANSFER_BETWEEN_WAREHOUSES" 4s 466ms
Then Verify that discrepancy report section is available 041ms
And Open section: "discrepancy-report-panel" 1s 059ms
And Verify that generate new discrepancy report button is visible 030ms
After Hooks.deleteTransportAfterTest() 1s 032ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 342ms
And Create transport "CREATE_CISTERN_DELIVERY" by JSON file as "super-admin-hochland" 1s 294ms
When Go to transport details "CISTERN_DELIVERY" 4s 506ms
Then Verify that discrepancy report section is not available 15s 030ms
After Hooks.deleteTransportAfterTest() 123ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 482ms
And Create transport "CREATE_CISTERN_COLLECTION" by JSON file as "super-admin-hochland" 1s 269ms
When Go to transport details "CISTERN_COLLECTION" 4s 445ms
Then Verify that discrepancy report section is not available 15s 027ms
After Hooks.deleteTransportAfterTest() 106ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 403ms
And Create transport "CREATE_WEIGHING" by JSON file as "super-admin-hochland" 1s 202ms
When Go to transport details "WEIGHING" 4s 373ms
Then Verify that discrepancy report section is not available 15s 041ms
After Hooks.deleteTransportAfterTest() 071ms
Scenario Outline Check if discrepancy report is properly generated
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 483ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 379ms
When Go to "TRANSPORT_TABLE" 109ms
And Go to transport details "DELIVERY" 4s 731ms
And Change filled value in transport details "warehouseman" "select" "Dorosz Mieczysław" "0" 3s 525ms
And Change filled value in transport details "unloaded-stere" "text" "3" "0" 1s 330ms
And Open section: "discrepancy-report-panel" 1s 070ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 003ms
And Fill transport form 35s 979ms
And Fill discrepancy report section without closing the form 19s 615ms
And Generate discrepancy report 17s 255ms
And Download discrepancy report 164ms
Then Verify that discrepancy report file has correct values 15s 153ms
java.nio.file.NoSuchFileException: /home/teamcity/Downloads/40_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() 150ms
Scenario Outline Check if edited discrepancy report is properly generated
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 488ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 465ms
When Go to "TRANSPORT_TABLE" 112ms
And Go to transport details "DELIVERY" 4s 745ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 002ms
And Fill transport form 35s 989ms
And Open section: "discrepancy-report-panel" 1s 077ms
And Fill discrepancy report section without closing the form 19s 591ms
And Generate discrepancy report 18s 820ms
And Download discrepancy report 165ms
And Verify that discrepancy report file has correct values 15s 175ms
java.nio.file.NoSuchFileException: /home/teamcity/Downloads/41_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() 153ms