Project Number Date
ApolloFullRunnerReport develop.287 31 sty 2021, 04:47

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 39s 768ms Failed
Feature Transport Form - Discrepancy Report scenarios
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 333ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 402ms
And Go to transport details "DELIVERY" 4s 707ms
When Open section: "discrepancy-report-panel" 1s 076ms
Then Verify that no discrepancies found label is visible in discrepancy report section 069ms
And Select "NIE" in the "insp.-accord.-with-ins." 2s 441ms
And Verify that discrepancy report custom fields are visible in discrepancy report section 107ms
After Hooks.deleteTransportAfterTest() 4s 958ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 374ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 001ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 360ms
And Go to transport details "DELIVERY" 4s 754ms
And Fill transport form 36s 096ms
And Click "save-transport-and-close" save button and wait for form to disappear 16s 148ms
When Go to transport details "DELIVERY" 4s 428ms
Then Select "NIE" in the "insp.-accord.-with-ins." 2s 427ms
And Click "save-transport" save button 724ms
And Wait "2" seconds 2s
And Verify that discrepancy report section is open 027ms
And Verify that discrepancy report section contains validation errors 017ms
After Hooks.deleteTransportAfterTest() 130ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 6s 884ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 2s 027ms
When Go to transport details "DELIVERY" 4s 521ms
Then Verify that discrepancy report section is available 042ms
And Open section: "discrepancy-report-panel" 1s 071ms
And Verify that generate new discrepancy report button is visible 039ms
After Hooks.deleteTransportAfterTest() 185ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 399ms
And Create transport "CREATE_OWN_COLLECTION" by JSON file as "super-admin-hochland" 1s 323ms
When Go to transport details "OWN_COLLECTION" 4s 727ms
Then Verify that discrepancy report section is available 031ms
And Open section: "discrepancy-report-panel" 1s 069ms
And Verify that generate new discrepancy report button is visible 031ms
After Hooks.deleteTransportAfterTest() 118ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 377ms
And Create transport "CREATE_OWN_COLLECTION_POWDER_FACTORY" by JSON file as "super-admin-hochland" 1s 382ms
When Go to transport details "OWN_COLLECTION_POWDER_FACTORY" 4s 593ms
Then Verify that discrepancy report section is available 030ms
And Open section: "discrepancy-report-panel" 1s 061ms
And Verify that generate new discrepancy report button is visible 036ms
After Hooks.deleteTransportAfterTest() 113ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 369ms
And Create transport "CREATE_EXPORT" by JSON file as "super-admin-hochland" 1s 341ms
When Go to transport details "EXPORT" 4s 584ms
Then Verify that discrepancy report section is available 039ms
And Open section: "discrepancy-report-panel" 1s 064ms
And Verify that generate new discrepancy report button is visible 028ms
After Hooks.deleteTransportAfterTest() 1s 886ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 942ms
And Create transport "CREATE_TRANSFER_BETWEEN_WAREHOUSES" by JSON file as "super-admin-hochland" 1s 189ms
When Go to transport details "TRANSFER_BETWEEN_WAREHOUSES" 4s 735ms
Then Verify that discrepancy report section is available 034ms
And Open section: "discrepancy-report-panel" 1s 060ms
And Verify that generate new discrepancy report button is visible 030ms
After Hooks.deleteTransportAfterTest() 091ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 384ms
And Create transport "CREATE_CISTERN_DELIVERY" by JSON file as "super-admin-hochland" 1s 327ms
When Go to transport details "CISTERN_DELIVERY" 4s 485ms
Then Verify that discrepancy report section is not available 15s 061ms
After Hooks.deleteTransportAfterTest() 112ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 510ms
And Create transport "CREATE_CISTERN_COLLECTION" by JSON file as "super-admin-hochland" 1s 298ms
When Go to transport details "CISTERN_COLLECTION" 4s 489ms
Then Verify that discrepancy report section is not available 15s 064ms
After Hooks.deleteTransportAfterTest() 116ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 475ms
And Create transport "CREATE_WEIGHING" by JSON file as "super-admin-hochland" 1s 222ms
When Go to transport details "WEIGHING" 4s 395ms
Then Verify that discrepancy report section is not available 15s 058ms
After Hooks.deleteTransportAfterTest() 103ms
Scenario Outline Check if 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 384ms
When Go to "TRANSPORT_TABLE" 082ms
And Go to transport details "DELIVERY" 4s 744ms
And Change filled value in transport details "warehouseman" "select" "Błajet" "0" 3s 533ms
And Change filled value in transport details "unloaded-stere" "text" "3" "0" 1s 332ms
And Open section: "discrepancy-report-panel" 1s 077ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 003ms
And Fill transport form 35s 928ms
And Fill discrepancy report section without closing the form 19s 679ms
And Generate discrepancy report 17s 258ms
And Download discrepancy report 163ms
Then Verify that discrepancy report file has correct values 15s 129ms
java.nio.file.NoSuchFileException: /home/teamcity/Downloads/14_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:49)
	at Utils.FileUtil.getPdfFileText(FileUtil.java:28)
	at CucumberTests.Transport.TransportFormTest.verifyThatDiscrepancyReportFileHasCorrectValues(TransportFormTest.java:238)
	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 573ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 497ms
When Go to "TRANSPORT_TABLE" 113ms
And Go to transport details "DELIVERY" 4s 437ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 001ms
And Fill transport form 36s 275ms
And Open section: "discrepancy-report-panel" 1s 078ms
And Fill discrepancy report section without closing the form 19s 668ms
And Generate discrepancy report 16s 727ms
And Download discrepancy report 174ms
And Verify that discrepancy report file has correct values 19s 065ms
java.nio.file.NoSuchFileException: /home/teamcity/Downloads/15_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:49)
	at Utils.FileUtil.getPdfFileText(FileUtil.java:28)
	at CucumberTests.Transport.TransportFormTest.verifyThatDiscrepancyReportFileHasCorrectValues(TransportFormTest.java:238)
	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() 354ms