diff options
| author | Mike Greiling <mike@pixelcog.com> | 2017-11-02 14:04:27 -0500 |
|---|---|---|
| committer | Mike Greiling <mike@pixelcog.com> | 2017-11-02 14:04:27 -0500 |
| commit | f31bb83d8f6d3a9bc4589aeeec1524ff07d0c156 (patch) | |
| tree | 2a2b49b6742a81343007c0372a391baee5b3afe6 | |
| parent | 082b5954481abd041697add96619b6b5eb821250 (diff) | |
| download | gitlab-ce-f31bb83d8f6d3a9bc4589aeeec1524ff07d0c156.tar.gz | |
remove out-of-date comments about webdriver compatability
| -rw-r--r-- | spec/features/projects/branches_spec.rb | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/spec/features/projects/branches_spec.rb b/spec/features/projects/branches_spec.rb index 2f712341a59..7a77df83034 100644 --- a/spec/features/projects/branches_spec.rb +++ b/spec/features/projects/branches_spec.rb @@ -67,11 +67,7 @@ describe 'Branches' do expect(page).to have_content('fix') expect(find('.all-branches')).to have_selector('li', count: 1) - # To work with Chrome headless, this needs an updated version of - # Capybara with two bug fixes: - # * https://github.com/teamcapybara/capybara/pull/1902/ - # * https://github.com/teamcapybara/capybara/pull/1903/ - accept_alert { find('.js-branch-fix .btn-remove').click } + accept_confirm { find('.js-branch-fix .btn-remove').click } expect(page).not_to have_content('fix') expect(find('.all-branches')).to have_selector('li', count: 0) |
