Project Number Date
ApolloFullRunnerReport apollo-test-2.46 19 cze 2021, 05:43

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 102ms Failed
Feature Transport Form - Discrepancy Report scenarios
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 996ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 2s 987ms
And Go to transport details "DELIVERY" 4s 859ms
When Open section: "discrepancy-report-panel" 1s 121ms
Then Verify that no discrepancies found label is visible in discrepancy report section 130ms
And Select "NIE" in the "insp.-accord.-with-ins." 2s 607ms
And Verify that discrepancy report custom fields are visible in discrepancy report section 272ms
After Hooks.deleteTransportAfterTest() 912ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 836ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 035ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 3s 068ms
And Go to transport details "DELIVERY" 4s 895ms
And Fill transport form 40s 715ms
And Click "save-transport-and-close" save button and wait for form to disappear 17s 553ms
When Go to transport details "DELIVERY" 4s 920ms
Then Select "NIE" in the "insp.-accord.-with-ins." 2s 680ms
And Click "save-transport" save button 903ms
And Wait "2" seconds 2s
And Verify that discrepancy report section is open 064ms
And Verify that discrepancy report section contains validation errors 062ms
After Hooks.deleteTransportAfterTest() 805ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 993ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 2s 924ms
When Go to transport details "DELIVERY" 4s 869ms
Then Verify that discrepancy report section is available 072ms
And Open section: "discrepancy-report-panel" 1s 125ms
And Verify that generate new discrepancy report button is visible 076ms
After Hooks.deleteTransportAfterTest() 888ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 634ms
And Create transport "CREATE_OWN_COLLECTION" by JSON file as "super-admin-hochland" 2s 932ms
When Go to transport details "OWN_COLLECTION" 4s 974ms
Then Verify that discrepancy report section is available 078ms
And Open section: "discrepancy-report-panel" 1s 134ms
And Verify that generate new discrepancy report button is visible 067ms
After Hooks.deleteTransportAfterTest() 709ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 761ms
And Create transport "CREATE_OWN_COLLECTION_POWDER_FACTORY" by JSON file as "super-admin-hochland" 2s 673ms
When Go to transport details "OWN_COLLECTION_POWDER_FACTORY" 5s 026ms
Then Verify that discrepancy report section is available 066ms
And Open section: "discrepancy-report-panel" 1s 125ms
And Verify that generate new discrepancy report button is visible 081ms
After Hooks.deleteTransportAfterTest() 782ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 886ms
And Create transport "CREATE_EXPORT" by JSON file as "super-admin-hochland" 3s 088ms
When Go to transport details "EXPORT" 5s 094ms
Then Verify that discrepancy report section is available 112ms
And Open section: "discrepancy-report-panel" 1s 245ms
And Verify that generate new discrepancy report button is visible 140ms
After Hooks.deleteTransportAfterTest() 1s 131ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 905ms
And Create transport "CREATE_TRANSFER_BETWEEN_WAREHOUSES" by JSON file as "super-admin-hochland" 1s 945ms
When Go to transport details "TRANSFER_BETWEEN_WAREHOUSES" 4s 947ms
Then Verify that discrepancy report section is available 087ms
And Open section: "discrepancy-report-panel" 1s 142ms
And Verify that generate new discrepancy report button is visible 082ms
After Hooks.deleteTransportAfterTest() 576ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 869ms
And Create transport "CREATE_CISTERN_DELIVERY" by JSON file as "super-admin-hochland" 2s 736ms
When Go to transport details "CISTERN_DELIVERY" 4s 897ms
Then Verify that discrepancy report section is not available 15s 046ms
After Hooks.deleteTransportAfterTest() 800ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 876ms
And Create transport "CREATE_CISTERN_COLLECTION" by JSON file as "super-admin-hochland" 2s 497ms
When Go to transport details "CISTERN_COLLECTION" 4s 845ms
Then Verify that discrepancy report section is not available 15s 038ms
After Hooks.deleteTransportAfterTest() 868ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 055ms
And Create transport "CREATE_WEIGHING" by JSON file as "super-admin-hochland" 2s 169ms
When Go to transport details "WEIGHING" 4s 874ms
Then Verify that discrepancy report section is not available 15s 064ms
After Hooks.deleteTransportAfterTest() 634ms
Scenario Outline Check if discrepancy report is properly generated
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 020ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 3s
When Go to "TRANSPORT_TABLE" 368ms
And Go to transport details "DELIVERY" 4s 893ms
And Change filled value in transport details "warehouseman" "select" "Dorosz Mieczysław" "0" 3s 778ms
And Change filled value in transport details "unloaded-stere" "text" "3" "0" 1s 541ms
And Open section: "discrepancy-report-panel" 1s 175ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 034ms
And Fill transport form 40s 988ms
And Fill discrepancy report section without closing the form 21s 950ms
And Generate discrepancy report 19s 858ms
And Download discrepancy report 363ms
Then Verify that discrepancy report file has correct values 15s 597ms
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() 875ms
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 014ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 3s 026ms
When Go to "TRANSPORT_TABLE" 386ms
And Go to transport details "DELIVERY" 4s 842ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 038ms
And Fill transport form 40s 589ms
And Open section: "discrepancy-report-panel" 1s 153ms
And Fill discrepancy report section without closing the form 22s 026ms
And Generate discrepancy report 19s 339ms
And Download discrepancy report 372ms
And Verify that discrepancy report file has correct values 15s 754ms
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() 863ms