Project Number Date
ApolloFullRunnerReport develop.365 01 kwi 2021, 05:48

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 017ms Failed
Feature Transport Form - Discrepancy Report scenarios
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 475ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 384ms
And Go to transport details "DELIVERY" 4s 753ms
When Open section: "discrepancy-report-panel" 1s 067ms
Then Verify that no discrepancies found label is visible in discrepancy report section 058ms
And Select "NIE" in the "insp.-accord.-with-ins." 2s 441ms
And Verify that discrepancy report custom fields are visible in discrepancy report section 106ms
After Hooks.deleteTransportAfterTest() 146ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 277ms
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 714ms
And Fill transport form 35s 976ms
And Click "save-transport-and-close" save button and wait for form to disappear 16s 159ms
When Go to transport details "DELIVERY" 4s 465ms
Then Select "NIE" in the "insp.-accord.-with-ins." 2s 428ms
And Click "save-transport" save button 712ms
And Wait "2" seconds 2s
And Verify that discrepancy report section is open 031ms
And Verify that discrepancy report section contains validation errors 020ms
After Hooks.deleteTransportAfterTest() 130ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 401ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 395ms
When Go to transport details "DELIVERY" 4s 489ms
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 040ms
After Hooks.deleteTransportAfterTest() 155ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 405ms
And Create transport "CREATE_OWN_COLLECTION" by JSON file as "super-admin-hochland" 1s 297ms
When Go to transport details "OWN_COLLECTION" 4s 648ms
Then Verify that discrepancy report section is available 035ms
And Open section: "discrepancy-report-panel" 1s 068ms
And Verify that generate new discrepancy report button is visible 030ms
After Hooks.deleteTransportAfterTest() 114ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 284ms
And Create transport "CREATE_OWN_COLLECTION_POWDER_FACTORY" by JSON file as "super-admin-hochland" 1s 374ms
When Go to transport details "OWN_COLLECTION_POWDER_FACTORY" 4s 533ms
Then Verify that discrepancy report section is available 029ms
And Open section: "discrepancy-report-panel" 1s 063ms
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 349ms
And Create transport "CREATE_EXPORT" by JSON file as "super-admin-hochland" 1s 336ms
When Go to transport details "EXPORT" 4s 829ms
Then Verify that discrepancy report section is available 030ms
And Open section: "discrepancy-report-panel" 1s 057ms
And Verify that generate new discrepancy report button is visible 035ms
After Hooks.deleteTransportAfterTest() 139ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 361ms
And Create transport "CREATE_TRANSFER_BETWEEN_WAREHOUSES" by JSON file as "super-admin-hochland" 1s 192ms
When Go to transport details "TRANSFER_BETWEEN_WAREHOUSES" 4s 675ms
Then Verify that discrepancy report section is available 037ms
And Open section: "discrepancy-report-panel" 1s 066ms
And Verify that generate new discrepancy report button is visible 035ms
After Hooks.deleteTransportAfterTest() 081ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 273ms
And Create transport "CREATE_CISTERN_DELIVERY" by JSON file as "super-admin-hochland" 1s 353ms
When Go to transport details "CISTERN_DELIVERY" 4s 503ms
Then Verify that discrepancy report section is not available 15s 059ms
After Hooks.deleteTransportAfterTest() 124ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 437ms
And Create transport "CREATE_CISTERN_COLLECTION" by JSON file as "super-admin-hochland" 1s 291ms
When Go to transport details "CISTERN_COLLECTION" 4s 470ms
Then Verify that discrepancy report section is not available 15s 026ms
After Hooks.deleteTransportAfterTest() 116ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 406ms
And Create transport "CREATE_WEIGHING" by JSON file as "super-admin-hochland" 1s 226ms
When Go to transport details "WEIGHING" 4s 446ms
Then Verify that discrepancy report section is not available 15s 049ms
After Hooks.deleteTransportAfterTest() 082ms
Scenario Outline Check if discrepancy report is properly generated
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 443ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 346ms
When Go to "TRANSPORT_TABLE" 149ms
And Go to transport details "DELIVERY" 4s 747ms
And Change filled value in transport details "warehouseman" "select" "Dorosz Mieczysław" "0" 3s 535ms
And Change filled value in transport details "unloaded-stere" "text" "3" "0" 1s 325ms
And Open section: "discrepancy-report-panel" 1s 072ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 002ms
And Fill transport form 35s 881ms
And Fill discrepancy report section without closing the form 19s 677ms
And Generate discrepancy report 17s 333ms
And Download discrepancy report 149ms
Then Verify that discrepancy report file has correct values 15s 149ms
java.nio.file.NoSuchFileException: /home/teamcity/Downloads/39_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() 132ms
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 442ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 402ms
When Go to "TRANSPORT_TABLE" 156ms
And Go to transport details "DELIVERY" 4s 723ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 002ms
And Fill transport form 36s 009ms
And Open section: "discrepancy-report-panel" 1s 081ms
And Fill discrepancy report section without closing the form 19s 599ms
And Generate discrepancy report 16s 238ms
And Download discrepancy report 162ms
And Verify that discrepancy report file has correct values 15s 144ms
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: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