a11y(capybara): enable use of aria-label in spec

This commit is contained in:
Paul Chavard 2022-01-05 11:44:49 +01:00
parent 28c1763701
commit 968384952a

View file

@ -35,6 +35,8 @@ Capybara.default_max_wait_time = 2
Capybara.ignore_hidden_elements = false
Capybara.enable_aria_label = true
# Save a snapshot of the HTML page when an integration test fails
Capybara::Screenshot.autosave_on_failure = true
# Keep only the screenshots generated from the last failing test suite