Project Number Date
ApolloFullRunnerReport develop.386 19 kwi 2021, 22:59

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 35s 418ms Failed
Feature Transport Form - Discrepancy Report scenarios
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 242ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 834ms
And Go to transport details "DELIVERY" 4s 658ms
When Open section: "discrepancy-report-panel" 1s 097ms
Then Verify that no discrepancies found label is visible in discrepancy report section 054ms
And Select "NIE" in the "insp.-accord.-with-ins." 2s 509ms
And Verify that discrepancy report custom fields are visible in discrepancy report section 097ms
After Hooks.deleteTransportAfterTest() 092ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 521ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 001ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 402ms
And Go to transport details "DELIVERY" 4s 664ms
And Fill transport form 35s 559ms
And Click "save-transport-and-close" save button and wait for form to disappear 16s 323ms
When Go to transport details "DELIVERY" 5s 498ms
Then Select "NIE" in the "insp.-accord.-with-ins." 2s 552ms
And Click "save-transport" save button 874ms
And Wait "2" seconds 2s
And Verify that discrepancy report section is open 088ms
And Verify that discrepancy report section contains validation errors 018ms
After Hooks.deleteTransportAfterTest() 306ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 757ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 551ms
When Go to transport details "DELIVERY" 4s 870ms
Then Verify that discrepancy report section is available 032ms
And Open section: "discrepancy-report-panel" 1s 234ms
And Verify that generate new discrepancy report button is visible 030ms
After Hooks.deleteTransportAfterTest() 080ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 496ms
And Create transport "CREATE_OWN_COLLECTION" by JSON file as "super-admin-hochland" 1s 323ms
When Go to transport details "OWN_COLLECTION" 4s 611ms
Then Verify that discrepancy report section is available 024ms
And Open section: "discrepancy-report-panel" 1s 056ms
And Verify that generate new discrepancy report button is visible 030ms
After Hooks.deleteTransportAfterTest() 282ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 386ms
And Create transport "CREATE_OWN_COLLECTION_POWDER_FACTORY" by JSON file as "super-admin-hochland" 1s 606ms
When Go to transport details "OWN_COLLECTION_POWDER_FACTORY" 4s 468ms
Then Verify that discrepancy report section is available 032ms
And Open section: "discrepancy-report-panel" 1s 046ms
And Verify that generate new discrepancy report button is visible 022ms
After Hooks.deleteTransportAfterTest() 467ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 560ms
And Create transport "CREATE_EXPORT" by JSON file as "super-admin-hochland" 1s 455ms
When Go to transport details "EXPORT" 5s 439ms
Then Verify that discrepancy report section is available 028ms
And Open section: "discrepancy-report-panel" 1s 059ms
And Verify that generate new discrepancy report button is visible 025ms
After Hooks.deleteTransportAfterTest() 116ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 520ms
And Create transport "CREATE_TRANSFER_BETWEEN_WAREHOUSES" by JSON file as "super-admin-hochland" 1s 409ms
When Go to transport details "TRANSFER_BETWEEN_WAREHOUSES" 4s 437ms
Then Verify that discrepancy report section is available 040ms
And Open section: "discrepancy-report-panel" 1s 049ms
And Verify that generate new discrepancy report button is visible 034ms
After Hooks.deleteTransportAfterTest() 200ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 639ms
And Create transport "CREATE_CISTERN_DELIVERY" by JSON file as "super-admin-hochland" 1s 969ms
When Go to transport details "CISTERN_DELIVERY" 4s 447ms
Then Verify that discrepancy report section is not available 15s 016ms
After Hooks.deleteTransportAfterTest() 096ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 701ms
And Create transport "CREATE_CISTERN_COLLECTION" by JSON file as "super-admin-hochland" 1s 276ms
When Go to transport details "CISTERN_COLLECTION" 4s 435ms
Then Verify that discrepancy report section is not available 15s 031ms
After Hooks.deleteTransportAfterTest() 089ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 469ms
And Create transport "CREATE_WEIGHING" by JSON file as "super-admin-hochland" 1s 219ms
When Go to transport details "WEIGHING" 4s 389ms
Then Verify that discrepancy report section is not available 15s 011ms
After Hooks.deleteTransportAfterTest() 071ms
Scenario Outline Check if discrepancy report is properly generated
Steps
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 344ms
When Go to "TRANSPORT_TABLE" 140ms
And Go to transport details "DELIVERY" 4s 685ms
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 305ms
And Open section: "discrepancy-report-panel" 1s 058ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 003ms
And Fill transport form 35s 602ms
And Fill discrepancy report section without closing the form 19s 345ms
And Generate discrepancy report 17s 281ms
And Download discrepancy report 197ms
Then Verify that discrepancy report file has correct values 15s 370ms
java.nio.file.NoSuchFileException: /home/teamcity/Downloads/41_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() 145ms
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 443ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 435ms
When Go to "TRANSPORT_TABLE" 127ms
And Go to transport details "DELIVERY" 4s 697ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 002ms
And Fill transport form 35s 637ms
And Open section: "discrepancy-report-panel" 1s 064ms
And Fill discrepancy report section without closing the form 19s 359ms
And Generate discrepancy report 16s 731ms
And Download discrepancy report 139ms
And Verify that discrepancy report file has correct values 15s 225ms
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: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() 102ms