Skip to content

Test result of PDF output #5670

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
ebruchez opened this issue Feb 9, 2023 · 1 comment
Open

Test result of PDF output #5670

ebruchez opened this issue Feb 9, 2023 · 1 comment

Comments

@ebruchez
Copy link
Collaborator

ebruchez commented Feb 9, 2023

We had recently a regression with older forms that did not use calculation dependencies. and could produce a PDF with missing fields. Enabling calculation dependencies addresses the problem.

This raises the question of automatically testing PDF output. In general, this is not easy, but we could at least extract the text of the PDF with PDFBox to check the textual content.

@ebruchez
Copy link
Collaborator Author

ebruchez commented Apr 1, 2025

We had other regressions recently for automatic PDF (#6907) and PDF templates (#6900).

Tasks:

  • simple test for automatic PDF
  • simple test for PDF templates
  • see if we can test the "calculation dependencies" regression mentioned above
    • don't see what we can do specifically for that: issue is more about testing a production form
  • test header/footer configurations
  • fix and test all fields for PDF template (for selection controls, make sure we can unambiguously check item labels)
    • Formatted Text Area
    • Explanatory Text
    • Date and Time
    • Dropdown Date
    • Fields Date
    • Dropdown
    • Dropdown with "Other"
    • Dropdown with Search
    • Dynamic Dropdown with Search
    • Radio Buttons
    • Radio Buttons with "Other"
    • Checkboxes
    • Scrollable Checkboxes
    • Single Checkbox
    • Yes/No Answer
    • Image Attachment
    • Handwritten Signature

ebruchez added a commit that referenced this issue Apr 1, 2025
ebruchez added a commit that referenced this issue Apr 1, 2025
ebruchez added a commit that referenced this issue Apr 1, 2025
ebruchez added a commit that referenced this issue Apr 11, 2025
ebruchez added a commit that referenced this issue Apr 15, 2025
- ideally would come from data, but missing `/forms` prefix there
ebruchez added a commit that referenced this issue Apr 15, 2025
- more form controls still need to be tested
ebruchez added a commit that referenced this issue Apr 22, 2025
- depends on #2479
- more form controls still need to be tested
ebruchez added a commit that referenced this issue Apr 28, 2025
ebruchez added a commit that referenced this issue May 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: In progress
Status: In progress
Development

No branches or pull requests

1 participant