Skip to content
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

Enhanced PDF Test Reporting #3805

Open
wants to merge 12 commits into
base: master
Choose a base branch
from
Open

Conversation

MrRio
Copy link
Member

@MrRio MrRio commented Dec 25, 2024

Improves PDF test debugging with:

  • Detailed error messages showing exact differences between expected/actual PDFs
  • Failed PDFs automatically saved to test/actual/ for inspection
  • New web UI for comparing test results (npm run test-report)
Screenshot 2024-12-25 at 07 35 38

Changes:

  • Added test report server and UI
  • Improved test failure messages with pattern detection (text, graphics, metadata, etc.)
  • Renamed sendReference to savePdf for clarity
  • Added PDF comparison tools and viewers (sync'd PDF scrolling)

To use: Run tests normally, then npm run test-report to view results at http://localhost:3000

Left to do

  • Visual difference between the two might be nice

@MrRio MrRio requested a review from HackbrettXXX December 25, 2024 07:34
@MrRio MrRio changed the title Improved Test Reporting Enhanced PDF Test Reporting Dec 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant