Project Number Date
ApolloFullRunnerReport develop.279 23 sty 2021, 04:40

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 6m 28s 361ms Failed
Feature Transport Form - Discrepancy Report scenarios
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 517ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 369ms
And Go to transport details "DELIVERY" 4s 682ms
When Open section: "discrepancy-report-panel" 1s 080ms
Then Verify that no discrepancies found label is visible in discrepancy report section 069ms
And Select "NIE" in the "insp.-accord.-with-ins." 2s 460ms
And Verify that discrepancy report custom fields are visible in discrepancy report section 105ms
After Hooks.deleteTransportAfterTest() 112ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 367ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 001ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 340ms
And Go to transport details "DELIVERY" 4s 608ms
And Fill transport form 36s 072ms
And Click "save-transport-and-close" save button and wait for form to disappear 16s 174ms
When Go to transport details "DELIVERY" 4s 393ms
Then Select "NIE" in the "insp.-accord.-with-ins." 2s 438ms
And Click "save-transport" save button 706ms
And Wait "2" seconds 2s
And Verify that discrepancy report section is open 029ms
And Verify that discrepancy report section contains validation errors 019ms
After Hooks.deleteTransportAfterTest() 151ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 500ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 392ms
When Go to transport details "DELIVERY" 4s 752ms
Then Verify that discrepancy report section is available 036ms
And Open section: "discrepancy-report-panel" 1s 057ms
And Verify that generate new discrepancy report button is visible 035ms
After Hooks.deleteTransportAfterTest() 119ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 365ms
And Create transport "CREATE_OWN_COLLECTION" by JSON file as "super-admin-hochland" 1s 273ms
When Go to transport details "OWN_COLLECTION" 4s 674ms
Then Verify that discrepancy report section is available 037ms
And Open section: "discrepancy-report-panel" 1s 071ms
And Verify that generate new discrepancy report button is visible 036ms
After Hooks.deleteTransportAfterTest() 105ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 455ms
And Create transport "CREATE_OWN_COLLECTION_POWDER_FACTORY" by JSON file as "super-admin-hochland" 1s 319ms
When Go to transport details "OWN_COLLECTION_POWDER_FACTORY" 4s 565ms
Then Verify that discrepancy report section is available 036ms
And Open section: "discrepancy-report-panel" 1s 067ms
And Verify that generate new discrepancy report button is visible 027ms
After Hooks.deleteTransportAfterTest() 139ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 390ms
And Create transport "CREATE_EXPORT" by JSON file as "super-admin-hochland" 1s 370ms
When Go to transport details "EXPORT" 5s 581ms
Then Verify that discrepancy report section is available 031ms
And Open section: "discrepancy-report-panel" 1s 068ms
And Verify that generate new discrepancy report button is visible 022ms
After Hooks.deleteTransportAfterTest() 084ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 292ms
And Create transport "CREATE_TRANSFER_BETWEEN_WAREHOUSES" by JSON file as "super-admin-hochland" 1s 172ms
When Go to transport details "TRANSFER_BETWEEN_WAREHOUSES" 4s 742ms
Then Verify that discrepancy report section is available 040ms
And Open section: "discrepancy-report-panel" 1s 063ms
And Verify that generate new discrepancy report button is visible 031ms
After Hooks.deleteTransportAfterTest() 073ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 358ms
And Create transport "CREATE_CISTERN_DELIVERY" by JSON file as "super-admin-hochland" 1s 286ms
When Go to transport details "CISTERN_DELIVERY" 4s 495ms
Then Verify that discrepancy report section is not available 15s 065ms
After Hooks.deleteTransportAfterTest() 110ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 508ms
And Create transport "CREATE_CISTERN_COLLECTION" by JSON file as "super-admin-hochland" 1s 258ms
When Go to transport details "CISTERN_COLLECTION" 4s 436ms
Then Verify that discrepancy report section is not available 15s 054ms
After Hooks.deleteTransportAfterTest() 117ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 374ms
And Create transport "CREATE_WEIGHING" by JSON file as "super-admin-hochland" 1s 184ms
When Go to transport details "WEIGHING" 4s 402ms
Then Verify that discrepancy report section is not available 15s 020ms
After Hooks.deleteTransportAfterTest() 081ms
Scenario Outline Check if discrepancy report is properly generated
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 513ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 356ms
When Go to "TRANSPORT_TABLE" 087ms
And Go to transport details "DELIVERY" 4s 735ms
And Change filled value in transport details "warehouseman" "select" "Błajet" "0" 3s 509ms
And Change filled value in transport details "unloaded-stere" "text" "3" "0" 1s 323ms
And Open section: "discrepancy-report-panel" 1s 070ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 001ms
And Fill transport form 36s 070ms
And Fill discrepancy report section without closing the form 19s 655ms
And Generate discrepancy report 16s 811ms
And Download discrepancy report 167ms
Then Verify that discrepancy report file has correct values 15s 176ms
java.nio.file.NoSuchFileException: /home/teamcity/Downloads/11_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:49)
	at Utils.FileUtil.getPdfFileText(FileUtil.java:28)
	at CucumberTests.Transport.TransportFormTest.verifyThatDiscrepancyReportFileHasCorrectValues(TransportFormTest.java:238)
	at ✽.Verify that discrepancy report file has correct values(file:Features/Atom/Transport/TransportForm/DiscrepancyReport.feature:76)
After Hooks.deleteTransportAfterTest() 112ms
Scenario Outline Check if edited discrepancy report is properly generated
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 802ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 341ms
When Go to "TRANSPORT_TABLE" 072ms
And Go to transport details "DELIVERY" 4s 722ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 002ms
And Fill transport form 36s 067ms
And Open section: "discrepancy-report-panel" 1s 077ms
And Fill discrepancy report section without closing the form 19s 717ms
And Generate discrepancy report 16s 354ms
And Download discrepancy report 170ms
And Verify that discrepancy report file has correct values 15s 153ms
java.nio.file.NoSuchFileException: /home/teamcity/Downloads/12_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:49)
	at Utils.FileUtil.getPdfFileText(FileUtil.java:28)
	at CucumberTests.Transport.TransportFormTest.verifyThatDiscrepancyReportFileHasCorrectValues(TransportFormTest.java:238)
	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() 091ms