diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-06-18 14:18:50 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-06-18 14:18:50 +0300 |
commit | 8c7f4e9d5f36cff46365a7f8c4b9c21578c1e781 (patch) | |
tree | a77e7fe7a93de11213032ed4ab1f33a3db51b738 /spec/features/merge_request/user_sees_avatar_on_diff_notes_spec.rb | |
parent | 00b35af3db1abfe813a778f643dad221aad51fca (diff) |
Add latest changes from gitlab-org/gitlab@13-1-stable-ee
Diffstat (limited to 'spec/features/merge_request/user_sees_avatar_on_diff_notes_spec.rb')
-rw-r--r-- | spec/features/merge_request/user_sees_avatar_on_diff_notes_spec.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/features/merge_request/user_sees_avatar_on_diff_notes_spec.rb b/spec/features/merge_request/user_sees_avatar_on_diff_notes_spec.rb index 21599164ac3..415e6b29d5a 100644 --- a/spec/features/merge_request/user_sees_avatar_on_diff_notes_spec.rb +++ b/spec/features/merge_request/user_sees_avatar_on_diff_notes_spec.rb @@ -2,7 +2,7 @@ require 'spec_helper' -describe 'Merge request > User sees avatars on diff notes', :js do +RSpec.describe 'Merge request > User sees avatars on diff notes', :js do include NoteInteractionHelpers let(:project) { create(:project, :public, :repository) } @@ -42,7 +42,7 @@ describe 'Merge request > User sees avatars on diff notes', :js do page.within('.js-discussion-note-form') do find('.note-textarea').native.send_keys('Test comment') - click_button 'Comment' + click_button 'Add comment now' end expect(page).to have_content('Test comment') @@ -137,7 +137,7 @@ describe 'Merge request > User sees avatars on diff notes', :js do page.within '.js-discussion-note-form' do find('.js-note-text').native.send_keys('Test') - click_button 'Comment' + click_button 'Add comment now' wait_for_requests end @@ -155,7 +155,7 @@ describe 'Merge request > User sees avatars on diff notes', :js do page.within '.js-discussion-note-form' do find('.js-note-text').native.send_keys('Test') - find('.js-comment-button').click + click_button 'Add comment now' wait_for_requests end |