demarches-normaliennes/spec/system/patron_spec.rb
Pierre de La Morinerie 2b90d7cc01 helpers: allow champ without persisted dossier
This fixes the /patron page. I also added an end-to-end test
to avoid breaking this page in the future.
2022-05-31 15:12:29 +02:00

8 lines
275 B
Ruby

describe 'Accessing the /patron page:' do
scenario 'I can display a page with all form fields and UI elements' do
visit patron_path
expect(page).to have_text('Icônes')
expect(page).to have_text('Formulaires')
expect(page).to have_text('Boutons')
end
end