Project Number Date
ApolloFullRunnerReport master.392 22 kwi 2021, 22:07

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 27s 399ms Failed
Feature Transport Form - Discrepancy Report scenarios
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 463ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 442ms
And Go to transport details "DELIVERY" 4s 722ms
When Open section: "discrepancy-report-panel" 1s 076ms
Then Verify that no discrepancies found label is visible in discrepancy report section 052ms
And Select "NIE" in the "insp.-accord.-with-ins." 2s 434ms
And Verify that discrepancy report custom fields are visible in discrepancy report section 108ms
After Hooks.deleteTransportAfterTest() 154ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 593ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 001ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 427ms
And Go to transport details "DELIVERY" 4s 745ms
And Fill transport form 35s 879ms
And Click "save-transport-and-close" save button and wait for form to disappear 16s 151ms
When Go to transport details "DELIVERY" 4s 425ms
Then Select "NIE" in the "insp.-accord.-with-ins." 2s 424ms
And Click "save-transport" save button 724ms
And Wait "2" seconds 2s
And Verify that discrepancy report section is open 036ms
And Verify that discrepancy report section contains validation errors 018ms
After Hooks.deleteTransportAfterTest() 108ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 457ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 411ms
When Go to transport details "DELIVERY" 4s 736ms
Then Verify that discrepancy report section is available 034ms
And Open section: "discrepancy-report-panel" 1s 065ms
And Verify that generate new discrepancy report button is visible 034ms
After Hooks.deleteTransportAfterTest() 119ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 284ms
And Create transport "CREATE_OWN_COLLECTION" by JSON file as "super-admin-hochland" 1s 342ms
When Go to transport details "OWN_COLLECTION" 4s 626ms
Then Verify that discrepancy report section is available 035ms
And Open section: "discrepancy-report-panel" 1s 060ms
And Verify that generate new discrepancy report button is visible 031ms
After Hooks.deleteTransportAfterTest() 110ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 436ms
And Create transport "CREATE_OWN_COLLECTION_POWDER_FACTORY" by JSON file as "super-admin-hochland" 1s 329ms
When Go to transport details "OWN_COLLECTION_POWDER_FACTORY" 4s 518ms
Then Verify that discrepancy report section is available 051ms
And Open section: "discrepancy-report-panel" 1s 058ms
And Verify that generate new discrepancy report button is visible 031ms
After Hooks.deleteTransportAfterTest() 109ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 295ms
And Create transport "CREATE_EXPORT" by JSON file as "super-admin-hochland" 1s 378ms
When Go to transport details "EXPORT" 5s 572ms
Then Verify that discrepancy report section is available 040ms
And Open section: "discrepancy-report-panel" 1s 062ms
And Verify that generate new discrepancy report button is visible 035ms
After Hooks.deleteTransportAfterTest() 130ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 337ms
And Create transport "CREATE_TRANSFER_BETWEEN_WAREHOUSES" by JSON file as "super-admin-hochland" 1s 168ms
When Go to transport details "TRANSFER_BETWEEN_WAREHOUSES" 4s 691ms
Then Verify that discrepancy report section is available 032ms
And Open section: "discrepancy-report-panel" 1s 055ms
And Verify that generate new discrepancy report button is visible 035ms
After Hooks.deleteTransportAfterTest() 072ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 289ms
And Create transport "CREATE_CISTERN_DELIVERY" by JSON file as "super-admin-hochland" 1s 354ms
When Go to transport details "CISTERN_DELIVERY" 4s 486ms
Then Verify that discrepancy report section is not available 15s 057ms
After Hooks.deleteTransportAfterTest() 118ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 470ms
And Create transport "CREATE_CISTERN_COLLECTION" by JSON file as "super-admin-hochland" 1s 294ms
When Go to transport details "CISTERN_COLLECTION" 4s 458ms
Then Verify that discrepancy report section is not available 15s 039ms
After Hooks.deleteTransportAfterTest() 095ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 389ms
And Create transport "CREATE_WEIGHING" by JSON file as "super-admin-hochland" 1s 201ms
When Go to transport details "WEIGHING" 4s 380ms
Then Verify that discrepancy report section is not available 15s 025ms
After Hooks.deleteTransportAfterTest() 078ms
Scenario Outline Check if discrepancy report is properly generated
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 513ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 460ms
When Go to "TRANSPORT_TABLE" 150ms
And Go to transport details "DELIVERY" 4s 713ms
And Change filled value in transport details "warehouseman" "select" "Dorosz Mieczysław" "0" 3s 514ms
And Change filled value in transport details "unloaded-stere" "text" "3" "0" 1s 328ms
And Open section: "discrepancy-report-panel" 1s 078ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 002ms
And Fill transport form 35s 929ms
And Fill discrepancy report section without closing the form 19s 476ms
And Generate discrepancy report 16s 726ms
And Download discrepancy report 152ms
Then Verify that discrepancy report file has correct values 15s 159ms
java.nio.file.NoSuchFileException: /home/teamcity/Downloads/42_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() 091ms
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 438ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 428ms
When Go to "TRANSPORT_TABLE" 140ms
And Go to transport details "DELIVERY" 4s 702ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 002ms
And Fill transport form 35s 840ms
And Open section: "discrepancy-report-panel" 1s 073ms
And Fill discrepancy report section without closing the form 19s 560ms
And Generate discrepancy report 16s 249ms
And Download discrepancy report 163ms
And Verify that discrepancy report file has correct values 15s 163ms
java.nio.file.NoSuchFileException: /home/teamcity/Downloads/43_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() 120ms