Skip to content

Update rubocop-capybara requirement from ~> 2.22.1 to ~> 2.23.0#148

Merged
mvz merged 2 commits into
masterfrom
dependabot/bundler/rubocop-capybara-tw-2.23.0
May 9, 2026
Merged

Update rubocop-capybara requirement from ~> 2.22.1 to ~> 2.23.0#148
mvz merged 2 commits into
masterfrom
dependabot/bundler/rubocop-capybara-tw-2.23.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 9, 2026

Updates the requirements on rubocop-capybara to permit the latest version.

Release notes

Sourced from rubocop-capybara's releases.

RuboCop Capybara v2.23.0

  • Bump RuboCop requirement to +1.81. (@​ydah)
  • Add new Capybara/RSpec/HaveContent cop. (@​nzlaura)
  • Move the department associated with Capybara::RSpecMatchers to Capybara/RSpec/*. (@​ydah)
    • Rename Capybara/CurrentPathExpectation to Capybara/RSpec/CurrentPathExpectation
    • Rename Capybara/SpecificMatcher to Capybara/RSpec/SpecificMatcher
    • Rename Capybara/NegationMatcher to Capybara/RSpec/NegationMatcher
    • Rename Capybara/NegationMatcherAfterVisit to Capybara/RSpec/NegationMatcherAfterVisit
    • Rename Capybara/VisibilityMatcher to Capybara/RSpec/VisibilityMatcher
  • Split Capybara/MatchStyle into Capybara/AssertStyle and Capybara/RSpec/MatchStyle. (@​ydah)
  • Fix a false positive for Capybara/FindAllFirst when using logical operators with all('...')[0]. (@​ydah)
  • Fix an incorrect autocorrect for Capybara/FindAllFirst when find or all with match: :first uses a receiver and mark autocorrection as unsafe. (@​ydah)
  • Fix an error for Capybara/RSpec/HaveSelector when passing only a selector type. (@​ydah)
Changelog

Sourced from rubocop-capybara's changelog.

2.23.0 (2026-04-30)

  • Bump RuboCop requirement to +1.81. ([@​ydah])
  • Add new Capybara/RSpec/HaveContent cop. ([@​nzlaura])
  • Move the department associated with Capybara::RSpecMatchers to Capybara/RSpec/*. ([@​ydah])
    • Rename Capybara/CurrentPathExpectation to Capybara/RSpec/CurrentPathExpectation
    • Rename Capybara/SpecificMatcher to Capybara/RSpec/SpecificMatcher
    • Rename Capybara/NegationMatcher to Capybara/RSpec/NegationMatcher
    • Rename Capybara/NegationMatcherAfterVisit to Capybara/RSpec/NegationMatcherAfterVisit
    • Rename Capybara/VisibilityMatcher to Capybara/RSpec/VisibilityMatcher
  • Split Capybara/MatchStyle into Capybara/AssertStyle and Capybara/RSpec/MatchStyle. ([@​ydah])
  • Fix a false positive for Capybara/FindAllFirst when using logical operators with all('...')[0]. ([@​ydah])
  • Fix an incorrect autocorrect for Capybara/FindAllFirst when find or all with match: :first uses a receiver and mark autocorrection as unsafe. ([@​ydah])
  • Fix an error for Capybara/RSpec/HaveSelector when passing only a selector type. ([@​ydah])

2.22.1 (2025-03-12)

  • Fix incorrect plugin version. ([@​koic])

2.22.0 (2025-03-10)

  • Add Capybara/AmbiguousClick cop and make soft-deprecated Capybara/ClickLinkOrButtonStyle cop. If you want to use EnforcedStyle: strict, use Capybara/AmbiguousClick cop instead. ([@​ydah])
  • Add new Capybara/FindAllFirst cop. ([@​ydah])
  • Add a new Capybara/NegationMatcherAfterVisit cop. ([@​ydah])
  • Fix an error for Capybara/RSpec/HaveSelector when passing no arguments. ([@​earlopain])
  • Make RuboCop Capybara work as a RuboCop plugin. ([@​bquorning])
  • Fix an incorrect autocorrect for Capybara/RedundantWithinFind when escape required css selector. ([@​ydah])

2.21.0 (2024-06-08)

  • Fix a false negative for Capybara/NegationMatcher when using to_not. ([@​ydah])
  • Fix a false negative for Capybara/SpecificFinders when using find(:id, 'some-id'). ([@​ydah])

2.20.0 (2024-01-03)

  • Change to default EnforcedStyle: link_or_button for Capybara/ClickLinkOrButtonStyle cop. ([@​ydah])
  • Fix a false negative for RSpec/HaveSelector when first argument is dstr node. ([@​ydah])
  • Add new Capybara/RedundantWithinFind cop. ([@​ydah])
  • Fix an invalid attributes parse when name with multiple [] for Capybara/SpecificFinders and Capybara/SpecificActions and Capybara/SpecificMatcher. ([@​ydah])
  • Change to default EnforcedStyle: have_no for Capybara/NegationMatcher cop. ([@​ydah])
  • Fix a false positive for Capybara/SpecificMatcher when text: or exact_text: with regexp. ([@​ydah])

2.19.0 (2023-09-20)

  • Add new Capybara/RSpec/PredicateMatcher cop. ([@​ydah])
  • Add new Capybara/RSpec/HaveSelector cop. ([@​ydah])
  • Add new Capybara/ClickLinkOrButtonStyle cop. ([@​ydah])
  • Fix a false positive for Capybara/SpecificFinders when find with kind option. ([@​ydah])
  • Fix an incorrect autocorrect for Capybara/CurrentPathExpectation. ([@​ydah])
  • Drop Ruby 2.6 support. ([@​ydah])

... (truncated)

Commits
  • 2aa3696 Merge pull request #170 from rubocop/v2.23.0
  • d6ffe96 v2.23.0
  • da0500d Merge pull request #168 from rubocop/fix/167-find-all-first-receiver
  • d16b170 Fix an incorrect autocorrect for Capybara/FindAllFirst when find or all...
  • 965c790 Merge pull request #166 from rubocop/ci-test-rspec-4-on-its-main-branch
  • 3a3e959 CI: Test RSpec 4 prerelease on rspec main branch
  • ae01cbe Merge pull request #164 from rubocop/haveselector
  • 44490b7 Fix an error for Capybara/RSpec/HaveSelector when passing only a selector type
  • e5adb53 Merge pull request #155 from rubocop/move-rspec-dept
  • f172ed9 Split Capybara/MatchStyle into Capybara/AssertStyle and `Capybara/RSpec/M...
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code labels May 9, 2026
Updates the requirements on [rubocop-capybara](https://github.com/rubocop/rubocop-capybara) to permit the latest version.
- [Release notes](https://github.com/rubocop/rubocop-capybara/releases)
- [Changelog](https://github.com/rubocop/rubocop-capybara/blob/main/CHANGELOG.md)
- [Commits](rubocop/rubocop-capybara@v2.22.1...v2.23.0)

---
updated-dependencies:
- dependency-name: rubocop-capybara
  dependency-version: 2.23.0
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/bundler/rubocop-capybara-tw-2.23.0 branch from c202c22 to a606041 Compare May 9, 2026 12:03
@mvz mvz merged commit 3148a9c into master May 9, 2026
8 checks passed
@mvz mvz deleted the dependabot/bundler/rubocop-capybara-tw-2.23.0 branch May 9, 2026 12:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant