Add RuboCop cop to limit examples in feature specs

What does this MR do and why?

Add RuboCop cop to limit examples in feature specs

Add RSpec/FeatureSpecMaxExamples cop that flags feature spec files with more than 25 it blocks to encourage splitting large specs into smaller, focused files. Add rubocop_todo for 44 existing files that currently exceed the limit.

An example is the official name for an it block: https://rspec.info/documentation/3.13/rspec-core/RSpec/Core/Example.html

References

Screenshots or screen recordings

N/A

How to set up and validate locally

N/A

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports

Loading