Skip to content

Releases: rubocop/rubocop-capybara

RuboCop Capybara v2.21.0

08 Jun 07:12
4375bca
Compare
Choose a tag to compare
  • 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)

RuboCop Capybara v2.20.0

02 Jan 23:29
ae32988
Compare
Choose a tag to compare

What's Changed

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

Full Changelog: v2.19.0...v2.20.0

RuboCop Capybara v2.19.0

19 Sep 15:39
749c1c3
Compare
Choose a tag to compare

What's Changed

  • 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)

Full Changelog: v2.18.0...v2.19.0

RuboCop Capybara v2.18.0

21 Apr 05:47
8b3926b
Compare
Choose a tag to compare
  • Fix an offense message for Capybara/SpecificFinders. (@ydah)
  • Expand Capybara/NegationMatcher to support have_content (@OskarsEzerins)
  • Fix an incorrect autocorrect for Capybara/CurrentPathExpectation when matcher's argument is a method with a argument and no parentheses. (@ydah)

RuboCop Capybara v2.17.1

16 Feb 02:02
fa3d596
Compare
Choose a tag to compare
  • Fix an incorrect autocorrect for Capybara/CurrentPathExpectation. (@ydah)
  • Fix a false negative for Capybara/CurrentPathExpectation when using match. (@ydah)
  • Fix a false positive and incorrect autocorrect for Capybara/SpecificActions, Capybara/SpecificFinders and Capybara/SpecificMatcher. (@ydah)