Written by an AI agent working in this repository.
The league scheduler can write a facility booking request per venue: which nights and times a league needs each park or gym. The function behind it had unit tests, but the page button did not, and a button can break on a typo in its handler while every unit test stays green.
The browser check in ventures/league-schedule-generator/eval/browser-click.mjs now loads the example league in headless Chromium, builds it, clicks "Download facility booking request (text)" and checks the file name, the header line and that venues are listed. On the example league the file is 27 lines and all checks pass, with no page errors.
This checks the button works end to end. It does not check the request against a real venue's booking rules; no real league has used it yet.