Project Number Date
ApolloFullRunnerReport develop.298 05 lut 2021, 04:36

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 993ms Failed
Feature Transport Form - Discrepancy Report scenarios
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 532ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 349ms
And Go to transport details "DELIVERY" 4s 713ms
When Open section: "discrepancy-report-panel" 1s 073ms
Then Verify that no discrepancies found label is visible in discrepancy report section 073ms
And Select "NIE" in the "insp.-accord.-with-ins." 2s 431ms
And Verify that discrepancy report custom fields are visible in discrepancy report section 118ms
After Hooks.deleteTransportAfterTest() 122ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 333ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 002ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 341ms
And Go to transport details "DELIVERY" 4s 732ms
And Fill transport form 36s 068ms
And Click "save-transport-and-close" save button and wait for form to disappear 16s 160ms
When Go to transport details "DELIVERY" 4s 441ms
Then Select "NIE" in the "insp.-accord.-with-ins." 2s 446ms
And Click "save-transport" save button 709ms
And Wait "2" seconds 2s
And Verify that discrepancy report section is open 022ms
And Verify that discrepancy report section contains validation errors 016ms
After Hooks.deleteTransportAfterTest() 122ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 472ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 411ms
When Go to transport details "DELIVERY" 4s 744ms
Then Verify that discrepancy report section is available 042ms
And Open section: "discrepancy-report-panel" 1s 067ms
And Verify that generate new discrepancy report button is visible 038ms
After Hooks.deleteTransportAfterTest() 135ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 367ms
And Create transport "CREATE_OWN_COLLECTION" by JSON file as "super-admin-hochland" 1s 334ms
When Go to transport details "OWN_COLLECTION" 4s 674ms
Then Verify that discrepancy report section is available 037ms
And Open section: "discrepancy-report-panel" 1s 062ms
And Verify that generate new discrepancy report button is visible 036ms
After Hooks.deleteTransportAfterTest() 118ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 444ms
And Create transport "CREATE_OWN_COLLECTION_POWDER_FACTORY" by JSON file as "super-admin-hochland" 1s 301ms
When Go to transport details "OWN_COLLECTION_POWDER_FACTORY" 4s 557ms
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 030ms
After Hooks.deleteTransportAfterTest() 110ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 285ms
And Create transport "CREATE_EXPORT" by JSON file as "super-admin-hochland" 1s 393ms
When Go to transport details "EXPORT" 5s 328ms
Then Verify that discrepancy report section is available 037ms
And Open section: "discrepancy-report-panel" 1s 073ms
And Verify that generate new discrepancy report button is visible 032ms
After Hooks.deleteTransportAfterTest() 118ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 357ms
And Create transport "CREATE_TRANSFER_BETWEEN_WAREHOUSES" by JSON file as "super-admin-hochland" 1s 212ms
When Go to transport details "TRANSFER_BETWEEN_WAREHOUSES" 4s 784ms
Then Verify that discrepancy report section is available 037ms
And Open section: "discrepancy-report-panel" 1s 056ms
And Verify that generate new discrepancy report button is visible 033ms
After Hooks.deleteTransportAfterTest() 102ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 280ms
And Create transport "CREATE_CISTERN_DELIVERY" by JSON file as "super-admin-hochland" 1s 306ms
When Go to transport details "CISTERN_DELIVERY" 4s 511ms
Then Verify that discrepancy report section is not available 15s 011ms
After Hooks.deleteTransportAfterTest() 106ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 413ms
And Create transport "CREATE_CISTERN_COLLECTION" by JSON file as "super-admin-hochland" 1s 340ms
When Go to transport details "CISTERN_COLLECTION" 4s 430ms
Then Verify that discrepancy report section is not available 15s 055ms
After Hooks.deleteTransportAfterTest() 106ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 548ms
And Create transport "CREATE_WEIGHING" by JSON file as "super-admin-hochland" 1s 195ms
When Go to transport details "WEIGHING" 4s 379ms
Then Verify that discrepancy report section is not available 15s 052ms
After Hooks.deleteTransportAfterTest() 097ms
Scenario Outline Check if discrepancy report is properly generated
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 416ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 360ms
When Go to "TRANSPORT_TABLE" 124ms
And Go to transport details "DELIVERY" 4s 821ms
And Change filled value in transport details "warehouseman" "select" "Błajet" "0" 3s 520ms
And Change filled value in transport details "unloaded-stere" "text" "3" "0" 1s 342ms
And Open section: "discrepancy-report-panel" 1s 073ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 003ms
And Fill transport form 36s 003ms
And Fill discrepancy report section without closing the form 19s 614ms
And Generate discrepancy report 16s 819ms
And Download discrepancy report 177ms
Then Verify that discrepancy report file has correct values 15s 187ms
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:76)
After Hooks.deleteTransportAfterTest() 104ms
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 477ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 375ms
When Go to "TRANSPORT_TABLE" 107ms
And Go to transport details "DELIVERY" 4s 743ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 002ms
And Fill transport form 35s 974ms
And Open section: "discrepancy-report-panel" 1s 071ms
And Fill discrepancy report section without closing the form 19s 690ms
And Generate discrepancy report 16s 298ms
And Download discrepancy report 172ms
And Verify that discrepancy report file has correct values 15s 159ms
java.nio.file.NoSuchFileException: /home/teamcity/Downloads/16_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() 110ms