You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a timing issue in the HTML2PDF when sometimes the pages are not printed correctly. Most of the content gets glued to the table of contents when normally TOC is a separate page. Also, the front page is missing.
File "/Users/Stanislaw/workspace/projects/strictdoc-project/strictdoc/tests/integration/features/html2pdf/05_generate_bundle_document/test_pdf.py", line 5, in <module>
assert len(reader.pages) == 5, reader.pages
AssertionError: [PageObject(0), PageObject(1), PageObject(2)]
To Reproduce
run_times 100 exit_first invoke ti --html2pdf --focus 05_generate_bundle_document
Expected behavior
With the integration test above, the result must always be 5 pages, not sometimes 3.
Describe the bug
There is a timing issue in the HTML2PDF when sometimes the pages are not printed correctly. Most of the content gets glued to the table of contents when normally TOC is a separate page. Also, the front page is missing.
To Reproduce
Expected behavior
With the integration test above, the result must always be 5 pages, not sometimes 3.
Screenshots
Broken PDF example: bundle.pdf
Environment
Reproduces occasionally on both macOS locally and Linux GitHub Actions.
The text was updated successfully, but these errors were encountered: