Project Number Date
ApolloFullRunnerReport apollo-test-2.53 24 cze 2021, 06:22

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 40s 409ms Failed
Feature Transport Form - Discrepancy Report scenarios
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 224ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 3s 152ms
And Go to transport details "DELIVERY" 4s 895ms
When Open section: "discrepancy-report-panel" 1s 155ms
Then Verify that no discrepancies found label is visible in discrepancy report section 163ms
And Select "NIE" in the "insp.-accord.-with-ins." 2s 691ms
And Verify that discrepancy report custom fields are visible in discrepancy report section 237ms
After Hooks.deleteTransportAfterTest() 915ms
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 992ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 035ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 3s 164ms
And Go to transport details "DELIVERY" 4s 874ms
And Fill transport form 40s 392ms
And Click "save-transport-and-close" save button and wait for form to disappear 18s 036ms
When Go to transport details "DELIVERY" 4s 820ms
Then Select "NIE" in the "insp.-accord.-with-ins." 2s 644ms
And Click "save-transport" save button 884ms
And Wait "2" seconds 2s
And Verify that discrepancy report section is open 074ms
And Verify that discrepancy report section contains validation errors 064ms
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() 849ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 101ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 2s 925ms
When Go to transport details "DELIVERY" 4s 883ms
Then Verify that discrepancy report section is available 103ms
And Open section: "discrepancy-report-panel" 1s 149ms
And Verify that generate new discrepancy report button is visible 076ms
After Hooks.deleteTransportAfterTest() 848ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 873ms
And Create transport "CREATE_OWN_COLLECTION" by JSON file as "super-admin-hochland" 2s 725ms
When Go to transport details "OWN_COLLECTION" 4s 977ms
Then Verify that discrepancy report section is available 082ms
And Open section: "discrepancy-report-panel" 1s 151ms
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" 2s 865ms
And Create transport "CREATE_OWN_COLLECTION_POWDER_FACTORY" by JSON file as "super-admin-hochland" 2s 832ms
When Go to transport details "OWN_COLLECTION_POWDER_FACTORY" 4s 931ms
Then Verify that discrepancy report section is available 073ms
And Open section: "discrepancy-report-panel" 1s 145ms
And Verify that generate new discrepancy report button is visible 069ms
After Hooks.deleteTransportAfterTest() 899ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 951ms
And Create transport "CREATE_EXPORT" by JSON file as "super-admin-hochland" 3s 068ms
When Go to transport details "EXPORT" 5s 008ms
Then Verify that discrepancy report section is available 196ms
And Open section: "discrepancy-report-panel" 1s 281ms
And Verify that generate new discrepancy report button is visible 165ms
After Hooks.deleteTransportAfterTest() 1s 709ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 548ms
And Create transport "CREATE_TRANSFER_BETWEEN_WAREHOUSES" by JSON file as "super-admin-hochland" 2s 005ms
When Go to transport details "TRANSFER_BETWEEN_WAREHOUSES" 4s 911ms
Then Verify that discrepancy report section is available 074ms
And Open section: "discrepancy-report-panel" 1s 123ms
And Verify that generate new discrepancy report button is visible 069ms
After Hooks.deleteTransportAfterTest() 485ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 677ms
And Create transport "CREATE_CISTERN_DELIVERY" by JSON file as "super-admin-hochland" 2s 590ms
When Go to transport details "CISTERN_DELIVERY" 4s 882ms
Then Verify that discrepancy report section is not available 15s 056ms
After Hooks.deleteTransportAfterTest() 808ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 125ms
And Create transport "CREATE_CISTERN_COLLECTION" by JSON file as "super-admin-hochland" 2s 690ms
When Go to transport details "CISTERN_COLLECTION" 4s 992ms
Then Verify that discrepancy report section is not available 15s 037ms
After Hooks.deleteTransportAfterTest() 957ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 264ms
And Create transport "CREATE_WEIGHING" by JSON file as "super-admin-hochland" 2s 218ms
When Go to transport details "WEIGHING" 4s 741ms
Then Verify that discrepancy report section is not available 15s 035ms
After Hooks.deleteTransportAfterTest() 652ms
Scenario Outline Check if discrepancy report is properly generated
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 108ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 3s 109ms
When Go to "TRANSPORT_TABLE" 386ms
And Go to transport details "DELIVERY" 4s 931ms
And Change filled value in transport details "warehouseman" "select" "Dorosz Mieczysław" "0" 3s 869ms
And Change filled value in transport details "unloaded-stere" "text" "3" "0" 1s 549ms
And Open section: "discrepancy-report-panel" 1s 157ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 035ms
And Fill transport form 40s 417ms
And Fill discrepancy report section without closing the form 22s 263ms
And Generate discrepancy report 20s 095ms
And Download discrepancy report 305ms
Then Verify that discrepancy report file has correct values 15s 647ms
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:76)
After Hooks.deleteTransportAfterTest() 878ms
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 066ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 3s 104ms
When Go to "TRANSPORT_TABLE" 388ms
And Go to transport details "DELIVERY" 4s 964ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 034ms
And Fill transport form 40s 639ms
And Open section: "discrepancy-report-panel" 1s 138ms
And Fill discrepancy report section without closing the form 21s 960ms
And Generate discrepancy report 19s 885ms
And Download discrepancy report 356ms
And Verify that discrepancy report file has correct values 15s 723ms
java.nio.file.NoSuchFileException: /home/teamcity/Downloads/58_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() 814ms