Project Number Date
ApolloFullRunnerReport kapibary.24 01 cze 2021, 07:23

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 170ms Failed
Feature Transport Form - Discrepancy Report scenarios
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 147ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 2s 946ms
And Go to transport details "DELIVERY" 5s 030ms
When Open section: "discrepancy-report-panel" 1s 152ms
Then Verify that no discrepancies found label is visible in discrepancy report section 156ms
And Select "NIE" in the "insp.-accord.-with-ins." 2s 667ms
And Verify that discrepancy report custom fields are visible in discrepancy report section 236ms
After Hooks.deleteTransportAfterTest() 775ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 970ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 033ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 2s 896ms
And Go to transport details "DELIVERY" 4s 953ms
And Fill transport form 40s 550ms
And Click "save-transport-and-close" save button and wait for form to disappear 17s 455ms
When Go to transport details "DELIVERY" 4s 815ms
Then Select "NIE" in the "insp.-accord.-with-ins." 2s 713ms
And Click "save-transport" save button 874ms
And Wait "2" seconds 2s
And Verify that discrepancy report section is open 071ms
And Verify that discrepancy report section contains validation errors 069ms
After Hooks.deleteTransportAfterTest() 886ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 055ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 2s 763ms
When Go to transport details "DELIVERY" 4s 904ms
Then Verify that discrepancy report section is available 083ms
And Open section: "discrepancy-report-panel" 1s 129ms
And Verify that generate new discrepancy report button is visible 070ms
After Hooks.deleteTransportAfterTest() 660ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 823ms
And Create transport "CREATE_OWN_COLLECTION" by JSON file as "super-admin-hochland" 2s 750ms
When Go to transport details "OWN_COLLECTION" 4s 995ms
Then Verify that discrepancy report section is available 076ms
And Open section: "discrepancy-report-panel" 1s 136ms
And Verify that generate new discrepancy report button is visible 074ms
After Hooks.deleteTransportAfterTest() 724ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 906ms
And Create transport "CREATE_OWN_COLLECTION_POWDER_FACTORY" by JSON file as "super-admin-hochland" 2s 705ms
When Go to transport details "OWN_COLLECTION_POWDER_FACTORY" 5s 014ms
Then Verify that discrepancy report section is available 078ms
And Open section: "discrepancy-report-panel" 1s 138ms
And Verify that generate new discrepancy report button is visible 078ms
After Hooks.deleteTransportAfterTest() 848ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 843ms
And Create transport "CREATE_EXPORT" by JSON file as "super-admin-hochland" 2s 811ms
When Go to transport details "EXPORT" 5s 071ms
Then Verify that discrepancy report section is available 138ms
And Open section: "discrepancy-report-panel" 1s 284ms
And Verify that generate new discrepancy report button is visible 098ms
After Hooks.deleteTransportAfterTest() 1s 026ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 216ms
And Create transport "CREATE_TRANSFER_BETWEEN_WAREHOUSES" by JSON file as "super-admin-hochland" 1s 904ms
When Go to transport details "TRANSFER_BETWEEN_WAREHOUSES" 4s 967ms
Then Verify that discrepancy report section is available 097ms
And Open section: "discrepancy-report-panel" 1s 145ms
And Verify that generate new discrepancy report button is visible 076ms
After Hooks.deleteTransportAfterTest() 473ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 648ms
And Create transport "CREATE_CISTERN_DELIVERY" by JSON file as "super-admin-hochland" 2s 534ms
When Go to transport details "CISTERN_DELIVERY" 4s 814ms
Then Verify that discrepancy report section is not available 15s 025ms
After Hooks.deleteTransportAfterTest() 731ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 117ms
And Create transport "CREATE_CISTERN_COLLECTION" by JSON file as "super-admin-hochland" 2s 575ms
When Go to transport details "CISTERN_COLLECTION" 4s 931ms
Then Verify that discrepancy report section is not available 15s 055ms
After Hooks.deleteTransportAfterTest() 691ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 988ms
And Create transport "CREATE_WEIGHING" by JSON file as "super-admin-hochland" 2s 171ms
When Go to transport details "WEIGHING" 4s 902ms
Then Verify that discrepancy report section is not available 15s 034ms
After Hooks.deleteTransportAfterTest() 505ms
Scenario Outline Check if discrepancy report is properly generated
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 196ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 2s 956ms
When Go to "TRANSPORT_TABLE" 466ms
And Go to transport details "DELIVERY" 4s 890ms
And Change filled value in transport details "warehouseman" "select" "Dorosz Mieczysław" "0" 3s 854ms
And Change filled value in transport details "unloaded-stere" "text" "3" "0" 1s 509ms
And Open section: "discrepancy-report-panel" 1s 154ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 033ms
And Fill transport form 40s 531ms
And Fill discrepancy report section without closing the form 22s 168ms
And Generate discrepancy report 19s 488ms
And Download discrepancy report 372ms
Then Verify that discrepancy report file has correct values 15s 682ms
java.nio.file.NoSuchFileException: /home/teamcity/Downloads/68_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() 841ms
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 111ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 2s 951ms
When Go to "TRANSPORT_TABLE" 497ms
And Go to transport details "DELIVERY" 4s 876ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 033ms
And Fill transport form 40s 614ms
And Open section: "discrepancy-report-panel" 1s 126ms
And Fill discrepancy report section without closing the form 22s 146ms
And Generate discrepancy report 19s 522ms
And Download discrepancy report 390ms
And Verify that discrepancy report file has correct values 15s 608ms
java.nio.file.NoSuchFileException: /home/teamcity/Downloads/69_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() 800ms