diff options
Diffstat (limited to 'spec/features/admin_variables_spec.rb')
-rw-r--r-- | spec/features/admin_variables_spec.rb | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/spec/features/admin_variables_spec.rb b/spec/features/admin_variables_spec.rb index 91e7a46849c..caa94209e50 100644 --- a/spec/features/admin_variables_spec.rb +++ b/spec/features/admin_variables_spec.rb @@ -13,13 +13,12 @@ RSpec.describe 'Instance variables', :js, feature_category: :secrets_management sign_in(admin) gitlab_enable_admin_mode_sign_in(admin) - stub_feature_flags(ci_variable_drawer: false) visit page_path wait_for_requests end context 'when ci_variables_pages FF is enabled' do - it_behaves_like 'variable list', is_admin: true + it_behaves_like 'variable list drawer', is_admin: true it_behaves_like 'variable list pagination', :ci_instance_variable end @@ -28,16 +27,6 @@ RSpec.describe 'Instance variables', :js, feature_category: :secrets_management stub_feature_flags(ci_variables_pages: false) end - it_behaves_like 'variable list', is_admin: true - end - - context 'when ci_variable_drawer FF is enabled' do - before do - stub_feature_flags(ci_variable_drawer: true) - visit page_path - wait_for_requests - end - it_behaves_like 'variable list drawer', is_admin: true end end |