Given
Login as "hochland-admin" and set token of apiUsername "super-admin-hochland"
1s 422ms
And
Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland"
1s 477ms
When
Go to "TRANSPORT_TABLE"
148ms
And
Go to transport details "DELIVERY"
4s 724ms
And
Get inputs from database "EDIT_DELIVERY" "super-admin-hochland"
002ms
And
Fill transport form
35s 892ms
And
Open section: "discrepancy-report-panel"
1s 059ms
And
Fill discrepancy report section without closing the form
19s 606ms
And
Generate discrepancy report
16s 223ms
And
Download discrepancy report
142ms
And
Verify that discrepancy report file has correct values
15s 184ms
java.nio.file.NoSuchFileException: /home/teamcity/Downloads/45_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