diff options
Diffstat (limited to 'spec/features/explore/navbar_spec.rb')
-rw-r--r-- | spec/features/explore/navbar_spec.rb | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/spec/features/explore/navbar_spec.rb b/spec/features/explore/navbar_spec.rb index 853d66ed4d1..c172760eb2c 100644 --- a/spec/features/explore/navbar_spec.rb +++ b/spec/features/explore/navbar_spec.rb @@ -2,13 +2,24 @@ require 'spec_helper' -RSpec.describe '"Explore" navbar', feature_category: :navigation do +RSpec.describe '"Explore" navbar', :js, feature_category: :navigation do include_context '"Explore" navbar structure' it_behaves_like 'verified navigation bar' do before do - stub_feature_flags(super_sidebar_logged_out: false) + stub_feature_flags(global_ci_catalog: false) visit explore_projects_path end end + + context "with 'global_ci_catalog' enabled" do + include_context '"Explore" navbar structure with global_ci_catalog FF' + + it_behaves_like 'verified navigation bar', global_ci_catalog: true do + before do + stub_feature_flags(global_ci_catalog: true) + visit explore_projects_path + end + end + end end |