demarches-normaliennes/spec/features
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
..
accessibilite replace deprecated axe-matchers by axe-core-spec 2021-08-24 08:09:17 -05:00
admin app: use password_complexity in Administrateurs::ActivateController 2021-09-09 09:40:39 -05:00
experts experts: fix saving password on sign-in 2021-06-30 10:46:42 +02:00
france_connect do not know how it worked before 2021-05-05 14:36:34 +02:00
instructeurs app: remove old Admin::InstructeursController 2021-09-02 14:40:36 -05:00
new_administrateur Add a point on map from coordinates input 2021-07-07 13:33:28 +02:00
routing test(routing): fix routing feature spec 2021-09-18 11:22:35 +02:00
sessions Fix apostrophes ‘ -> ’ 2021-05-26 18:05:14 +02:00
users spec: ensure checkbox is visible before clicking it 2021-10-01 00:33:57 +02:00
forgery_spec.rb app: use a long-lived cookie for CSRF token 2021-07-20 11:11:52 +02:00
help_spec.rb specs: always require rails_helper 2020-03-31 12:48:32 +02:00
i18n_spec.rb i18n: properly translate the locale dropdown title 2021-08-24 12:57:51 -05:00
outdated_browser_spec.rb ajout d'une bannière de dépréciation pour IE11 2020-07-06 10:01:02 +02:00