Project Number Date
ApolloFullRunnerReport refs/heads/develop.17 26 maj 2021, 00:57

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 7m 39s 019ms Failed
Feature Transport Form - Discrepancy Report scenarios
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 078ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 2s 961ms
And Go to transport details "DELIVERY" 4s 950ms
When Open section: "discrepancy-report-panel" 1s 141ms
Then Verify that no discrepancies found label is visible in discrepancy report section 155ms
And Select "NIE" in the "insp.-accord.-with-ins." 2s 696ms
And Verify that discrepancy report custom fields are visible in discrepancy report section 259ms
After Hooks.deleteTransportAfterTest() 725ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 034ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 033ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 2s 998ms
And Go to transport details "DELIVERY" 4s 946ms
And Fill transport form 40s 936ms
And Click "save-transport-and-close" save button and wait for form to disappear 17s 452ms
When Go to transport details "DELIVERY" 4s 829ms
Then Select "NIE" in the "insp.-accord.-with-ins." 2s 685ms
And Click "save-transport" save button 909ms
And Wait "2" seconds 2s
And Verify that discrepancy report section is open 079ms
And Verify that discrepancy report section contains validation errors 069ms
After Hooks.deleteTransportAfterTest() 878ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 117ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 2s 903ms
When Go to transport details "DELIVERY" 4s 948ms
Then Verify that discrepancy report section is available 086ms
And Open section: "discrepancy-report-panel" 1s 151ms
And Verify that generate new discrepancy report button is visible 085ms
After Hooks.deleteTransportAfterTest() 772ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 926ms
And Create transport "CREATE_OWN_COLLECTION" by JSON file as "super-admin-hochland" 2s 701ms
When Go to transport details "OWN_COLLECTION" 4s 925ms
Then Verify that discrepancy report section is available 086ms
And Open section: "discrepancy-report-panel" 1s 162ms
And Verify that generate new discrepancy report button is visible 070ms
After Hooks.deleteTransportAfterTest() 732ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 989ms
And Create transport "CREATE_OWN_COLLECTION_POWDER_FACTORY" by JSON file as "super-admin-hochland" 2s 728ms
When Go to transport details "OWN_COLLECTION_POWDER_FACTORY" 4s 986ms
Then Verify that discrepancy report section is available 084ms
And Open section: "discrepancy-report-panel" 1s 154ms
And Verify that generate new discrepancy report button is visible 086ms
After Hooks.deleteTransportAfterTest() 742ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 917ms
And Create transport "CREATE_EXPORT" by JSON file as "super-admin-hochland" 2s 806ms
When Go to transport details "EXPORT" 5s 063ms
Then Verify that discrepancy report section is available 112ms
And Open section: "discrepancy-report-panel" 1s 324ms
And Verify that generate new discrepancy report button is visible 108ms
After Hooks.deleteTransportAfterTest() 1s 004ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 181ms
And Create transport "CREATE_TRANSFER_BETWEEN_WAREHOUSES" by JSON file as "super-admin-hochland" 1s 922ms
When Go to transport details "TRANSFER_BETWEEN_WAREHOUSES" 4s 896ms
Then Verify that discrepancy report section is available 087ms
And Open section: "discrepancy-report-panel" 1s 156ms
And Verify that generate new discrepancy report button is visible 080ms
After Hooks.deleteTransportAfterTest() 480ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 858ms
And Create transport "CREATE_CISTERN_DELIVERY" by JSON file as "super-admin-hochland" 2s 610ms
When Go to transport details "CISTERN_DELIVERY" 4s 935ms
Then Verify that discrepancy report section is not available 15s 061ms
After Hooks.deleteTransportAfterTest() 967ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 130ms
And Create transport "CREATE_CISTERN_COLLECTION" by JSON file as "super-admin-hochland" 2s 596ms
When Go to transport details "CISTERN_COLLECTION" 4s 928ms
Then Verify that discrepancy report section is not available 15s 066ms
After Hooks.deleteTransportAfterTest() 692ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 130ms
And Create transport "CREATE_WEIGHING" by JSON file as "super-admin-hochland" 2s 264ms
When Go to transport details "WEIGHING" 4s 809ms
Then Verify that discrepancy report section is not available 15s 080ms
After Hooks.deleteTransportAfterTest() 475ms
Scenario Outline Check if discrepancy report is properly generated
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 961ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 2s 907ms
When Go to "TRANSPORT_TABLE" 443ms
And Go to transport details "DELIVERY" 4s 870ms
And Change filled value in transport details "warehouseman" "select" "Dorosz Mieczysław" "0" 3s 842ms
And Change filled value in transport details "unloaded-stere" "text" "3" "0" 1s 541ms
And Open section: "discrepancy-report-panel" 1s 166ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 033ms
And Fill transport form 41s 028ms
And Fill discrepancy report section without closing the form 22s 290ms
And Generate discrepancy report 19s 424ms
And Download discrepancy report 393ms
Then Verify that discrepancy report file has correct values 15s 624ms
java.nio.file.NoSuchFileException: /home/teamcity/Downloads/53_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() 842ms
Scenario Outline Check if edited discrepancy report is properly generated
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 114ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 2s 833ms
When Go to "TRANSPORT_TABLE" 466ms
And Go to transport details "DELIVERY" 4s 883ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 033ms
And Fill transport form 40s 786ms
And Open section: "discrepancy-report-panel" 1s 166ms
And Fill discrepancy report section without closing the form 22s 220ms
And Generate discrepancy report 19s 427ms
And Download discrepancy report 370ms
And Verify that discrepancy report file has correct values 15s 640ms
java.nio.file.NoSuchFileException: /home/teamcity/Downloads/54_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() 862ms