clean(spec): remove useless autosave
This commit is contained in:
parent
4ec13d652a
commit
00d1552060
1 changed files with 0 additions and 4 deletions
|
@ -114,15 +114,11 @@ describe 'The user' do
|
||||||
fill_in('sub type de champ', with: 'un autre texte')
|
fill_in('sub type de champ', with: 'un autre texte')
|
||||||
end
|
end
|
||||||
|
|
||||||
expect(page).to have_content('Supprimer', count: 2)
|
|
||||||
wait_for_autosave
|
|
||||||
|
|
||||||
expect(page).to have_content('Supprimer', count: 2)
|
expect(page).to have_content('Supprimer', count: 2)
|
||||||
|
|
||||||
within '.repetition .row:first-child' do
|
within '.repetition .row:first-child' do
|
||||||
click_on 'Supprimer l’élément'
|
click_on 'Supprimer l’élément'
|
||||||
end
|
end
|
||||||
wait_for_autosave
|
|
||||||
|
|
||||||
expect(page).to have_content('Supprimer', count: 1)
|
expect(page).to have_content('Supprimer', count: 1)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue