Description
The claim page generation functionality in generateSetStonePages() is not creating the expected HTML files for ticket stub claiming.
Failing Tests
Temporarily skipped 4 tests in __tests__/claim_page_generation_test.js:
generates claim pages for multiple shows with different token ranges
claim pages contain correct show information
claim pages include contract integration code
each token ID gets unique claim page with correct context
Expected Behavior
When generateSetStonePages() is called with shows that have ticket stubs, it should generate individual claim pages at paths like:
/blox-office/ticketstubs/claim/101.html
/blox-office/ticketstubs/claim/102.html
- etc.
Actual Behavior
The claim pages are not being generated. Tests fail with ENOENT: no such file or directory when trying to verify the files exist.
Context
This is a pre-existing issue discovered during production deployment preparation. The ticket stub system was merged from the prague2025 branch, but the claim page generation appears incomplete or broken.
Impact
Blocking production deployments via Jenkins CI/CD pipeline.
Next Steps
- Investigate why
generateSetStonePages() isn't creating claim page files
- Implement claim page generation or fix the existing implementation
- Re-enable the skipped tests
Description
The claim page generation functionality in
generateSetStonePages()is not creating the expected HTML files for ticket stub claiming.Failing Tests
Temporarily skipped 4 tests in
__tests__/claim_page_generation_test.js:generates claim pages for multiple shows with different token rangesclaim pages contain correct show informationclaim pages include contract integration codeeach token ID gets unique claim page with correct contextExpected Behavior
When
generateSetStonePages()is called with shows that have ticket stubs, it should generate individual claim pages at paths like:/blox-office/ticketstubs/claim/101.html/blox-office/ticketstubs/claim/102.htmlActual Behavior
The claim pages are not being generated. Tests fail with
ENOENT: no such file or directorywhen trying to verify the files exist.Context
This is a pre-existing issue discovered during production deployment preparation. The ticket stub system was merged from the prague2025 branch, but the claim page generation appears incomplete or broken.
Impact
Blocking production deployments via Jenkins CI/CD pipeline.
Next Steps
generateSetStonePages()isn't creating claim page files