Update Capybara to the latest version
What does this MR do?
One of the improvements available in this version is better handling of unexpected alerts, which might help solve a problem we're facing
See #34551 (closed) And https://github.com/teamcapybara/capybara/pull/2150
A few changes are needed: https://github.com/teamcapybara/capybara/blob/master/UPGRADING.md
Also updates capybara-screenshot too because the previous version wouldn't work with capybara 3.
Does this MR meet the acceptance criteria?
Conformity
- [-] Changelog entry
- [-] Documentation created/updated or follow-up review issue created
-
Code review guidelines -
Merge request performance guidelines -
Style guides - [-] Database guides
- [-] Separation of EE specific content
Availability and Testing
Edited by Mark Lapierre