Merge pull request #10261 from colinux/ignore-search-terms-2

Tech (perf): ignore les `search_terms` colonnes pour ne plus les select à chaque query et debounce l'indexation
This commit is contained in:
Colin Darie 2024-05-21 07:07:10 +00:00 committed by GitHub
commit c2b1d7aaaf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
25 changed files with 336 additions and 175 deletions

View file

@ -268,6 +268,7 @@ describe 'user access to the list of their dossiers', js: true do
context 'when it matches multiple dossiers' do
let!(:dossier_with_champs) { create(:dossier, :with_populated_champs, :en_construction, user: user) }
before do
perform_enqueued_jobs(only: DossierIndexSearchTermsJob)
find('.fr-search-bar .fr-btn').click
end