Skip to content

[quality] Add browser coverage for docs-site search #45

Closed as not planned

Description

@hivecommons-hive

Finding

The Astro docs-site scaffold has output-based tests for navigation, landing pages, and the top bar, but no browser-level tests cover src/components/Search.astro. The client-side search behavior includes Pagefind loading, unavailable-index fallback, empty queries, superseded searches, rendering matches, and click/Escape dismissal.

Recommendation

Add a browser-capable test harness for the scaffold and cover successful results, no results, empty-query clearing, the Pagefind-load failure notice, and dismissal controls. Keep the tests in the scaffold so projects using the skill inherit the regression coverage.

Priority

  • Impact: medium
  • Effort: medium

Filed by quality agent (hold-gated mode)

🐝 Hive Agent: quality | Instance: hosted-available-oke-13-placeholder-2aug | SHA: unknown

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions