summaryrefslogtreecommitdiff
path: root/spec/features
diff options
context:
space:
mode:
authorLuke Bennett <lbennett@gitlab.com>2019-03-14 20:52:01 +0000
committerFatih Acet <acetfatih@gmail.com>2019-04-07 21:41:58 +0200
commit55a9bff7e274646b35e7e0cee0a772b4afb490b2 (patch)
tree21a8dc1557aa8e3663bbb322409a0f904d69b553 /spec/features
parentb4165554113a7f9ce9fecd7d169f9a64686b5c44 (diff)
downloadgitlab-ce-55a9bff7e274646b35e7e0cee0a772b4afb490b2.tar.gz
Improve project merge request settingsce-proj-settings-ok-mr-settings-only
Prioritize and simplify project settings content.
Diffstat (limited to 'spec/features')
-rw-r--r--spec/features/projects/settings/user_manages_merge_requests_settings_spec.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/spec/features/projects/settings/user_manages_merge_requests_settings_spec.rb b/spec/features/projects/settings/user_manages_merge_requests_settings_spec.rb
index 84de6858d5f..b1c2bab08c0 100644
--- a/spec/features/projects/settings/user_manages_merge_requests_settings_spec.rb
+++ b/spec/features/projects/settings/user_manages_merge_requests_settings_spec.rb
@@ -93,11 +93,13 @@ describe 'Projects > Settings > User manages merge request settings' do
it 'when unchecked sets :printing_merge_request_link_enabled to false' do
uncheck('project_printing_merge_request_link_enabled')
within('.merge-request-settings-form') do
+ find('.qa-save-merge-request-changes')
click_on('Save changes')
end
- # Wait for save to complete and page to reload
+ find('.flash-notice')
checkbox = find_field('project_printing_merge_request_link_enabled')
+
expect(checkbox).not_to be_checked
project.reload