diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-08-20 18:42:06 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-08-20 18:42:06 +0000 |
commit | 6e4e1050d9dba2b7b2523fdd1768823ab85feef4 (patch) | |
tree | 78be5963ec075d80116a932011d695dd33910b4e /spec/features/merge_requests/user_mass_updates_spec.rb | |
parent | 1ce776de4ae122aba3f349c02c17cebeaa8ecf07 (diff) | |
download | gitlab-ce-6e4e1050d9dba2b7b2523fdd1768823ab85feef4.tar.gz |
Add latest changes from gitlab-org/gitlab@13-3-stable-ee
Diffstat (limited to 'spec/features/merge_requests/user_mass_updates_spec.rb')
-rw-r--r-- | spec/features/merge_requests/user_mass_updates_spec.rb | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/spec/features/merge_requests/user_mass_updates_spec.rb b/spec/features/merge_requests/user_mass_updates_spec.rb index df94fe2cbd0..179bf84a729 100644 --- a/spec/features/merge_requests/user_mass_updates_spec.rb +++ b/spec/features/merge_requests/user_mass_updates_spec.rb @@ -37,6 +37,15 @@ RSpec.describe 'Merge requests > User mass updates', :js do expect(page).to have_selector('.merge-request', count: 0) end end + + it 'does not exist in merged state' do + merge_request.close + visit project_merge_requests_path(project, state: 'merged') + + click_button 'Edit merge requests' + + expect(page).not_to have_css('.js-issue-status') + end end context 'assignee' do @@ -86,7 +95,7 @@ RSpec.describe 'Merge requests > User mass updates', :js do describe 'unset milestone' do before do merge_request.milestone = milestone - merge_request.save + merge_request.save! visit project_merge_requests_path(project) end |