Skip to content

Add support for using find with :link and :field in Capybara/SpecificFinders cop#158

Open
ydah wants to merge 1 commit intomainfrom
110
Open

Add support for using find with :link and :field in Capybara/SpecificFinders cop#158
ydah wants to merge 1 commit intomainfrom
110

Conversation

@ydah
Copy link
Member

@ydah ydah commented Nov 24, 2025

Fixes: #110


Before submitting the PR make sure the following are checked:

  • Feature branch is up-to-date with main (if not - rebase it).
  • Squashed related commits together.
  • Added tests.
  • Updated documentation.
  • Added an entry to the CHANGELOG.md if the new code introduces user-observable changes.
  • The build (bundle exec rake) passes (be sure to run this locally, since it may produce updated documentation that you will need to commit).

@ydah ydah requested a review from a team as a code owner November 24, 2025 14:05
PATTERN

# @!method find_argument_without_locator(node)
def_node_matcher :find_argument_without_locator, <<~PATTERN
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like this matcher is not being used.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Enhancement: More method support for Capybara/SpecificFinders

2 participants