diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-03-16 21:18:33 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-03-16 21:18:33 +0300 |
commit | f64a639bcfa1fc2bc89ca7db268f594306edfd7c (patch) | |
tree | a2c3c2ebcc3b45e596949db485d6ed18ffaacfa1 /spec/features/merge_requests | |
parent | bfbc3e0d6583ea1a91f627528bedc3d65ba4b10f (diff) |
Add latest changes from gitlab-org/gitlab@13-10-stable-eev13.10.0-rc40
Diffstat (limited to 'spec/features/merge_requests')
-rw-r--r-- | spec/features/merge_requests/user_exports_as_csv_spec.rb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/spec/features/merge_requests/user_exports_as_csv_spec.rb b/spec/features/merge_requests/user_exports_as_csv_spec.rb index a86ff9d7335..725b8366d04 100644 --- a/spec/features/merge_requests/user_exports_as_csv_spec.rb +++ b/spec/features/merge_requests/user_exports_as_csv_spec.rb @@ -14,11 +14,13 @@ RSpec.describe 'Merge Requests > Exports as CSV', :js do subject { page.find('.nav-controls') } - it { is_expected.to have_button('Export as CSV') } + it { is_expected.to have_selector '[data-testid="export-csv-button"]' } context 'button is clicked' do before do - click_button('Export as CSV') + page.within('.nav-controls') do + find('[data-testid="export-csv-button"]').click + end end it 'shows a success message' do |