Project Number Date
ApolloFullRunnerReport apollo-test-2.52 23 cze 2021, 05:41

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Transport Form - Discrepancy Report scenarios 82 3 4 0 0 89 9 3 12 7m 41s 616ms Failed
Feature Transport Form - Discrepancy Report scenarios
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 059ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 3s 182ms
And Go to transport details "DELIVERY" 4s 894ms
When Open section: "discrepancy-report-panel" 1s 161ms
Then Verify that no discrepancies found label is visible in discrepancy report section 183ms
And Select "NIE" in the "insp.-accord.-with-ins." 2s 686ms
And Verify that discrepancy report custom fields are visible in discrepancy report section 265ms
After Hooks.deleteTransportAfterTest() 924ms
Scenario Outline Check if discrepancy report section will open with validation errors
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 998ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 033ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 2s 962ms
And Go to transport details "DELIVERY" 4s 883ms
And Fill transport form 40s 504ms
And Click "save-transport-and-close" save button and wait for form to disappear 18s 061ms
When Go to transport details "DELIVERY" 4s 873ms
Then Select "NIE" in the "insp.-accord.-with-ins." 2s 625ms
And Click "save-transport" save button 849ms
And Wait "2" seconds 2s
And Verify that discrepancy report section is open 076ms
And Verify that discrepancy report section contains validation errors 063ms
java.lang.AssertionError: Sekcja: Protokół Niezgodności nie posiada klasy 'has-error'!
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at CucumberTests.Transport.TransportFormTest.verifyThatDiscrepancyReportSectionContainsValidationErrors(TransportFormTest.java:178)
	at ✽.Verify that discrepancy report section contains validation errors(file:Features/Atom/Transport/TransportForm/DiscrepancyReport.feature:29)
After Hooks.deleteTransportAfterTest() 973ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 054ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 3s 055ms
When Go to transport details "DELIVERY" 4s 879ms
Then Verify that discrepancy report section is available 097ms
And Open section: "discrepancy-report-panel" 1s 154ms
And Verify that generate new discrepancy report button is visible 087ms
After Hooks.deleteTransportAfterTest() 918ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 924ms
And Create transport "CREATE_OWN_COLLECTION" by JSON file as "super-admin-hochland" 2s 929ms
When Go to transport details "OWN_COLLECTION" 4s 934ms
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 074ms
After Hooks.deleteTransportAfterTest() 905ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 914ms
And Create transport "CREATE_OWN_COLLECTION_POWDER_FACTORY" by JSON file as "super-admin-hochland" 2s 988ms
When Go to transport details "OWN_COLLECTION_POWDER_FACTORY" 4s 898ms
Then Verify that discrepancy report section is available 080ms
And Open section: "discrepancy-report-panel" 1s 139ms
And Verify that generate new discrepancy report button is visible 086ms
After Hooks.deleteTransportAfterTest() 927ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 865ms
And Create transport "CREATE_EXPORT" by JSON file as "super-admin-hochland" 3s 005ms
When Go to transport details "EXPORT" 4s 980ms
Then Verify that discrepancy report section is available 250ms
And Open section: "discrepancy-report-panel" 1s 400ms
And Verify that generate new discrepancy report button is visible 189ms
After Hooks.deleteTransportAfterTest() 1s 330ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 391ms
And Create transport "CREATE_TRANSFER_BETWEEN_WAREHOUSES" by JSON file as "super-admin-hochland" 1s 923ms
When Go to transport details "TRANSFER_BETWEEN_WAREHOUSES" 5s 033ms
Then Verify that discrepancy report section is available 067ms
And Open section: "discrepancy-report-panel" 1s 137ms
And Verify that generate new discrepancy report button is visible 077ms
After Hooks.deleteTransportAfterTest() 543ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 900ms
And Create transport "CREATE_CISTERN_DELIVERY" by JSON file as "super-admin-hochland" 2s 742ms
When Go to transport details "CISTERN_DELIVERY" 4s 897ms
Then Verify that discrepancy report section is not available 15s 035ms
After Hooks.deleteTransportAfterTest() 737ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 156ms
And Create transport "CREATE_CISTERN_COLLECTION" by JSON file as "super-admin-hochland" 2s 664ms
When Go to transport details "CISTERN_COLLECTION" 4s 859ms
Then Verify that discrepancy report section is not available 15s 028ms
After Hooks.deleteTransportAfterTest() 885ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 864ms
And Create transport "CREATE_WEIGHING" by JSON file as "super-admin-hochland" 2s 236ms
When Go to transport details "WEIGHING" 4s 785ms
Then Verify that discrepancy report section is not available 15s 048ms
After Hooks.deleteTransportAfterTest() 638ms
Scenario Outline Check if discrepancy report is properly generated
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 081ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 3s 150ms
When Go to "TRANSPORT_TABLE" 418ms
And Go to transport details "DELIVERY" 4s 888ms
And Change filled value in transport details "warehouseman" "select" "Dorosz Mieczysław" "0" 3s 848ms
And Change filled value in transport details "unloaded-stere" "text" "3" "0" 1s 536ms
And Open section: "discrepancy-report-panel" 1s 157ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 034ms
And Fill transport form 40s 567ms
And Fill discrepancy report section without closing the form 22s 233ms
And Generate discrepancy report 20s 482ms
And Download discrepancy report 384ms
Then Verify that discrepancy report file has correct values 15s 761ms
java.nio.file.NoSuchFileException: /home/teamcity/Downloads/55_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() 956ms
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 190ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 3s 190ms
When Go to "TRANSPORT_TABLE" 442ms
And Go to transport details "DELIVERY" 4s 881ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 034ms
And Fill transport form 40s 401ms
And Open section: "discrepancy-report-panel" 1s 151ms
And Fill discrepancy report section without closing the form 22s 224ms
And Generate discrepancy report 19s 876ms
And Download discrepancy report 392ms
And Verify that discrepancy report file has correct values 15s 835ms
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: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() 920ms