summaryrefslogtreecommitdiff
path: root/spec/features/merge_request/user_views_diffs_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/features/merge_request/user_views_diffs_spec.rb')
-rw-r--r--spec/features/merge_request/user_views_diffs_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/merge_request/user_views_diffs_spec.rb b/spec/features/merge_request/user_views_diffs_spec.rb
index 928755bf5de..e1865fe2e14 100644
--- a/spec/features/merge_request/user_views_diffs_spec.rb
+++ b/spec/features/merge_request/user_views_diffs_spec.rb
@@ -61,7 +61,7 @@ RSpec.describe 'User views diffs', :js do
end
it 'expands all diffs' do
- first('.js-file-title').click
+ first('.diff-toggle-caret').click
expect(page).to have_button('Expand all')