clean(spec): remove useless autosave

This commit is contained in:
simon lehericey 2022-10-20 17:03:54 +02:00
parent 4ec13d652a
commit 00d1552060

View file

@ -114,15 +114,11 @@ describe 'The user' do
fill_in('sub type de champ', with: 'un autre texte')
end
expect(page).to have_content('Supprimer', count: 2)
wait_for_autosave
expect(page).to have_content('Supprimer', count: 2)
within '.repetition .row:first-child' do
click_on 'Supprimer lélément'
end
wait_for_autosave
expect(page).to have_content('Supprimer', count: 1)
end