You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add Playwright browser tests for the v2 pages #186
BoardStat v2 has no browser tests. The JavaScript tests in v2/tests-js/ test pure functions under Node, with no DOM. Nothing checks the pages as a person (or an AI agent) uses them.
What to build
A small Playwright setup that tests the v2 pages as served by v2/serve.py:
Starts the local server, opens a district page, and waits for the data to load.
Runs offline against a fixture slice of the real build, never NYC Open Data.
One first test: the filter form opens, a filter can be set, and Apply changes the page and the link.
An accessibility-tree check: every control on the filter form has a name, and no two share one.
Why now
The agent-ready filters pilot needs it (see the linked issue).
Done 2026-11-22: merged in #188 (3f56a70). Browser tests live in v2/tests-browser/ and run offline; see v2/README.md, "Browser tests (#186)". At merge: 21 browser, 264 Python and 105 Node tests pass.
Activity
noneck commentedon Nov 23, 2026
Needed by #187 (agent-ready filters pilot).
Merge pull request #188 from BetaNYC/feature/browser-tests-186
noneck commentedon Nov 23, 2026
Done 2026-11-22: merged in #188 (3f56a70). Browser tests live in
v2/tests-browser/and run offline; seev2/README.md, "Browser tests (#186)". At merge: 21 browser, 264 Python and 105 Node tests pass.