From f3d400843622cb457c9a4839bba1e29364640808 Mon Sep 17 00:00:00 2001 From: Colin Darie Date: Wed, 30 Aug 2023 18:40:08 +0200 Subject: [PATCH] test: remove useless wait_for_autosave because click_on will wait anyway --- spec/system/users/brouillon_spec.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/spec/system/users/brouillon_spec.rb b/spec/system/users/brouillon_spec.rb index cd5caf28131..4993b643af3 100644 --- a/spec/system/users/brouillon_spec.rb +++ b/spec/system/users/brouillon_spec.rb @@ -163,7 +163,6 @@ # 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? }