Skip to content

Commit

Permalink
Fix flaky test api_paticulier_spec
Browse files Browse the repository at this point in the history
  • Loading branch information
maatinito committed Sep 19, 2023
1 parent ddca2ed commit 26d0db7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions spec/system/api_particulier/api_particulier_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -288,11 +288,10 @@
fill_in 'Le code postal', with: code_postal
wait_for_autosave
click_on 'Déposer le dossier'
expect(page).to have_current_path(merci_dossier_path(Dossier.last))
perform_enqueued_jobs
end
expect(page).to have_current_path(merci_dossier_path(Dossier.last))

perform_enqueued_jobs
wait_until { cnaf_champ.reload.data.present? }

visit demande_dossier_path(dossier)
Expand Down

0 comments on commit 26d0db7

Please sign in to comment.