diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-10-14 19:34:10 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-10-14 19:34:10 +0300 |
commit | bfa4e0b43c216ba5f3201058668d3a65743a9910 (patch) | |
tree | 2265d2644cc8821128a3de731aff762b14564690 /spec/features | |
parent | 6689552c4793623a9d47986328a0379ab215f9bc (diff) |
Add latest changes from gitlab-org/gitlab@13-4-stable-ee
Diffstat (limited to 'spec/features')
-rw-r--r-- | spec/features/merge_request/user_expands_diff_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/features/merge_request/user_expands_diff_spec.rb b/spec/features/merge_request/user_expands_diff_spec.rb index 0e39cce13a1..0340d9ccc3d 100644 --- a/spec/features/merge_request/user_expands_diff_spec.rb +++ b/spec/features/merge_request/user_expands_diff_spec.rb @@ -14,11 +14,11 @@ RSpec.describe 'User expands diff', :js do it 'allows user to expand diff' do page.within find('[id="19763941ab80e8c09871c0a425f0560d9053bcb3"]') do - find('[data-testid="expandButton"]').click + click_link 'Click to expand it.' wait_for_requests - expect(page).not_to have_content('Expand File') + expect(page).not_to have_content('Click to expand it.') expect(page).to have_selector('.code') end end |