Follow-up from "Update dependency capybara to '~> 3.40.0'"
The following discussion from !145816 (merged) should be addressed:
-
@acunskis started a discussion: (+1 comment) Latest version introduces
have_element
rspec matcher which overlaps with our own custom one.There is a bunch of metaprogramming going on so for now I wasn't able to make our version of
have_element
to be the primary one, it is getting replaced by the capybara one.To unblock the update for now, I updated those few cases of
have_element
to use the capybara version, we can try and revisit it again later. Given how few cases we have, I feel it's not really worth the time.
Upstream pull request for context: https://github.com/teamcapybara/capybara/pull/2700
Edited by Andrejs Cunskis