Project Number Date
ApolloFullRunnerReport develop.282 26 sty 2021, 04:33

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 091ms Failed
Feature Transport Form - Discrepancy Report scenarios
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 426ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 379ms
And Go to transport details "DELIVERY" 4s 750ms
When Open section: "discrepancy-report-panel" 1s 071ms
Then Verify that no discrepancies found label is visible in discrepancy report section 074ms
And Select "NIE" in the "insp.-accord.-with-ins." 2s 455ms
And Verify that discrepancy report custom fields are visible in discrepancy report section 114ms
After Hooks.deleteTransportAfterTest() 111ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 346ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 001ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 410ms
And Go to transport details "DELIVERY" 4s 681ms
And Fill transport form 36s 041ms
And Click "save-transport-and-close" save button and wait for form to disappear 16s 152ms
When Go to transport details "DELIVERY" 4s 447ms
Then Select "NIE" in the "insp.-accord.-with-ins." 2s 440ms
And Click "save-transport" save button 715ms
And Wait "2" seconds 2s
And Verify that discrepancy report section is open 019ms
And Verify that discrepancy report section contains validation errors 015ms
After Hooks.deleteTransportAfterTest() 088ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 386ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 368ms
When Go to transport details "DELIVERY" 4s 710ms
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 038ms
After Hooks.deleteTransportAfterTest() 109ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 301ms
And Create transport "CREATE_OWN_COLLECTION" by JSON file as "super-admin-hochland" 1s 283ms
When Go to transport details "OWN_COLLECTION" 4s 676ms
Then Verify that discrepancy report section is available 037ms
And Open section: "discrepancy-report-panel" 1s 067ms
And Verify that generate new discrepancy report button is visible 041ms
After Hooks.deleteTransportAfterTest() 103ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 395ms
And Create transport "CREATE_OWN_COLLECTION_POWDER_FACTORY" by JSON file as "super-admin-hochland" 1s 320ms
When Go to transport details "OWN_COLLECTION_POWDER_FACTORY" 4s 575ms
Then Verify that discrepancy report section is available 039ms
And Open section: "discrepancy-report-panel" 1s 069ms
And Verify that generate new discrepancy report button is visible 033ms
After Hooks.deleteTransportAfterTest() 129ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 310ms
And Create transport "CREATE_EXPORT" by JSON file as "super-admin-hochland" 1s 409ms
When Go to transport details "EXPORT" 5s 378ms
Then Verify that discrepancy report section is available 042ms
And Open section: "discrepancy-report-panel" 1s 064ms
And Verify that generate new discrepancy report button is visible 034ms
After Hooks.deleteTransportAfterTest() 098ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 417ms
And Create transport "CREATE_TRANSFER_BETWEEN_WAREHOUSES" by JSON file as "super-admin-hochland" 1s 168ms
When Go to transport details "TRANSFER_BETWEEN_WAREHOUSES" 4s 713ms
Then Verify that discrepancy report section is available 030ms
And Open section: "discrepancy-report-panel" 1s 065ms
And Verify that generate new discrepancy report button is visible 030ms
After Hooks.deleteTransportAfterTest() 071ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 275ms
And Create transport "CREATE_CISTERN_DELIVERY" by JSON file as "super-admin-hochland" 1s 295ms
When Go to transport details "CISTERN_DELIVERY" 4s 475ms
Then Verify that discrepancy report section is not available 15s 064ms
After Hooks.deleteTransportAfterTest() 112ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 768ms
And Create transport "CREATE_CISTERN_COLLECTION" by JSON file as "super-admin-hochland" 1s 312ms
When Go to transport details "CISTERN_COLLECTION" 4s 473ms
Then Verify that discrepancy report section is not available 15s 064ms
After Hooks.deleteTransportAfterTest() 118ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 472ms
And Create transport "CREATE_WEIGHING" by JSON file as "super-admin-hochland" 1s 209ms
When Go to transport details "WEIGHING" 4s 401ms
Then Verify that discrepancy report section is not available 15s 068ms
After Hooks.deleteTransportAfterTest() 071ms
Scenario Outline Check if discrepancy report is properly generated
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 492ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 428ms
When Go to "TRANSPORT_TABLE" 115ms
And Go to transport details "DELIVERY" 4s 754ms
And Change filled value in transport details "warehouseman" "select" "Błajet" "0" 3s 470ms
And Change filled value in transport details "unloaded-stere" "text" "3" "0" 1s 324ms
And Open section: "discrepancy-report-panel" 1s 077ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 002ms
And Fill transport form 36s 063ms
And Fill discrepancy report section without closing the form 19s 610ms
And Generate discrepancy report 16s 806ms
And Download discrepancy report 161ms
Then Verify that discrepancy report file has correct values 15s 152ms
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:76)
After Hooks.deleteTransportAfterTest() 107ms
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 481ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 371ms
When Go to "TRANSPORT_TABLE" 119ms
And Go to transport details "DELIVERY" 4s 757ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 002ms
And Fill transport form 36s 004ms
And Open section: "discrepancy-report-panel" 1s 079ms
And Fill discrepancy report section without closing the form 19s 621ms
And Generate discrepancy report 16s 317ms
And Download discrepancy report 166ms
And Verify that discrepancy report file has correct values 15s 154ms
java.nio.file.NoSuchFileException: /home/teamcity/Downloads/13_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() 112ms