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

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 37s 820ms Failed
Feature Transport Form - Discrepancy Report scenarios
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 530ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 2s 942ms
And Go to transport details "DELIVERY" 4s 981ms
When Open section: "discrepancy-report-panel" 1s 144ms
Then Verify that no discrepancies found label is visible in discrepancy report section 153ms
And Select "NIE" in the "insp.-accord.-with-ins." 2s 681ms
And Verify that discrepancy report custom fields are visible in discrepancy report section 238ms
After Hooks.deleteTransportAfterTest() 750ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 799ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 033ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 2s 889ms
And Go to transport details "DELIVERY" 4s 933ms
And Fill transport form 40s 534ms
And Click "save-transport-and-close" save button and wait for form to disappear 17s 533ms
When Go to transport details "DELIVERY" 4s 830ms
Then Select "NIE" in the "insp.-accord.-with-ins." 2s 693ms
And Click "save-transport" save button 896ms
And Wait "2" seconds 2s
And Verify that discrepancy report section is open 071ms
And Verify that discrepancy report section contains validation errors 062ms
After Hooks.deleteTransportAfterTest() 901ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 995ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 2s 864ms
When Go to transport details "DELIVERY" 4s 924ms
Then Verify that discrepancy report section is available 086ms
And Open section: "discrepancy-report-panel" 1s 150ms
And Verify that generate new discrepancy report button is visible 085ms
After Hooks.deleteTransportAfterTest() 713ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 746ms
And Create transport "CREATE_OWN_COLLECTION" by JSON file as "super-admin-hochland" 2s 718ms
When Go to transport details "OWN_COLLECTION" 4s 942ms
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 072ms
After Hooks.deleteTransportAfterTest() 799ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 925ms
And Create transport "CREATE_OWN_COLLECTION_POWDER_FACTORY" by JSON file as "super-admin-hochland" 2s 767ms
When Go to transport details "OWN_COLLECTION_POWDER_FACTORY" 4s 957ms
Then Verify that discrepancy report section is available 079ms
And Open section: "discrepancy-report-panel" 1s 144ms
And Verify that generate new discrepancy report button is visible 076ms
After Hooks.deleteTransportAfterTest() 836ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 880ms
And Create transport "CREATE_EXPORT" by JSON file as "super-admin-hochland" 2s 799ms
When Go to transport details "EXPORT" 5s 104ms
Then Verify that discrepancy report section is available 133ms
And Open section: "discrepancy-report-panel" 1s 257ms
And Verify that generate new discrepancy report button is visible 152ms
After Hooks.deleteTransportAfterTest() 977ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 071ms
And Create transport "CREATE_TRANSFER_BETWEEN_WAREHOUSES" by JSON file as "super-admin-hochland" 1s 924ms
When Go to transport details "TRANSFER_BETWEEN_WAREHOUSES" 4s 943ms
Then Verify that discrepancy report section is available 103ms
And Open section: "discrepancy-report-panel" 1s 162ms
And Verify that generate new discrepancy report button is visible 078ms
After Hooks.deleteTransportAfterTest() 498ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 826ms
And Create transport "CREATE_CISTERN_DELIVERY" by JSON file as "super-admin-hochland" 2s 617ms
When Go to transport details "CISTERN_DELIVERY" 4s 949ms
Then Verify that discrepancy report section is not available 15s 048ms
After Hooks.deleteTransportAfterTest() 763ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 989ms
And Create transport "CREATE_CISTERN_COLLECTION" by JSON file as "super-admin-hochland" 2s 533ms
When Go to transport details "CISTERN_COLLECTION" 4s 963ms
Then Verify that discrepancy report section is not available 15s 080ms
After Hooks.deleteTransportAfterTest() 739ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 956ms
And Create transport "CREATE_WEIGHING" by JSON file as "super-admin-hochland" 2s 309ms
When Go to transport details "WEIGHING" 4s 932ms
Then Verify that discrepancy report section is not available 15s 035ms
After Hooks.deleteTransportAfterTest() 506ms
Scenario Outline Check if discrepancy report is properly generated
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 195ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 2s 979ms
When Go to "TRANSPORT_TABLE" 467ms
And Go to transport details "DELIVERY" 4s 941ms
And Change filled value in transport details "warehouseman" "select" "Dorosz Mieczysław" "0" 3s 869ms
And Change filled value in transport details "unloaded-stere" "text" "3" "0" 1s 494ms
And Open section: "discrepancy-report-panel" 1s 153ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 034ms
And Fill transport form 40s 754ms
And Fill discrepancy report section without closing the form 22s 031ms
And Generate discrepancy report 19s 400ms
And Download discrepancy report 352ms
Then Verify that discrepancy report file has correct values 15s 791ms
java.nio.file.NoSuchFileException: /home/teamcity/Downloads/62_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() 779ms
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 047ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 2s 912ms
When Go to "TRANSPORT_TABLE" 471ms
And Go to transport details "DELIVERY" 4s 868ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 033ms
And Fill transport form 40s 915ms
And Open section: "discrepancy-report-panel" 1s 154ms
And Fill discrepancy report section without closing the form 22s 004ms
And Generate discrepancy report 19s 452ms
And Download discrepancy report 379ms
And Verify that discrepancy report file has correct values 15s 551ms
java.nio.file.NoSuchFileException: /home/teamcity/Downloads/63_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() 1s 006ms