Skip to content

Commit

Permalink
try another fix
Browse files Browse the repository at this point in the history
  • Loading branch information
E-L-T committed Jul 11, 2024
1 parent 1f10423 commit 12c0324
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/system/users/brouillon_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,12 @@

scroll_to(find_field('communes'), align: :center)
fill_in('communes', with: '60400')
find('.fr-menu__item', text: 'Brétigny (60400)').click
find('.fr-menu__item', text: 'Brétigny (60400)', wait: 5).click
wait_until { champ_value_for('communes') == "Brétigny" }

scroll_to(find_field('address'), align: :center)
fill_in('address', with: '78 Rue du Grés 30310 Vergè')
find('.fr-menu__item', text: '78 Rue du Grés 30310 Vergèze').click
find('.fr-menu__item', text: '78 Rue du Grés 30310 Vergèze', wait: 5).click
wait_until { champ_value_for('address') == '78 Rue du Grés 30310 Vergèze' }
wait_until { champ_for('address').full_address? }
expect(champ_for('address').departement_code_and_name).to eq('30 – Gard')
Expand Down

0 comments on commit 12c0324

Please sign in to comment.