Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/features/alerts_settings/user_views_alerts_settings_spec.rb')
-rw-r--r--spec/features/alerts_settings/user_views_alerts_settings_spec.rb7
1 files changed, 3 insertions, 4 deletions
diff --git a/spec/features/alerts_settings/user_views_alerts_settings_spec.rb b/spec/features/alerts_settings/user_views_alerts_settings_spec.rb
index 07c87f98eb6..60f2f776595 100644
--- a/spec/features/alerts_settings/user_views_alerts_settings_spec.rb
+++ b/spec/features/alerts_settings/user_views_alerts_settings_spec.rb
@@ -19,7 +19,6 @@ RSpec.describe 'Alert integrations settings form', :js do
describe 'when viewing alert integrations as a maintainer' do
context 'with the default page permissions' do
before do
- stub_feature_flags(multiple_http_integrations_custom_mapping: false)
visit project_settings_operations_path(project, anchor: 'js-alert-management-settings')
wait_for_requests
end
@@ -30,8 +29,8 @@ RSpec.describe 'Alert integrations settings form', :js do
end
end
- it 'shows the new alerts setting form' do
- expect(page).to have_content('1. Select integration type')
+ it 'shows the integrations list title' do
+ expect(page).to have_content('Current integrations')
end
end
end
@@ -44,7 +43,7 @@ RSpec.describe 'Alert integrations settings form', :js do
wait_for_requests
end
- it 'shows the old alerts setting form' do
+ it 'does not have rights to access the setting form' do
expect(page).not_to have_selector('.incident-management-list')
expect(page).not_to have_selector('#js-alert-management-settings')
end