Merge pull request #8106 from tchak/fix-system-spec

fix(dossier): fix dossier brouillon spec
This commit is contained in:
Paul Chavard 2022-11-23 12:07:45 +01:00 committed by GitHub
commit 9c8c55a8e9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -145,7 +145,7 @@ describe 'The user' do
wait_for_autosave
click_on 'Déposer le dossier'
expect(user_dossier.reload.en_construction?).to be(true)
wait_until { user_dossier.reload.en_construction? }
expect(champ_value_for('texte obligatoire')).to eq('super texte')
expect(page).to have_current_path(merci_dossier_path(user_dossier))
end