Repository navigation
OBJ-89 — Golden-file PDF fixture in CI - #36
Merged
objectgyan merged 1 commit intoMay 17, 2026
Merged
Conversation
- Add tests/fixtures/m6-golden.json covering all v1 controls (textbox, number, date, dropdown, checkbox×2, static table, dynamic table stub) - Add tests/fixtures/m6-golden.txt — text baseline extracted from Playwright-rendered PDF via PdfPig - Add tests/pdf-extract/ — standalone .NET 9 console project using PdfPig 0.1.14 for text extraction - Add pdf-fixture CI job with positive-path (golden diff) and negative-path (stale golden detection) steps - Add scripts/update-pdf-golden.ps1 — intentional refresh path - Add scripts/validate-obj-89.ps1 — full validation cycle: build, unit tests, fixture export, text extract, diff
OBJ-89 M6.4 — Golden-file PDF fixture in CI
Milestone: M6 · Wave: 2 SummaryAdd a deterministic fixture document and a CI step that exports it to PDF, then compares against a checked-in golden (tolerant text-extraction comparison rather than byte-exact, to absorb minor renderer noise). Acceptance
Validation
Branch / PRBranch from |
objectgyan
added a commit
that referenced
this pull request
May 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
tests/fixtures/m6-golden.json— deterministic fixture document covering every v1 control type (textbox, number, date, dropdown, checkbox×2, static table, dynamic table stub)tests/fixtures/m6-golden.txt— text baseline extracted from the Playwright-rendered PDF using PdfPigtests/pdf-extract/— standalone .NET 9 console project using PdfPig 0.1.14 for text extraction from PDFs.github/workflows/ci.ymlwithpdf-fixturejob: positive-path (golden diff must be clean) + negative-path (stale golden must fail with clear diff output)scripts/update-pdf-golden.ps1— intentional refresh path for when the renderer changesscripts/validate-obj-89.ps1— full validation: build, unit tests, fixture export → extract → diff cycle, negative-path assertionTest plan