Skip to content
Snippets Groups Projects

Resolve "Disable GCP free credit banner at instance level"

1 file
+ 10
0
Compare changes
  • Side-by-side
  • Inline
@@ -272,6 +272,16 @@
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 from 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'
Loading