Project Number Date
ApolloFullRunnerReport develop-kapibary.401 28 kwi 2021, 19:06

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 26s 726ms Failed
Feature Transport Form - Discrepancy Report scenarios
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 466ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 444ms
And Go to transport details "DELIVERY" 4s 497ms
When Open section: "discrepancy-report-panel" 1s 063ms
Then Verify that no discrepancies found label is visible in discrepancy report section 059ms
And Select "NIE" in the "insp.-accord.-with-ins." 2s 439ms
And Verify that discrepancy report custom fields are visible in discrepancy report section 080ms
After Hooks.deleteTransportAfterTest() 107ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 329ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 001ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 440ms
And Go to transport details "DELIVERY" 4s 707ms
And Fill transport form 35s 850ms
And Click "save-transport-and-close" save button and wait for form to disappear 16s 129ms
When Go to transport details "DELIVERY" 4s 417ms
Then Select "NIE" in the "insp.-accord.-with-ins." 2s 430ms
And Click "save-transport" save button 729ms
And Wait "2" seconds 2s
And Verify that discrepancy report section is open 028ms
And Verify that discrepancy report section contains validation errors 016ms
After Hooks.deleteTransportAfterTest() 127ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 464ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 355ms
When Go to transport details "DELIVERY" 4s 749ms
Then Verify that discrepancy report section is available 040ms
And Open section: "discrepancy-report-panel" 1s 067ms
And Verify that generate new discrepancy report button is visible 039ms
After Hooks.deleteTransportAfterTest() 107ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 378ms
And Create transport "CREATE_OWN_COLLECTION" by JSON file as "super-admin-hochland" 1s 301ms
When Go to transport details "OWN_COLLECTION" 4s 625ms
Then Verify that discrepancy report section is available 032ms
And Open section: "discrepancy-report-panel" 1s 061ms
And Verify that generate new discrepancy report button is visible 032ms
After Hooks.deleteTransportAfterTest() 092ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 408ms
And Create transport "CREATE_OWN_COLLECTION_POWDER_FACTORY" by JSON file as "super-admin-hochland" 1s 302ms
When Go to transport details "OWN_COLLECTION_POWDER_FACTORY" 4s 579ms
Then Verify that discrepancy report section is available 037ms
And Open section: "discrepancy-report-panel" 1s 063ms
And Verify that generate new discrepancy report button is visible 031ms
After Hooks.deleteTransportAfterTest() 111ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 298ms
And Create transport "CREATE_EXPORT" by JSON file as "super-admin-hochland" 1s 420ms
When Go to transport details "EXPORT" 5s 527ms
Then Verify that discrepancy report section is available 033ms
And Open section: "discrepancy-report-panel" 1s 060ms
And Verify that generate new discrepancy report button is visible 033ms
After Hooks.deleteTransportAfterTest() 108ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 304ms
And Create transport "CREATE_TRANSFER_BETWEEN_WAREHOUSES" by JSON file as "super-admin-hochland" 1s 181ms
When Go to transport details "TRANSFER_BETWEEN_WAREHOUSES" 4s 677ms
Then Verify that discrepancy report section is available 032ms
And Open section: "discrepancy-report-panel" 1s 075ms
And Verify that generate new discrepancy report button is visible 031ms
After Hooks.deleteTransportAfterTest() 073ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 404ms
And Create transport "CREATE_CISTERN_DELIVERY" by JSON file as "super-admin-hochland" 1s 320ms
When Go to transport details "CISTERN_DELIVERY" 4s 500ms
Then Verify that discrepancy report section is not available 15s 033ms
After Hooks.deleteTransportAfterTest() 116ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 458ms
And Create transport "CREATE_CISTERN_COLLECTION" by JSON file as "super-admin-hochland" 1s 250ms
When Go to transport details "CISTERN_COLLECTION" 4s 480ms
Then Verify that discrepancy report section is not available 15s 014ms
After Hooks.deleteTransportAfterTest() 104ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 410ms
And Create transport "CREATE_WEIGHING" by JSON file as "super-admin-hochland" 1s 205ms
When Go to transport details "WEIGHING" 4s 385ms
Then Verify that discrepancy report section is not available 15s 054ms
After Hooks.deleteTransportAfterTest() 064ms
Scenario Outline Check if discrepancy report is properly generated
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 360ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 387ms
When Go to "TRANSPORT_TABLE" 159ms
And Go to transport details "DELIVERY" 4s 704ms
And Change filled value in transport details "warehouseman" "select" "Dorosz Mieczysław" "0" 3s 526ms
And Change filled value in transport details "unloaded-stere" "text" "3" "0" 1s 320ms
And Open section: "discrepancy-report-panel" 1s 063ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 002ms
And Fill transport form 35s 848ms
And Fill discrepancy report section without closing the form 19s 481ms
And Generate discrepancy report 16s 807ms
And Download discrepancy report 175ms
Then Verify that discrepancy report file has correct values 15s 228ms
java.nio.file.NoSuchFileException: /home/teamcity/Downloads/44_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() 100ms
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 510ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 369ms
When Go to "TRANSPORT_TABLE" 157ms
And Go to transport details "DELIVERY" 4s 730ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 002ms
And Fill transport form 35s 851ms
And Open section: "discrepancy-report-panel" 1s 063ms
And Fill discrepancy report section without closing the form 19s 524ms
And Generate discrepancy report 16s 228ms
And Download discrepancy report 178ms
And Verify that discrepancy report file has correct values 15s 140ms
java.nio.file.NoSuchFileException: /home/teamcity/Downloads/45_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() 135ms