diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-03-16 18:18:33 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-03-16 18:18:33 +0000 |
commit | f64a639bcfa1fc2bc89ca7db268f594306edfd7c (patch) | |
tree | a2c3c2ebcc3b45e596949db485d6ed18ffaacfa1 /spec/spec_helper.rb | |
parent | bfbc3e0d6583ea1a91f627528bedc3d65ba4b10f (diff) | |
download | gitlab-ce-f64a639bcfa1fc2bc89ca7db268f594306edfd7c.tar.gz |
Add latest changes from gitlab-org/gitlab@13-10-stable-eev13.10.0-rc40
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r-- | spec/spec_helper.rb | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 64c1479a412..60a8fb8cb9f 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -180,6 +180,8 @@ RSpec.configure do |config| end if ENV['FLAKY_RSPEC_GENERATE_REPORT'] + require_relative '../tooling/rspec_flaky/listener' + config.reporter.register_listener( RspecFlaky::Listener.new, :example_passed, @@ -244,14 +246,21 @@ RSpec.configure do |config| stub_feature_flags(unified_diff_components: false) + # Disable this feature flag as we iterate and + # refactor filtered search to use gitlab ui + # components to meet feature parody. More details found + # https://gitlab.com/groups/gitlab-org/-/epics/5501 + stub_feature_flags(boards_filtered_search: false) + + # The following `vue_issues_list` stub can be removed once the + # Vue issues page has feature parity with the current Haml page + stub_feature_flags(vue_issues_list: false) + allow(Gitlab::GitalyClient).to receive(:can_use_disk?).and_return(enable_rugged) else unstub_all_feature_flags end - # Enable Marginalia feature for all specs in the test suite. - Gitlab::Marginalia.enabled = true - # Stub these calls due to being expensive operations # It can be reenabled for specific tests via: # |