diff options
author | Dennis Tang <dennis@dennistang.net> | 2018-07-10 16:20:05 +0300 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2018-07-10 16:20:05 +0300 |
commit | fe268175a20a517d31de7edd1701bcb35ecfae5b (patch) | |
tree | 2a00eb3acd05009121757316594a76c24d3188a1 /spec/features/admin | |
parent | 3d4873fa64c833c71ab7ee274002d854eb93ef96 (diff) |
Resolve "Disable GCP free credit banner at instance level"
Diffstat (limited to 'spec/features/admin')
-rw-r--r-- | spec/features/admin/admin_settings_spec.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/spec/features/admin/admin_settings_spec.rb b/spec/features/admin/admin_settings_spec.rb index 9c6758abe86..a852ca689e7 100644 --- a/spec/features/admin/admin_settings_spec.rb +++ b/spec/features/admin/admin_settings_spec.rb @@ -272,6 +272,16 @@ describe 'Admin updates settings' do expect(Gitlab::CurrentSettings.allow_local_requests_from_hooks_and_services).to be true end + it 'Enable hiding third party offers' do + page.within('.as-third-party-offers') do + check 'Do not display offers from third parties within GitLab' + click_button 'Save changes' + end + + expect(page).to have_content "Application settings saved successfully" + expect(Gitlab::CurrentSettings.hide_third_party_offers).to be true + end + it 'Change Slack Notifications Service template settings' do first(:link, 'Service Templates').click click_link 'Slack notifications' |