Project Number Date
ApolloFullRunnerReport kapibary.30 07 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 43s 864ms Failed
Feature Transport Form - Discrepancy Report scenarios
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 127ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 3s 078ms
And Go to transport details "DELIVERY" 5s 103ms
When Open section: "discrepancy-report-panel" 1s 171ms
Then Verify that no discrepancies found label is visible in discrepancy report section 185ms
And Select "NIE" in the "insp.-accord.-with-ins." 2s 724ms
And Verify that discrepancy report custom fields are visible in discrepancy report section 261ms
After Hooks.deleteTransportAfterTest() 753ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 346ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 033ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 2s 858ms
And Go to transport details "DELIVERY" 4s 947ms
And Fill transport form 41s 147ms
And Click "save-transport-and-close" save button and wait for form to disappear 17s 550ms
When Go to transport details "DELIVERY" 4s 880ms
Then Select "NIE" in the "insp.-accord.-with-ins." 2s 761ms
And Click "save-transport" save button 894ms
And Wait "2" seconds 2s
And Verify that discrepancy report section is open 074ms
And Verify that discrepancy report section contains validation errors 068ms
After Hooks.deleteTransportAfterTest() 992ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 112ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 2s 852ms
When Go to transport details "DELIVERY" 4s 879ms
Then Verify that discrepancy report section is available 090ms
And Open section: "discrepancy-report-panel" 1s 152ms
And Verify that generate new discrepancy report button is visible 092ms
After Hooks.deleteTransportAfterTest() 772ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 944ms
And Create transport "CREATE_OWN_COLLECTION" by JSON file as "super-admin-hochland" 2s 945ms
When Go to transport details "OWN_COLLECTION" 4s 865ms
Then Verify that discrepancy report section is available 086ms
And Open section: "discrepancy-report-panel" 1s 165ms
And Verify that generate new discrepancy report button is visible 082ms
After Hooks.deleteTransportAfterTest() 722ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 981ms
And Create transport "CREATE_OWN_COLLECTION_POWDER_FACTORY" by JSON file as "super-admin-hochland" 2s 736ms
When Go to transport details "OWN_COLLECTION_POWDER_FACTORY" 5s
Then Verify that discrepancy report section is available 083ms
And Open section: "discrepancy-report-panel" 1s 146ms
And Verify that generate new discrepancy report button is visible 075ms
After Hooks.deleteTransportAfterTest() 904ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 068ms
And Create transport "CREATE_EXPORT" by JSON file as "super-admin-hochland" 2s 846ms
When Go to transport details "EXPORT" 5s 010ms
Then Verify that discrepancy report section is available 115ms
And Open section: "discrepancy-report-panel" 1s 304ms
And Verify that generate new discrepancy report button is visible 208ms
After Hooks.deleteTransportAfterTest() 1s 116ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 412ms
And Create transport "CREATE_TRANSFER_BETWEEN_WAREHOUSES" by JSON file as "super-admin-hochland" 1s 907ms
When Go to transport details "TRANSFER_BETWEEN_WAREHOUSES" 4s 927ms
Then Verify that discrepancy report section is available 174ms
And Open section: "discrepancy-report-panel" 1s 167ms
And Verify that generate new discrepancy report button is visible 089ms
After Hooks.deleteTransportAfterTest() 516ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 949ms
And Create transport "CREATE_CISTERN_DELIVERY" by JSON file as "super-admin-hochland" 2s 668ms
When Go to transport details "CISTERN_DELIVERY" 4s 972ms
Then Verify that discrepancy report section is not available 15s 084ms
After Hooks.deleteTransportAfterTest() 774ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 138ms
And Create transport "CREATE_CISTERN_COLLECTION" by JSON file as "super-admin-hochland" 2s 552ms
When Go to transport details "CISTERN_COLLECTION" 4s 953ms
Then Verify that discrepancy report section is not available 15s 045ms
After Hooks.deleteTransportAfterTest() 758ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 107ms
And Create transport "CREATE_WEIGHING" by JSON file as "super-admin-hochland" 2s 243ms
When Go to transport details "WEIGHING" 4s 870ms
Then Verify that discrepancy report section is not available 15s 066ms
After Hooks.deleteTransportAfterTest() 545ms
Scenario Outline Check if discrepancy report is properly generated
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 951ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 2s 891ms
When Go to "TRANSPORT_TABLE" 456ms
And Go to transport details "DELIVERY" 4s 881ms
And Change filled value in transport details "warehouseman" "select" "Dorosz Mieczysław" "0" 3s 873ms
And Change filled value in transport details "unloaded-stere" "text" "3" "0" 1s 534ms
And Open section: "discrepancy-report-panel" 1s 174ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 032ms
And Fill transport form 41s 297ms
And Fill discrepancy report section without closing the form 22s 441ms
And Generate discrepancy report 21s 059ms
And Download discrepancy report 397ms
Then Verify that discrepancy report file has correct values 15s 664ms
java.nio.file.NoSuchFileException: /home/teamcity/Downloads/80_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() 851ms
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 293ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 2s 861ms
When Go to "TRANSPORT_TABLE" 437ms
And Go to transport details "DELIVERY" 4s 892ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 032ms
And Fill transport form 40s 893ms
And Open section: "discrepancy-report-panel" 1s 164ms
And Fill discrepancy report section without closing the form 22s 561ms
And Generate discrepancy report 19s 394ms
And Download discrepancy report 361ms
And Verify that discrepancy report file has correct values 15s 915ms
java.nio.file.NoSuchFileException: /home/teamcity/Downloads/81_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() 846ms