Project Number Date
ApolloFullRunnerReport develop.411 06 maj 2021, 18:40

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 24s 337ms Failed
Feature Transport Form - Discrepancy Report scenarios
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 412ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 355ms
And Go to transport details "DELIVERY" 4s 721ms
When Open section: "discrepancy-report-panel" 1s 063ms
Then Verify that no discrepancies found label is visible in discrepancy report section 055ms
And Select "NIE" in the "insp.-accord.-with-ins." 2s 412ms
And Verify that discrepancy report custom fields are visible in discrepancy report section 090ms
After Hooks.deleteTransportAfterTest() 095ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 282ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 001ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 346ms
And Go to transport details "DELIVERY" 4s 731ms
And Fill transport form 35s 647ms
And Click "save-transport-and-close" save button and wait for form to disappear 16s 114ms
When Go to transport details "DELIVERY" 4s 398ms
Then Select "NIE" in the "insp.-accord.-with-ins." 2s 399ms
And Click "save-transport" save button 704ms
And Wait "2" seconds 2s
And Verify that discrepancy report section is open 025ms
And Verify that discrepancy report section contains validation errors 014ms
After Hooks.deleteTransportAfterTest() 104ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 387ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 455ms
When Go to transport details "DELIVERY" 4s 726ms
Then Verify that discrepancy report section is available 034ms
And Open section: "discrepancy-report-panel" 1s 058ms
And Verify that generate new discrepancy report button is visible 026ms
After Hooks.deleteTransportAfterTest() 108ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 270ms
And Create transport "CREATE_OWN_COLLECTION" by JSON file as "super-admin-hochland" 1s 319ms
When Go to transport details "OWN_COLLECTION" 4s 645ms
Then Verify that discrepancy report section is available 026ms
And Open section: "discrepancy-report-panel" 1s 054ms
And Verify that generate new discrepancy report button is visible 029ms
After Hooks.deleteTransportAfterTest() 067ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 269ms
And Create transport "CREATE_OWN_COLLECTION_POWDER_FACTORY" by JSON file as "super-admin-hochland" 1s 326ms
When Go to transport details "OWN_COLLECTION_POWDER_FACTORY" 4s 464ms
Then Verify that discrepancy report section is available 033ms
And Open section: "discrepancy-report-panel" 1s 052ms
And Verify that generate new discrepancy report button is visible 025ms
After Hooks.deleteTransportAfterTest() 089ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 390ms
And Create transport "CREATE_EXPORT" by JSON file as "super-admin-hochland" 1s 358ms
When Go to transport details "EXPORT" 5s 324ms
Then Verify that discrepancy report section is available 029ms
And Open section: "discrepancy-report-panel" 1s 055ms
And Verify that generate new discrepancy report button is visible 021ms
After Hooks.deleteTransportAfterTest() 086ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 347ms
And Create transport "CREATE_TRANSFER_BETWEEN_WAREHOUSES" by JSON file as "super-admin-hochland" 1s 177ms
When Go to transport details "TRANSFER_BETWEEN_WAREHOUSES" 4s 643ms
Then Verify that discrepancy report section is available 034ms
And Open section: "discrepancy-report-panel" 1s 054ms
And Verify that generate new discrepancy report button is visible 023ms
After Hooks.deleteTransportAfterTest() 062ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 308ms
And Create transport "CREATE_CISTERN_DELIVERY" by JSON file as "super-admin-hochland" 1s 324ms
When Go to transport details "CISTERN_DELIVERY" 4s 477ms
Then Verify that discrepancy report section is not available 15s 020ms
After Hooks.deleteTransportAfterTest() 098ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 500ms
And Create transport "CREATE_CISTERN_COLLECTION" by JSON file as "super-admin-hochland" 1s 258ms
When Go to transport details "CISTERN_COLLECTION" 4s 413ms
Then Verify that discrepancy report section is not available 15s 035ms
After Hooks.deleteTransportAfterTest() 092ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 390ms
And Create transport "CREATE_WEIGHING" by JSON file as "super-admin-hochland" 1s 191ms
When Go to transport details "WEIGHING" 4s 359ms
Then Verify that discrepancy report section is not available 15s 053ms
After Hooks.deleteTransportAfterTest() 060ms
Scenario Outline Check if discrepancy report is properly generated
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 413ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 370ms
When Go to "TRANSPORT_TABLE" 128ms
And Go to transport details "DELIVERY" 4s 741ms
And Change filled value in transport details "warehouseman" "select" "Dorosz Mieczysław" "0" 3s 638ms
And Change filled value in transport details "unloaded-stere" "text" "3" "0" 1s 311ms
And Open section: "discrepancy-report-panel" 1s 061ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 002ms
And Fill transport form 35s 592ms
And Fill discrepancy report section without closing the form 19s 315ms
And Generate discrepancy report 16s 731ms
And Download discrepancy report 143ms
Then Verify that discrepancy report file has correct values 15s 145ms
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() 092ms
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 421ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 308ms
When Go to "TRANSPORT_TABLE" 141ms
And Go to transport details "DELIVERY" 4s 720ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 002ms
And Fill transport form 35s 622ms
And Open section: "discrepancy-report-panel" 1s 064ms
And Fill discrepancy report section without closing the form 19s 244ms
And Generate discrepancy report 16s 166ms
And Download discrepancy report 150ms
And Verify that discrepancy report file has correct values 15s 113ms
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() 100ms