diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-05-25 21:10:42 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-05-25 21:10:42 +0300 |
commit | a880341a7b3a164ba381620852cc3ea0777f67ad (patch) | |
tree | de7f7a09aee296eef7924cad7eb7ec2e9ea29ce0 /spec/features/protected_branches_spec.rb | |
parent | a8c1bc6f757ecacbc3481e52a3f4cefb6c6db5fd (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/features/protected_branches_spec.rb')
-rw-r--r-- | spec/features/protected_branches_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/features/protected_branches_spec.rb b/spec/features/protected_branches_spec.rb index 207b74c990a..2436132297e 100644 --- a/spec/features/protected_branches_spec.rb +++ b/spec/features/protected_branches_spec.rb @@ -21,13 +21,13 @@ RSpec.describe 'Protected Branches', :js do expect(ProtectedBranch.count).to eq(1) end - it 'does not allow developer to removes protected branch' do + it 'does not allow developer to remove protected branch' do visit project_branches_path(project) find('input[data-testid="branch-search"]').set('fix') find('input[data-testid="branch-search"]').native.send_keys(:enter) - expect(page).to have_css('.btn-danger.disabled') + expect(page).to have_selector('button[data-testid="remove-protected-branch"][disabled]') end end end |