## Summary Enhanced the search resolver integration tests to comprehensively validate bidirectional accent-insensitive search functionality. Users can now search with or without accents and find all relevant records regardless of how the data was originally stored. ## Changes Made ### Test Data Enhancements - Added 2 new person IDs: `TEST_PERSON_6_ID`, `TEST_PERSON_7_ID` - Expanded corpus from 5 to 13 records: - 7 persons - 2 companies - 4 pets - Refactored test data into single arrays with content-driven variable naming for better maintainability ### Test Coverage Improvements - Added 6 comprehensive bidirectional tests covering French, Spanish, and German characters - Validated multiple fields: - `firstName`, `lastName`, `jobTitle`, `email`, `company name`, `pet name` - Cross-object search testing across Person, Company, and Pet - Updated all ranking values to account for the enlarged test corpus (5 → 13 records) ## Test Cases Added/Updated - [x] should find both **"José"** and **"Jose"** when searching for `"jose"` (bidirectional accent-insensitive) - [x] should find both **"García"** and **"Garcia"** when searching for `"garcia"` (bidirectional accent-insensitive) - [x] should find both accented and non-accented **"Café"** / **"Cafe"** records when searching for `"cafe"` (bidirectional accent-insensitive) - [x] should find both accented and non-accented **"Naïve"** / **"Naive"** records when searching for `"naive"` (bidirectional accent-insensitive) - [x] should find both **"Müller"** and **"Muller"** when searching for `"muller"` (bidirectional accent-insensitive) - [x] should find both **"François"** and **"Francois"** when searching for `"francois"` (bidirectional accent-insensitive)
5 lines
276 B
TypeScript
5 lines
276 B
TypeScript
export const TEST_PET_ID_1 = 'a4907cff-a582-4daf-8635-ad6c782c7c25';
|
|
export const TEST_PET_ID_2 = 'c4e97187-9b9b-4e1f-a3c5-b7883c590332';
|
|
export const TEST_PET_ID_3 = 'e4907cff-a582-4aaf-8635-ad6c782c7c26';
|
|
export const TEST_PET_ID_4 = 'f4907cff-a582-4aaf-8635-ad6c782c7c27';
|