diff options
author | Luke Bennett <lbennett@gitlab.com> | 2019-03-14 20:52:01 +0000 |
---|---|---|
committer | Fatih Acet <acetfatih@gmail.com> | 2019-04-07 21:41:58 +0200 |
commit | 55a9bff7e274646b35e7e0cee0a772b4afb490b2 (patch) | |
tree | 21a8dc1557aa8e3663bbb322409a0f904d69b553 /spec/features | |
parent | b4165554113a7f9ce9fecd7d169f9a64686b5c44 (diff) | |
download | gitlab-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.rb | 4 |
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 |