Project Number Date
ApolloFullRunnerReport kapibary.23 31 maj 2021, 07:26

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 25s 339ms Failed
Feature Transport Form - Discrepancy Report scenarios
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 149ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 2s 904ms
And Go to transport details "DELIVERY" 5s 016ms
When Open section: "discrepancy-report-panel" 1s 148ms
Then Verify that no discrepancies found label is visible in discrepancy report section 137ms
And Select "NIE" in the "insp.-accord.-with-ins." 2s 665ms
And Verify that discrepancy report custom fields are visible in discrepancy report section 234ms
After Hooks.deleteTransportAfterTest() 779ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 965ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 034ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 2s 987ms
And Go to transport details "DELIVERY" 4s 938ms
And Fill transport form 40s 642ms
And Click "save-transport-and-close" save button and wait for form to disappear 2s 587ms
When Go to transport details "DELIVERY" 4s 814ms
Then Select "NIE" in the "insp.-accord.-with-ins." 2s 698ms
And Click "save-transport" save button 910ms
And Wait "2" seconds 2s
And Verify that discrepancy report section is open 064ms
And Verify that discrepancy report section contains validation errors 064ms
After Hooks.deleteTransportAfterTest() 921ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 039ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 2s 922ms
When Go to transport details "DELIVERY" 4s 994ms
Then Verify that discrepancy report section is available 087ms
And Open section: "discrepancy-report-panel" 1s 141ms
And Verify that generate new discrepancy report button is visible 087ms
After Hooks.deleteTransportAfterTest() 769ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 886ms
And Create transport "CREATE_OWN_COLLECTION" by JSON file as "super-admin-hochland" 2s 722ms
When Go to transport details "OWN_COLLECTION" 4s 954ms
Then Verify that discrepancy report section is available 088ms
And Open section: "discrepancy-report-panel" 1s 153ms
And Verify that generate new discrepancy report button is visible 077ms
After Hooks.deleteTransportAfterTest() 680ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 833ms
And Create transport "CREATE_OWN_COLLECTION_POWDER_FACTORY" by JSON file as "super-admin-hochland" 2s 604ms
When Go to transport details "OWN_COLLECTION_POWDER_FACTORY" 4s 977ms
Then Verify that discrepancy report section is available 100ms
And Open section: "discrepancy-report-panel" 1s 122ms
And Verify that generate new discrepancy report button is visible 067ms
After Hooks.deleteTransportAfterTest() 761ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 954ms
And Create transport "CREATE_EXPORT" by JSON file as "super-admin-hochland" 2s 907ms
When Go to transport details "EXPORT" 5s 137ms
Then Verify that discrepancy report section is available 190ms
And Open section: "discrepancy-report-panel" 1s 431ms
And Verify that generate new discrepancy report button is visible 171ms
After Hooks.deleteTransportAfterTest() 1s 251ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 451ms
And Create transport "CREATE_TRANSFER_BETWEEN_WAREHOUSES" by JSON file as "super-admin-hochland" 1s 932ms
When Go to transport details "TRANSFER_BETWEEN_WAREHOUSES" 5s 019ms
Then Verify that discrepancy report section is available 089ms
And Open section: "discrepancy-report-panel" 1s 144ms
And Verify that generate new discrepancy report button is visible 078ms
After Hooks.deleteTransportAfterTest() 511ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 868ms
And Create transport "CREATE_CISTERN_DELIVERY" by JSON file as "super-admin-hochland" 2s 669ms
When Go to transport details "CISTERN_DELIVERY" 5s 027ms
Then Verify that discrepancy report section is not available 15s 035ms
After Hooks.deleteTransportAfterTest() 791ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 043ms
And Create transport "CREATE_CISTERN_COLLECTION" by JSON file as "super-admin-hochland" 2s 530ms
When Go to transport details "CISTERN_COLLECTION" 4s 846ms
Then Verify that discrepancy report section is not available 15s 050ms
After Hooks.deleteTransportAfterTest() 734ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 990ms
And Create transport "CREATE_WEIGHING" by JSON file as "super-admin-hochland" 2s 199ms
When Go to transport details "WEIGHING" 4s 900ms
Then Verify that discrepancy report section is not available 15s 082ms
After Hooks.deleteTransportAfterTest() 611ms
Scenario Outline Check if discrepancy report is properly generated
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 941ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 2s 880ms
When Go to "TRANSPORT_TABLE" 435ms
And Go to transport details "DELIVERY" 4s 830ms
And Change filled value in transport details "warehouseman" "select" "Dorosz Mieczysław" "0" 3s 793ms
And Change filled value in transport details "unloaded-stere" "text" "3" "0" 1s 549ms
And Open section: "discrepancy-report-panel" 1s 158ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 033ms
And Fill transport form 40s 814ms
And Fill discrepancy report section without closing the form 22s 180ms
And Generate discrepancy report 19s 477ms
And Download discrepancy report 359ms
Then Verify that discrepancy report file has correct values 15s 653ms
java.nio.file.NoSuchFileException: /home/teamcity/Downloads/65_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() 867ms
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 339ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 2s 893ms
When Go to "TRANSPORT_TABLE" 469ms
And Go to transport details "DELIVERY" 4s 903ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 033ms
And Fill transport form 40s 790ms
And Open section: "discrepancy-report-panel" 1s 157ms
And Fill discrepancy report section without closing the form 22s 442ms
And Generate discrepancy report 20s 548ms
And Download discrepancy report 370ms
And Verify that discrepancy report file has correct values 15s 704ms
java.nio.file.NoSuchFileException: /home/teamcity/Downloads/66_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() 886ms