Test Plan:
- Algolia Sync takes Json from different API endpoints to then feed into Algolia, the syncer can be tested on a website by website basis by testing the Algolia search features that are updated via the AlogliaSync AzFn
- Example of how to test, Ocas.ca Algolia Sync:
- Ocas.ca uses Algolia sync for the following search features:
- OCAS Support Search: https://www.ocas.ca/resources
- To Test OCAS Support Search:
- Go to Support items in AgilityCMS: https://manager.agilitycms.com/instance/5ac29b9b-36e3-4b7e-9dfa-dbcd21c8465b/en-us/content/list-1304
- Check Support API endpoints: https://www.ocas.ca/api/support/articles/en-US (?)
- Create a test item Save, Publish.
- Run Algolia Sync
- Observe that https://www.ocas.ca/resources shows new item
- Remove unpublish support item
- Run Algolia Sync
- Observe that new item has been removed
- Test data fidelity, determine number of records in Algolia index at last sync using old syncer job
- Run old Algolia Sync
- Log number of records or search result items in Algolia index via front-end feature of backend check in Algolia
- Run New Algolia Sync
- Observe that number of records remains unchanged