Releases: rubocop/rubocop-capybara
Releases · rubocop/rubocop-capybara
RuboCop Capybara v2.23.0
- Bump RuboCop requirement to +1.81. (@ydah)
- Add new
Capybara/RSpec/HaveContentcop. (@nzlaura) - Move the department associated with
Capybara::RSpecMatcherstoCapybara/RSpec/*. (@ydah)- Rename
Capybara/CurrentPathExpectationtoCapybara/RSpec/CurrentPathExpectation - Rename
Capybara/SpecificMatchertoCapybara/RSpec/SpecificMatcher - Rename
Capybara/NegationMatchertoCapybara/RSpec/NegationMatcher - Rename
Capybara/NegationMatcherAfterVisittoCapybara/RSpec/NegationMatcherAfterVisit - Rename
Capybara/VisibilityMatchertoCapybara/RSpec/VisibilityMatcher
- Rename
- Split
Capybara/MatchStyleintoCapybara/AssertStyleandCapybara/RSpec/MatchStyle. (@ydah) - Fix a false positive for
Capybara/FindAllFirstwhen using logical operators withall('...')[0]. (@ydah) - Fix an incorrect autocorrect for
Capybara/FindAllFirstwhenfindorallwithmatch: :firstuses a receiver and mark autocorrection as unsafe. (@ydah) - Fix an error for
Capybara/RSpec/HaveSelectorwhen passing only a selector type. (@ydah)
RuboCop Capybara v2.22.1
- Fix incorrect plugin version. (@koic)
RuboCop Capybara v2.22.0
- Add
Capybara/AmbiguousClickcop and make soft-deprecatedCapybara/ClickLinkOrButtonStylecop. If you want to useEnforcedStyle: strict, useCapybara/AmbiguousClickcop instead. (@ydah) - Add new
Capybara/FindAllFirstcop. (@ydah) - Add a new
Capybara/NegationMatcherAfterVisitcop. (@ydah) - Fix an error for
Capybara/RSpec/HaveSelectorwhen passing no arguments. (@earlopain) - Make RuboCop Capybara work as a RuboCop plugin. (@bquorning)
RuboCop Capybara v2.21.0
RuboCop Capybara v2.20.0
What's Changed
- Add new
Capybara/RedundantWithinFindcop. (@ydah) - Change to default
EnforcedStyle: link_or_buttonforCapybara/ClickLinkOrButtonStylecop. (@ydah) - Change to default
EnforcedStyle: have_noforCapybara/NegationMatchercop. (@ydah) - Fix a false negative for
RSpec/HaveSelectorwhen first argument is dstr node. (@ydah) - Fix an invalid attributes parse when name with multiple
[]forCapybara/SpecificFindersandCapybara/SpecificActionsandCapybara/SpecificMatcher. (@ydah) - Fix a false positive for
Capybara/SpecificMatcherwhentext:orexact_text:with regexp. (@ydah)
Full Changelog: v2.19.0...v2.20.0
RuboCop Capybara v2.19.0
What's Changed
- Add new
Capybara/RSpec/PredicateMatchercop. (@ydah) - Add new
Capybara/RSpec/HaveSelectorcop. (@ydah) - Add new
Capybara/ClickLinkOrButtonStylecop. (@ydah) - Fix a false positive for
Capybara/SpecificFinderswhenfindwith 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
- Fix an offense message for
Capybara/SpecificFinders. (@ydah) - Expand
Capybara/NegationMatcherto supporthave_content(@OskarsEzerins) - Fix an incorrect autocorrect for
Capybara/CurrentPathExpectationwhen matcher's argument is a method with a argument and no parentheses. (@ydah)