Testing Your Documentation Search
summary
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
chapters (10)
- 0:00Introduction and welcome
- 1:02Business funnel and customer dropouts
- 4:57Documentation’s role in success
- 10:18Optimizing documentation structure
- 11:45Setting up Algolia search
- 16:24Testing documentation search
- 21:21Tips for better search scraping
- 22:45Handling no-result queries
- 23:28Terminal search utility
- 24:52Testing and conclusion
related talks
44mSemantic, Searchable Webapps with Angular
08mSEO testing
46mTest Your Drupal Site The Easy Way: Use Cypress
36mTesting Angular apps with Cypress in CI
56mTechniques and practices for testing Angular
38mDocs as Tests: A Strategy for Resilient Docs
22m5 must-dos to make your JS app search engine friendly (#7 will shock you!)
20mAmazing E2e testing experience with Cypress and Angular
