Merge pull request #6507 from betagouv/attempt-to-fix-flaky-spec

Correction d'un test de feature qui échouait aléatoirement (#6507)
This commit is contained in:
Pierre de La Morinerie 2021-10-01 00:42:56 +02:00 committed by GitHub
commit cc5b3fef42
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -16,6 +16,7 @@ feature 'The user' do
fill_in('date', with: '12-12-2012')
select_date_and_time(Time.zone.parse('06/01/2030 7h05'), form_id_for_datetime('datetime'))
fill_in('number', with: '42')
find_field('checkbox').scroll_to(:center)
check('checkbox')
choose('Madame')
fill_in('email', with: 'loulou@yopmail.com')