Project Number Date
ApolloFullRunnerReport kapibary.20 28 maj 2021, 07:28

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 40s 724ms Failed
Feature Transport Form - Discrepancy Report scenarios
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 421ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 2s 901ms
And Go to transport details "DELIVERY" 4s 973ms
When Open section: "discrepancy-report-panel" 1s 159ms
Then Verify that no discrepancies found label is visible in discrepancy report section 161ms
And Select "NIE" in the "insp.-accord.-with-ins." 2s 684ms
And Verify that discrepancy report custom fields are visible in discrepancy report section 264ms
After Hooks.deleteTransportAfterTest() 761ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 914ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 033ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 3s 110ms
And Go to transport details "DELIVERY" 4s 928ms
And Fill transport form 40s 601ms
And Click "save-transport-and-close" save button and wait for form to disappear 17s 479ms
When Go to transport details "DELIVERY" 4s 788ms
Then Select "NIE" in the "insp.-accord.-with-ins." 2s 625ms
And Click "save-transport" save button 904ms
And Wait "2" seconds 2s
And Verify that discrepancy report section is open 067ms
And Verify that discrepancy report section contains validation errors 066ms
After Hooks.deleteTransportAfterTest() 1s 139ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 032ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 2s 908ms
When Go to transport details "DELIVERY" 4s 975ms
Then Verify that discrepancy report section is available 078ms
And Open section: "discrepancy-report-panel" 1s 132ms
And Verify that generate new discrepancy report button is visible 081ms
After Hooks.deleteTransportAfterTest() 765ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 931ms
And Create transport "CREATE_OWN_COLLECTION" by JSON file as "super-admin-hochland" 2s 728ms
When Go to transport details "OWN_COLLECTION" 4s 920ms
Then Verify that discrepancy report section is available 088ms
And Open section: "discrepancy-report-panel" 1s 151ms
And Verify that generate new discrepancy report button is visible 077ms
After Hooks.deleteTransportAfterTest() 736ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 822ms
And Create transport "CREATE_OWN_COLLECTION_POWDER_FACTORY" by JSON file as "super-admin-hochland" 2s 719ms
When Go to transport details "OWN_COLLECTION_POWDER_FACTORY" 5s 008ms
Then Verify that discrepancy report section is available 095ms
And Open section: "discrepancy-report-panel" 1s 157ms
And Verify that generate new discrepancy report button is visible 080ms
After Hooks.deleteTransportAfterTest() 826ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 856ms
And Create transport "CREATE_EXPORT" by JSON file as "super-admin-hochland" 2s 788ms
When Go to transport details "EXPORT" 5s 073ms
Then Verify that discrepancy report section is available 190ms
And Open section: "discrepancy-report-panel" 1s 316ms
And Verify that generate new discrepancy report button is visible 124ms
After Hooks.deleteTransportAfterTest() 1s 102ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 022ms
And Create transport "CREATE_TRANSFER_BETWEEN_WAREHOUSES" by JSON file as "super-admin-hochland" 1s 883ms
When Go to transport details "TRANSFER_BETWEEN_WAREHOUSES" 4s 968ms
Then Verify that discrepancy report section is available 080ms
And Open section: "discrepancy-report-panel" 1s 140ms
And Verify that generate new discrepancy report button is visible 073ms
After Hooks.deleteTransportAfterTest() 514ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 854ms
And Create transport "CREATE_CISTERN_DELIVERY" by JSON file as "super-admin-hochland" 2s 684ms
When Go to transport details "CISTERN_DELIVERY" 4s 944ms
Then Verify that discrepancy report section is not available 15s 054ms
After Hooks.deleteTransportAfterTest() 838ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 110ms
And Create transport "CREATE_CISTERN_COLLECTION" by JSON file as "super-admin-hochland" 2s 629ms
When Go to transport details "CISTERN_COLLECTION" 4s 929ms
Then Verify that discrepancy report section is not available 15s 095ms
After Hooks.deleteTransportAfterTest() 716ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 879ms
And Create transport "CREATE_WEIGHING" by JSON file as "super-admin-hochland" 2s 285ms
When Go to transport details "WEIGHING" 4s 853ms
Then Verify that discrepancy report section is not available 15s 061ms
After Hooks.deleteTransportAfterTest() 515ms
Scenario Outline Check if discrepancy report is properly generated
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 014ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 2s 911ms
When Go to "TRANSPORT_TABLE" 434ms
And Go to transport details "DELIVERY" 4s 889ms
And Change filled value in transport details "warehouseman" "select" "Dorosz Mieczysław" "0" 3s 839ms
And Change filled value in transport details "unloaded-stere" "text" "3" "0" 1s 570ms
And Open section: "discrepancy-report-panel" 1s 168ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 045ms
And Fill transport form 40s 646ms
And Fill discrepancy report section without closing the form 22s 250ms
And Generate discrepancy report 20s 598ms
And Download discrepancy report 333ms
Then Verify that discrepancy report file has correct values 15s 930ms
java.nio.file.NoSuchFileException: /home/teamcity/Downloads/56_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() 839ms
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 057ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 2s 873ms
When Go to "TRANSPORT_TABLE" 462ms
And Go to transport details "DELIVERY" 4s 878ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 037ms
And Fill transport form 40s 573ms
And Open section: "discrepancy-report-panel" 1s 164ms
And Fill discrepancy report section without closing the form 22s 306ms
And Generate discrepancy report 20s 583ms
And Download discrepancy report 375ms
And Verify that discrepancy report file has correct values 15s 800ms
java.nio.file.NoSuchFileException: /home/teamcity/Downloads/57_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() 861ms