Flaky spec: spec/features/search/user_searches_for_code_spec.rb[1:1:1:2:5]
Summary
Job #3448097852 failed for 5dc53460:
Failures:
1) User searches for code search_page_vertical_nav_enabled: true when signed in when on a project page search multiple words with refs switching
Got 1 failure and 1 other error:
1.1) Failure/Error: expect(find("#blob-L1502")[:href]).to match(%r{blob/v1.0.0/files/markdown/ruby-style-guide.md#L1502})
expected "http://127.0.0.1:45275/user1/project1/-/blob/master/files/markdown/ruby-style-guide.md#L1502" to match /blob\/v1.0.0\/files\/markdown\/ruby-style-guide.md#L1502/
Diff:
@@ -1 +1 @@
-/blob\/v1.0.0\/files\/markdown\/ruby-style-guide.md#L1502/
+"http://127.0.0.1:45275/user1/project1/-/blob/master/files/markdown/ruby-style-guide.md#L1502"
# ./spec/features/search/user_searches_for_code_spec.rb:93:in `block (5 levels) in <main>'
# ./spec/spec_helper.rb:413:in `block (3 levels) in <top (required)>'
# ./spec/support/sidekiq_middleware.rb:18:in `with_sidekiq_server_middleware'
# ./spec/spec_helper.rb:405:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:401:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/application_context.rb:59:in `with_raw_context'
# ./spec/spec_helper.rb:401:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:241:in `block (2 levels) in <top (required)>'
# ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <main>'
# ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <main>'
# ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <main>'
# ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'
# ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <main>'
Steps to reproduce
Proposed Resolution
Please refer to the Resolution guidance to learn more about resolution of broken master.