Project Number Date
ApolloFullRunnerReport develop.432 22 maj 2021, 09:24

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 26s 881ms Failed
Feature Transport Form - Discrepancy Report scenarios
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 410ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 392ms
And Go to transport details "DELIVERY" 4s 732ms
When Open section: "discrepancy-report-panel" 1s 070ms
Then Verify that no discrepancies found label is visible in discrepancy report section 061ms
And Select "NIE" in the "insp.-accord.-with-ins." 2s 418ms
And Verify that discrepancy report custom fields are visible in discrepancy report section 110ms
After Hooks.deleteTransportAfterTest() 126ms
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 373ms
And Go to transport details "DELIVERY" 4s 727ms
And Fill transport form 35s 898ms
And Click "save-transport-and-close" save button and wait for form to disappear 16s 156ms
When Go to transport details "DELIVERY" 4s 451ms
Then Select "NIE" in the "insp.-accord.-with-ins." 2s 467ms
And Click "save-transport" save button 706ms
And Wait "2" seconds 2s
And Verify that discrepancy report section is open 027ms
And Verify that discrepancy report section contains validation errors 015ms
After Hooks.deleteTransportAfterTest() 136ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 620ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 336ms
When Go to transport details "DELIVERY" 4s 717ms
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 041ms
After Hooks.deleteTransportAfterTest() 101ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 238ms
And Create transport "CREATE_OWN_COLLECTION" by JSON file as "super-admin-hochland" 1s 286ms
When Go to transport details "OWN_COLLECTION" 4s 612ms
Then Verify that discrepancy report section is available 034ms
And Open section: "discrepancy-report-panel" 1s 057ms
And Verify that generate new discrepancy report button is visible 025ms
After Hooks.deleteTransportAfterTest() 136ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 417ms
And Create transport "CREATE_OWN_COLLECTION_POWDER_FACTORY" by JSON file as "super-admin-hochland" 1s 365ms
When Go to transport details "OWN_COLLECTION_POWDER_FACTORY" 4s 543ms
Then Verify that discrepancy report section is available 033ms
And Open section: "discrepancy-report-panel" 1s 065ms
And Verify that generate new discrepancy report button is visible 033ms
After Hooks.deleteTransportAfterTest() 125ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 314ms
And Create transport "CREATE_EXPORT" by JSON file as "super-admin-hochland" 1s 401ms
When Go to transport details "EXPORT" 5s 537ms
Then Verify that discrepancy report section is available 033ms
And Open section: "discrepancy-report-panel" 1s 057ms
And Verify that generate new discrepancy report button is visible 031ms
After Hooks.deleteTransportAfterTest() 102ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 369ms
And Create transport "CREATE_TRANSFER_BETWEEN_WAREHOUSES" by JSON file as "super-admin-hochland" 1s 181ms
When Go to transport details "TRANSFER_BETWEEN_WAREHOUSES" 4s 638ms
Then Verify that discrepancy report section is available 032ms
And Open section: "discrepancy-report-panel" 1s 041ms
And Verify that generate new discrepancy report button is visible 032ms
After Hooks.deleteTransportAfterTest() 096ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 333ms
And Create transport "CREATE_CISTERN_DELIVERY" by JSON file as "super-admin-hochland" 1s 315ms
When Go to transport details "CISTERN_DELIVERY" 4s 478ms
Then Verify that discrepancy report section is not available 15s 038ms
After Hooks.deleteTransportAfterTest() 084ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 820ms
And Create transport "CREATE_CISTERN_COLLECTION" by JSON file as "super-admin-hochland" 1s 269ms
When Go to transport details "CISTERN_COLLECTION" 4s 444ms
Then Verify that discrepancy report section is not available 15s 008ms
After Hooks.deleteTransportAfterTest() 122ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 402ms
And Create transport "CREATE_WEIGHING" by JSON file as "super-admin-hochland" 1s 199ms
When Go to transport details "WEIGHING" 4s 395ms
Then Verify that discrepancy report section is not available 15s 011ms
After Hooks.deleteTransportAfterTest() 082ms
Scenario Outline Check if discrepancy report is properly generated
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 525ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 312ms
When Go to "TRANSPORT_TABLE" 160ms
And Go to transport details "DELIVERY" 4s 722ms
And Change filled value in transport details "warehouseman" "select" "Dorosz Mieczysław" "0" 3s 465ms
And Change filled value in transport details "unloaded-stere" "text" "3" "0" 1s 301ms
And Open section: "discrepancy-report-panel" 1s 057ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 002ms
And Fill transport form 35s 785ms
And Fill discrepancy report section without closing the form 19s 502ms
And Generate discrepancy report 16s 703ms
And Download discrepancy report 162ms
Then Verify that discrepancy report file has correct values 15s 145ms
java.nio.file.NoSuchFileException: /home/teamcity/Downloads/52_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() 119ms
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 499ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 348ms
When Go to "TRANSPORT_TABLE" 145ms
And Go to transport details "DELIVERY" 4s 717ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 002ms
And Fill transport form 35s 869ms
And Open section: "discrepancy-report-panel" 1s 069ms
And Fill discrepancy report section without closing the form 19s 542ms
And Generate discrepancy report 16s 236ms
And Download discrepancy report 162ms
And Verify that discrepancy report file has correct values 15s 150ms
java.nio.file.NoSuchFileException: /home/teamcity/Downloads/53_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() 110ms