Project Number Date
ApolloFullRunnerReport develop.400 28 kwi 2021, 05:38

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 11s 873ms Failed
Feature Transport Form - Discrepancy Report scenarios
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 506ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 423ms
And Go to transport details "DELIVERY" 4s 775ms
When Open section: "discrepancy-report-panel" 1s 078ms
Then Verify that no discrepancies found label is visible in discrepancy report section 063ms
And Select "NIE" in the "insp.-accord.-with-ins." 2s 446ms
And Verify that discrepancy report custom fields are visible in discrepancy report section 097ms
After Hooks.deleteTransportAfterTest() 112ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 302ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 001ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 379ms
And Go to transport details "DELIVERY" 4s 744ms
And Fill transport form 35s 922ms
And Click "save-transport-and-close" save button and wait for form to disappear 16s 127ms
When Go to transport details "DELIVERY" 4s 413ms
Then Select "NIE" in the "insp.-accord.-with-ins." 2s 418ms
And Click "save-transport" save button 698ms
And Wait "2" seconds 2s
And Verify that discrepancy report section is open 029ms
And Verify that discrepancy report section contains validation errors 014ms
After Hooks.deleteTransportAfterTest() 103ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 460ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 435ms
When Go to transport details "DELIVERY" 4s 819ms
Then Verify that discrepancy report section is available 038ms
And Open section: "discrepancy-report-panel" 1s 063ms
And Verify that generate new discrepancy report button is visible 039ms
After Hooks.deleteTransportAfterTest() 105ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 288ms
And Create transport "CREATE_OWN_COLLECTION" by JSON file as "super-admin-hochland" 1s 291ms
When Go to transport details "OWN_COLLECTION" 4s 649ms
Then Verify that discrepancy report section is available 037ms
And Open section: "discrepancy-report-panel" 1s 052ms
And Verify that generate new discrepancy report button is visible 030ms
After Hooks.deleteTransportAfterTest() 078ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 431ms
And Create transport "CREATE_OWN_COLLECTION_POWDER_FACTORY" by JSON file as "super-admin-hochland" 1s 376ms
When Go to transport details "OWN_COLLECTION_POWDER_FACTORY" 4s 540ms
Then Verify that discrepancy report section is available 032ms
And Open section: "discrepancy-report-panel" 1s 061ms
And Verify that generate new discrepancy report button is visible 029ms
After Hooks.deleteTransportAfterTest() 106ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 393ms
And Create transport "CREATE_EXPORT" by JSON file as "super-admin-hochland" 1s 384ms
When Go to transport details "EXPORT" 5s 601ms
Then Verify that discrepancy report section is available 035ms
And Open section: "discrepancy-report-panel" 1s 047ms
And Verify that generate new discrepancy report button is visible 035ms
After Hooks.deleteTransportAfterTest() 111ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 303ms
And Create transport "CREATE_TRANSFER_BETWEEN_WAREHOUSES" by JSON file as "super-admin-hochland" 1s 175ms
When Go to transport details "TRANSFER_BETWEEN_WAREHOUSES" 4s 697ms
Then Verify that discrepancy report section is available 037ms
And Open section: "discrepancy-report-panel" 1s 068ms
And Verify that generate new discrepancy report button is visible 030ms
After Hooks.deleteTransportAfterTest() 074ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 365ms
And Create transport "CREATE_CISTERN_DELIVERY" by JSON file as "super-admin-hochland" 1s 294ms
When Go to transport details "CISTERN_DELIVERY" 4s 468ms
Then Verify that discrepancy report section is not available 15s 041ms
After Hooks.deleteTransportAfterTest() 107ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 398ms
And Create transport "CREATE_CISTERN_COLLECTION" by JSON file as "super-admin-hochland" 1s 333ms
When Go to transport details "CISTERN_COLLECTION" 4s 457ms
Then Verify that discrepancy report section is not available 15s 058ms
After Hooks.deleteTransportAfterTest() 117ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 504ms
And Create transport "CREATE_WEIGHING" by JSON file as "super-admin-hochland" 1s 215ms
When Go to transport details "WEIGHING" 4s 390ms
Then Verify that discrepancy report section is not available 15s 014ms
After Hooks.deleteTransportAfterTest() 079ms
Scenario Outline Check if discrepancy report is properly generated
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 422ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 417ms
When Go to "TRANSPORT_TABLE" 154ms
And Go to transport details "DELIVERY" 4s 731ms
And Change filled value in transport details "warehouseman" "select" "Dorosz Mieczysław" "0" 3s 503ms
And Change filled value in transport details "unloaded-stere" "text" "3" "0" 1s 334ms
And Open section: "discrepancy-report-panel" 1s 076ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 002ms
And Fill transport form 35s 773ms
And Fill discrepancy report section without closing the form 19s 549ms
And Generate discrepancy report 1s 280ms
And Download discrepancy report 126ms
Then Verify that discrepancy report file has correct values 15s 135ms
java.nio.file.NoSuchFileException: /home/teamcity/Downloads/44_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() 158ms
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 422ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 477ms
When Go to "TRANSPORT_TABLE" 148ms
And Go to transport details "DELIVERY" 4s 724ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 002ms
And Fill transport form 35s 892ms
And Open section: "discrepancy-report-panel" 1s 059ms
And Fill discrepancy report section without closing the form 19s 606ms
And Generate discrepancy report 16s 223ms
And Download discrepancy report 142ms
And Verify that discrepancy report file has correct values 15s 184ms
java.nio.file.NoSuchFileException: /home/teamcity/Downloads/45_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() 129ms