Once all unit tests have been migrated to the Playwright runner, their value as documentation can be amplified by making them searchable. This task is to explore the best method for including the Playwright test files (*.spec.mjs) in the ChromaDB knowledge base and to implement the chosen solution.
Acceptance Criteria
- Investigate the
ai:build-kb script to determine how to include .spec.mjs files.
- Modify the script and any related configuration to add the test files to the knowledge base.
- Verify that queries made via
npm run ai:query can successfully return results from within the test files.
Once all unit tests have been migrated to the Playwright runner, their value as documentation can be amplified by making them searchable. This task is to explore the best method for including the Playwright test files (
*.spec.mjs) in the ChromaDB knowledge base and to implement the chosen solution.Acceptance Criteria
ai:build-kbscript to determine how to include.spec.mjsfiles.npm run ai:querycan successfully return results from within the test files.