Project Number Date
ApolloFullRunnerReport develop.417 10 maj 2021, 06:20

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 34s 563ms Failed
Feature Transport Form - Discrepancy Report scenarios
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 711ms
And Go to transport details "DELIVERY" 4s 775ms
When Open section: "discrepancy-report-panel" 1s 079ms
Then Verify that no discrepancies found label is visible in discrepancy report section 058ms
And Select "NIE" in the "insp.-accord.-with-ins." 2s 437ms
And Verify that discrepancy report custom fields are visible in discrepancy report section 100ms
After Hooks.deleteTransportAfterTest() 135ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 370ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 001ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 364ms
And Go to transport details "DELIVERY" 4s 455ms
And Fill transport form 35s 951ms
And Click "save-transport-and-close" save button and wait for form to disappear 19s 270ms
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 698ms
And Wait "2" seconds 2s
And Verify that discrepancy report section is open 030ms
And Verify that discrepancy report section contains validation errors 019ms
After Hooks.deleteTransportAfterTest() 111ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 453ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 368ms
When Go to transport details "DELIVERY" 4s 767ms
Then Verify that discrepancy report section is available 034ms
And Open section: "discrepancy-report-panel" 1s 064ms
And Verify that generate new discrepancy report button is visible 039ms
After Hooks.deleteTransportAfterTest() 120ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 387ms
And Create transport "CREATE_OWN_COLLECTION" by JSON file as "super-admin-hochland" 1s 306ms
When Go to transport details "OWN_COLLECTION" 4s 643ms
Then Verify that discrepancy report section is available 030ms
And Open section: "discrepancy-report-panel" 1s 054ms
And Verify that generate new discrepancy report button is visible 034ms
After Hooks.deleteTransportAfterTest() 117ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 451ms
And Create transport "CREATE_OWN_COLLECTION_POWDER_FACTORY" by JSON file as "super-admin-hochland" 1s 334ms
When Go to transport details "OWN_COLLECTION_POWDER_FACTORY" 4s 565ms
Then Verify that discrepancy report section is available 032ms
And Open section: "discrepancy-report-panel" 1s 059ms
And Verify that generate new discrepancy report button is visible 040ms
After Hooks.deleteTransportAfterTest() 094ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 362ms
And Create transport "CREATE_EXPORT" by JSON file as "super-admin-hochland" 1s 367ms
When Go to transport details "EXPORT" 4s 624ms
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 068ms
After Hooks.deleteTransportAfterTest() 103ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 488ms
And Create transport "CREATE_TRANSFER_BETWEEN_WAREHOUSES" by JSON file as "super-admin-hochland" 1s 190ms
When Go to transport details "TRANSFER_BETWEEN_WAREHOUSES" 4s 679ms
Then Verify that discrepancy report section is available 032ms
And Open section: "discrepancy-report-panel" 1s 065ms
And Verify that generate new discrepancy report button is visible 026ms
After Hooks.deleteTransportAfterTest() 090ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 427ms
And Create transport "CREATE_CISTERN_DELIVERY" by JSON file as "super-admin-hochland" 1s 298ms
When Go to transport details "CISTERN_DELIVERY" 4s 502ms
Then Verify that discrepancy report section is not available 15s 065ms
After Hooks.deleteTransportAfterTest() 104ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 506ms
And Create transport "CREATE_CISTERN_COLLECTION" by JSON file as "super-admin-hochland" 1s 301ms
When Go to transport details "CISTERN_COLLECTION" 4s 442ms
Then Verify that discrepancy report section is not available 15s 045ms
After Hooks.deleteTransportAfterTest() 118ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 377ms
And Create transport "CREATE_WEIGHING" by JSON file as "super-admin-hochland" 1s 197ms
When Go to transport details "WEIGHING" 4s 389ms
Then Verify that discrepancy report section is not available 15s 047ms
After Hooks.deleteTransportAfterTest() 073ms
Scenario Outline Check if discrepancy report is properly generated
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 519ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 353ms
When Go to "TRANSPORT_TABLE" 147ms
And Go to transport details "DELIVERY" 4s 742ms
And Change filled value in transport details "warehouseman" "select" "Dorosz Mieczysław" "0" 3s 506ms
And Change filled value in transport details "unloaded-stere" "text" "3" "0" 1s 329ms
And Open section: "discrepancy-report-panel" 1s 067ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 003ms
And Fill transport form 35s 768ms
And Fill discrepancy report section without closing the form 19s 522ms
And Generate discrepancy report 16s 846ms
And Download discrepancy report 190ms
Then Verify that discrepancy report file has correct values 15s 154ms
java.nio.file.NoSuchFileException: /home/teamcity/Downloads/49_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() 325ms
Scenario Outline Check if edited discrepancy report is properly generated
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 4s 673ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 427ms
When Go to "TRANSPORT_TABLE" 155ms
And Go to transport details "DELIVERY" 4s 731ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 003ms
And Fill transport form 35s 840ms
And Open section: "discrepancy-report-panel" 1s 074ms
And Fill discrepancy report section without closing the form 19s 514ms
And Generate discrepancy report 16s 725ms
And Download discrepancy report 165ms
And Verify that discrepancy report file has correct values 15s 141ms
java.nio.file.NoSuchFileException: /home/teamcity/Downloads/50_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() 146ms