diff options
author | Peter Leitzen <pleitzen@gitlab.com> | 2019-01-10 18:50:14 +0100 |
---|---|---|
committer | Peter Leitzen <pleitzen@gitlab.com> | 2019-01-15 21:33:40 +0100 |
commit | 77eff52afa379d653c47ecc64e75779a330be5e1 (patch) | |
tree | 34a35116cf6d491e0c90e0e4e191ebfe3edff434 /spec/features/projects/settings | |
parent | 75b1837da79b5244a8da6bde1e391343fef59431 (diff) | |
download | gitlab-ce-77eff52afa379d653c47ecc64e75779a330be5e1.tar.gz |
Remove `error_tracking` feature flag
We introduced the feature flag `error_tracking` to test the Sentry MVC
safely.
After the successful test, we remove it again.
Diffstat (limited to 'spec/features/projects/settings')
-rw-r--r-- | spec/features/projects/settings/operations_settings_spec.rb | 24 |
1 files changed, 4 insertions, 20 deletions
diff --git a/spec/features/projects/settings/operations_settings_spec.rb b/spec/features/projects/settings/operations_settings_spec.rb index 1f2328a6dd8..06290c67c70 100644 --- a/spec/features/projects/settings/operations_settings_spec.rb +++ b/spec/features/projects/settings/operations_settings_spec.rb @@ -8,32 +8,16 @@ describe 'Projects > Settings > For a forked project', :js do let(:role) { :maintainer } before do - stub_feature_flags(error_tracking: true) sign_in(user) project.add_role(user, role) end describe 'Sidebar > Operations' do - context 'when sidebar feature flag enabled' do - it 'renders the settings link in the sidebar' do - visit project_path(project) - wait_for_requests + it 'renders the settings link in the sidebar' do + visit project_path(project) + wait_for_requests - expect(page).to have_selector('a[title="Operations"]', visible: false) - end - end - - context 'when sidebar feature flag disabled' do - before do - stub_feature_flags(error_tracking: false) - end - - it 'does not render the settings link in the sidebar' do - visit project_path(project) - wait_for_requests - - expect(page).not_to have_selector('a[title="Operations"]', visible: false) - end + expect(page).to have_selector('a[title="Operations"]', visible: false) end end end |