~/talk

Testing Your Documentation Search

Talkat AngularUP Experience 2020 · 2020-11-30..12-03· [web-platform, testing]
links:none on file
slides:none on file

Shows how to configure Algolia scraper to crawl a static docs site (example yields 11 records for two pages, full scrape adds ~21,000 records in two minutes), drop that index into an Angular.io widget, and verify search with Cypress intercept tests that either stub fixtures or spy the live search JSON. Tests assert column counts, specific result titles, link navigation, and detect regressions from weekly “no results” reports; CI run via GitHub Actions.

AI-written summary · about

  1. 0:00Introduction and welcome
  2. 1:02Business funnel and customer dropouts
  3. 4:57Documentation’s role in success
  4. 10:18Optimizing documentation structure
  5. 11:45Setting up Algolia search
  6. 16:24Testing documentation search
  7. 21:21Tips for better search scraping
  8. 22:45Handling no-result queries
  9. 23:28Terminal search utility
  10. 24:52Testing and conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.