diff options
Diffstat (limited to 'spec/features/group_variables_spec.rb')
-rw-r--r-- | spec/features/group_variables_spec.rb | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/spec/features/group_variables_spec.rb b/spec/features/group_variables_spec.rb index b4a0678cb5f..841cc1726a0 100644 --- a/spec/features/group_variables_spec.rb +++ b/spec/features/group_variables_spec.rb @@ -12,13 +12,13 @@ RSpec.describe 'Group variables', :js, feature_category: :secrets_management do group.add_owner(user) gitlab_sign_in(user) - 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' + it_behaves_like 'variable list drawer' + it_behaves_like 'variable list env scope' it_behaves_like 'variable list pagination', :ci_group_variable end @@ -27,16 +27,7 @@ RSpec.describe 'Group variables', :js, feature_category: :secrets_management do stub_feature_flags(ci_variables_pages: false) end - it_behaves_like 'variable list' - 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' + it_behaves_like 'variable list env scope' end end |