demarches-normaliennes/spec/features/users
Pierre de La Morinerie b466fa7878 spec: ensure checkbox is visible before clicking it
There's a random failure in this spec, where the CI triggers this error:

> Failure/Error: check('checkbox')
>     
>     Selenium::WebDriver::Error::ElementClickInterceptedError:
>       element click intercepted: Element <input required="required" type="checkbox" value="on" name="dossier[champs_attributes][7][value]" id="dossier_champs_attributes_7_value"> is not clickable at point (205, 892). Other element would receive the click: <div class="send-dossier-actions-bar">...</div>

That's because the checkbox is partially overlapped by the sticky
action bar at the bottom of the screen – but only _some of the time_.

This commit attempts to fix the issue by manually scrolling the checkbox
at the center of the screen before clicking it.
2021-10-01 00:33:57 +02:00
..
brouillon_spec.rb spec: ensure checkbox is visible before clicking it 2021-10-01 00:33:57 +02:00
change_email_spec.rb specs: always require rails_helper 2020-03-31 12:48:32 +02:00
dossier_creation_spec.rb zeitwerk: Api -> API 2021-02-09 13:07:30 +01:00
dossier_details_spec.rb remove pending tests 2020-07-15 09:27:23 +00:00
dossier_shared_examples.rb app: rename new_user to users 2019-03-25 10:56:39 +01:00
invite_spec.rb fix tests for autosave_brouillon 2020-09-21 08:46:01 +00:00
linked_dropdown_spec.rb Fix apostrophes ‘ -> ’ 2021-05-26 18:05:14 +02:00
list_dossiers_spec.rb add test for users/list_dossiers_spec 2020-04-09 09:42:31 +02:00
managing_password_spec.rb app: fix exception during password reset when the token has expired 2021-09-21 10:30:09 -05:00
sign_out_spec.rb specs: always require rails_helper 2020-03-31 12:48:32 +02:00
sign_up_spec.rb Test: use APPLICATION_NAME to deal nicely with custom configuration 2021-04-13 22:46:33 +02:00
transfer_dossier_spec.rb test(dossier): test dossier transfer 2021-09-08 15:49:04 +02:00