diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-05-25 20:30:46 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-05-25 20:30:46 +0000 |
commit | 1d287b31040662f1cc53a61b866ea97931a6b850 (patch) | |
tree | 64c1ff71f40695c1d516a7b24cabf06c408685f1 /spec/features | |
parent | fdcb3d47df0526a9dc437c847683df8aae1e5d58 (diff) | |
download | gitlab-ce-1d287b31040662f1cc53a61b866ea97931a6b850.tar.gz |
Add latest changes from gitlab-org/gitlab@13-12-stable-ee
Diffstat (limited to 'spec/features')
-rw-r--r-- | spec/features/merge_request/user_creates_image_diff_notes_spec.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/spec/features/merge_request/user_creates_image_diff_notes_spec.rb b/spec/features/merge_request/user_creates_image_diff_notes_spec.rb index 3cd23764382..cc0d7a279dd 100644 --- a/spec/features/merge_request/user_creates_image_diff_notes_spec.rb +++ b/spec/features/merge_request/user_creates_image_diff_notes_spec.rb @@ -278,8 +278,9 @@ RSpec.describe 'Merge request > User creates image diff notes', :js do end def create_image_diff_note - expand_text = 'Click to expand it.' - page.all('a', text: expand_text, wait: false).each do |element| + wait_for_all_requests + + page.all('a', text: 'Click to expand it.', wait: false).each do |element| element.click end |