test: retry system tests only on CI (get error fast in local)

This commit is contained in:
Colin Darie 2023-11-06 15:15:51 +01:00
parent baaf4e3517
commit 560d291bcd
37 changed files with 84 additions and 76 deletions

View file

@ -1,5 +1,5 @@
RSpec.shared_examples 'the user can edit the submitted demande' do
scenario js: true, retry: 3 do
scenario js: true do
visit dossier_path(dossier)
expect(page).to have_current_path(dossier_path(dossier))