test: remove useless wait_for_autosave because click_on will wait anyway

This commit is contained in:
Colin Darie 2023-08-30 18:40:08 +02:00
parent 21001d7ae0
commit f3d4008436
No known key found for this signature in database
GPG key ID: 8C76CADD40253590

View file

@ -163,7 +163,6 @@ describe 'The user' do
# Check a dossier can be submitted when all mandatory fields are filled
fill_in('texte obligatoire', with: 'super texte')
wait_for_autosave
click_on 'Déposer le dossier'
wait_until { user_dossier.reload.en_construction? }