Flaky test in `ee/spec/features/analytics/code_analytics_spec.rb` | CodeReviewAnalytics Filtered Search when the "new search" feature is disabled with merge_requests filters the list of merge requests
Job #742443181 failed for 248967c9:
Failing pipeline related to this MR: !42310 (merged)
Failures:
1) CodeReviewAnalytics Filtered Search when the "new search" feature is disabled with merge_requests filters the list of merge requests
Failure/Error: expect(page).to have_text("Merge Requests in Review #{num}")
expected to find text "Merge Requests in Review 3" in "Skip to content GitLab Projects Groups More Help P project154 Project overview Issues 0 CI / CD Operations Packages & Registries Analytics CI / CD Code Review Merge Request Value Stream Wiki Snippets Members Collapse sidebar John Doe525 project154 Code Review Code Review Review time is defined as the time it takes from first comment until merged. Recent searches You don't have any open merge requests Code Review Analytics displays a table of open merge requests considered to be in code review. There are currently no merge requests in review for this project and/or filters. New merge request"
# ./vendor/ruby/2.6.0/gems/rspec-support-3.9.2/lib/rspec/support.rb:97:in `block in <module:Support>'
# ./vendor/ruby/2.6.0/gems/rspec-support-3.9.2/lib/rspec/support.rb:106:in `notify_failure'
# ./vendor/ruby/2.6.0/gems/rspec-expectations-3.9.1/lib/rspec/expectations/fail_with.rb:35:in `fail_with'
# ./vendor/ruby/2.6.0/gems/rspec-expectations-3.9.1/lib/rspec/expectations/handler.rb:40:in `handle_failure'
# ./vendor/ruby/2.6.0/gems/rspec-expectations-3.9.1/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'
# ./vendor/ruby/2.6.0/gems/rspec-expectations-3.9.1/lib/rspec/expectations/handler.rb:27:in `with_matcher'
# ./vendor/ruby/2.6.0/gems/rspec-expectations-3.9.1/lib/rspec/expectations/handler.rb:48:in `handle_matcher'
# ./vendor/ruby/2.6.0/gems/rspec-expectations-3.9.1/lib/rspec/expectations/expectation_target.rb:65:in `to'
# ./ee/spec/features/analytics/code_analytics_spec.rb:77:in `has_merge_requests'
# ./ee/spec/features/analytics/code_analytics_spec.rb:51:in `block (4 levels) in <top (required)>'
Edited by Rémy Coutable