No browser test opens the directory's public pages #395

Closed
opened 2026-11-06 19:40:02 -08:00 by rays · 1 comment
Owner

Found by the API coverage run (#394): the directory's public pages (crates/directory/src/site.rs, directory.ipxreader.app) are at 4% of their lines under the browser suite, which only calls the directory's API; its unit tests reach 84% but never load a page in a browser, so the Copy button (site.ts), the links between pages and the markup itself are untested.

Found by the API coverage run (#394): the directory's public pages (crates/directory/src/site.rs, directory.ipxreader.app) are at 4% of their lines under the browser suite, which only calls the directory's API; its unit tests reach 84% but never load a page in a browser, so the Copy button (site.ts), the links between pages and the markup itself are untested.
rays added the bug label 2026-11-06 19:40:02 -08:00
Author
Owner

Done in bda2ef0: tests/ui/directory-site.spec.ts, six tests of the public pages (home, categories, A to Z, the kind tabs, search, a feed's page and Copy, a 404, robots.txt and the sitemap), stable over three repeats. site.rs 4% to 87% under the browser suite, ipx-directory 48% to 69%; Grafana's Coverage row has the new numbers.

Done in bda2ef0: tests/ui/directory-site.spec.ts, six tests of the public pages (home, categories, A to Z, the kind tabs, search, a feed's page and Copy, a 404, robots.txt and the sitemap), stable over three repeats. site.rs 4% to 87% under the browser suite, ipx-directory 48% to 69%; Grafana's Coverage row has the new numbers.
rays closed this issue 2026-11-06 19:46:52 -08:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: rays/ipx#395