Project Number Date
ApolloFullRunnerReport develop.367 03 kwi 2021, 05:45

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 716ms Failed
Feature Transport Form - Discrepancy Report scenarios
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 452ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 393ms
And Go to transport details "DELIVERY" 4s 751ms
When Open section: "discrepancy-report-panel" 1s 075ms
Then Verify that no discrepancies found label is visible in discrepancy report section 076ms
And Select "NIE" in the "insp.-accord.-with-ins." 2s 447ms
And Verify that discrepancy report custom fields are visible in discrepancy report section 113ms
After Hooks.deleteTransportAfterTest() 124ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 354ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 001ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 410ms
And Go to transport details "DELIVERY" 4s 624ms
And Fill transport form 35s 893ms
And Click "save-transport-and-close" save button and wait for form to disappear 16s 136ms
When Go to transport details "DELIVERY" 4s 432ms
Then Select "NIE" in the "insp.-accord.-with-ins." 2s 438ms
And Click "save-transport" save button 725ms
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() 122ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 370ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 378ms
When Go to transport details "DELIVERY" 4s 760ms
Then Verify that discrepancy report section is available 045ms
And Open section: "discrepancy-report-panel" 1s 066ms
And Verify that generate new discrepancy report button is visible 037ms
After Hooks.deleteTransportAfterTest() 150ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 230ms
And Create transport "CREATE_OWN_COLLECTION" by JSON file as "super-admin-hochland" 1s 298ms
When Go to transport details "OWN_COLLECTION" 4s 617ms
Then Verify that discrepancy report section is available 037ms
And Open section: "discrepancy-report-panel" 1s 068ms
And Verify that generate new discrepancy report button is visible 034ms
After Hooks.deleteTransportAfterTest() 085ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 402ms
And Create transport "CREATE_OWN_COLLECTION_POWDER_FACTORY" by JSON file as "super-admin-hochland" 1s 320ms
When Go to transport details "OWN_COLLECTION_POWDER_FACTORY" 4s 554ms
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 028ms
After Hooks.deleteTransportAfterTest() 136ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 350ms
And Create transport "CREATE_EXPORT" by JSON file as "super-admin-hochland" 1s 363ms
When Go to transport details "EXPORT" 5s 676ms
Then Verify that discrepancy report section is available 032ms
And Open section: "discrepancy-report-panel" 1s 064ms
And Verify that generate new discrepancy report button is visible 034ms
After Hooks.deleteTransportAfterTest() 129ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 298ms
And Create transport "CREATE_TRANSFER_BETWEEN_WAREHOUSES" by JSON file as "super-admin-hochland" 1s 186ms
When Go to transport details "TRANSFER_BETWEEN_WAREHOUSES" 4s 695ms
Then Verify that discrepancy report section is available 040ms
And Open section: "discrepancy-report-panel" 1s 066ms
And Verify that generate new discrepancy report button is visible 034ms
After Hooks.deleteTransportAfterTest() 062ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 327ms
And Create transport "CREATE_CISTERN_DELIVERY" by JSON file as "super-admin-hochland" 1s 323ms
When Go to transport details "CISTERN_DELIVERY" 4s 491ms
Then Verify that discrepancy report section is not available 15s 025ms
After Hooks.deleteTransportAfterTest() 122ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 399ms
And Create transport "CREATE_CISTERN_COLLECTION" by JSON file as "super-admin-hochland" 1s 329ms
When Go to transport details "CISTERN_COLLECTION" 4s 458ms
Then Verify that discrepancy report section is not available 15s 031ms
After Hooks.deleteTransportAfterTest() 102ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 419ms
And Create transport "CREATE_WEIGHING" by JSON file as "super-admin-hochland" 1s 202ms
When Go to transport details "WEIGHING" 4s 387ms
Then Verify that discrepancy report section is not available 15s 039ms
After Hooks.deleteTransportAfterTest() 055ms
Scenario Outline Check if discrepancy report is properly generated
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 461ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 349ms
When Go to "TRANSPORT_TABLE" 165ms
And Go to transport details "DELIVERY" 4s 746ms
And Change filled value in transport details "warehouseman" "select" "Dorosz Mieczysław" "0" 3s 516ms
And Change filled value in transport details "unloaded-stere" "text" "3" "0" 1s 328ms
And Open section: "discrepancy-report-panel" 1s 077ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 002ms
And Fill transport form 36s 056ms
And Fill discrepancy report section without closing the form 19s 675ms
And Generate discrepancy report 16s 746ms
And Download discrepancy report 175ms
Then Verify that discrepancy report file has correct values 15s 135ms
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:76)
After Hooks.deleteTransportAfterTest() 120ms
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 615ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 361ms
When Go to "TRANSPORT_TABLE" 156ms
And Go to transport details "DELIVERY" 4s 734ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 002ms
And Fill transport form 36s 112ms
And Open section: "discrepancy-report-panel" 1s 082ms
And Fill discrepancy report section without closing the form 19s 670ms
And Generate discrepancy report 16s 213ms
And Download discrepancy report 173ms
And Verify that discrepancy report file has correct values 15s 155ms
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: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() 113ms